global: arrange show and parse arguments; doc update
parent
2966ba2902
commit
36d869a41a
|
@ -26,6 +26,11 @@ class Global
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
Global();
|
Global();
|
||||||
|
|
||||||
|
//! Show all possible (global) command line arguments
|
||||||
|
void ShowArguments(std::ostream& ostr, std::string front=std::string());
|
||||||
|
|
||||||
|
//! Parse the given command line arguments
|
||||||
bool parseCommandLineArgument( const char *argv );
|
bool parseCommandLineArgument( const char *argv );
|
||||||
|
|
||||||
bool showProbeDiscretization() const {return m_showProbeDiscretization;}
|
bool showProbeDiscretization() const {return m_showProbeDiscretization;}
|
||||||
|
@ -35,8 +40,6 @@ public:
|
||||||
//! Set dumps to use native fields.
|
//! Set dumps to use native fields.
|
||||||
void SetNativeFieldDumps(bool val) {m_nativeFieldDumps=val;}
|
void SetNativeFieldDumps(bool val) {m_nativeFieldDumps=val;}
|
||||||
|
|
||||||
void ShowArguments(std::ostream& ostr, std::string front=std::string());
|
|
||||||
|
|
||||||
//! Set the verbose level
|
//! Set the verbose level
|
||||||
void SetVerboseLevel(int level) {m_VerboseLevel=level;m_SavedVerboseLevel=level;}
|
void SetVerboseLevel(int level) {m_VerboseLevel=level;m_SavedVerboseLevel=level;}
|
||||||
//! Get the verbose level
|
//! Get the verbose level
|
||||||
|
|
Loading…
Reference in New Issue