SST 12.1.0
Structural Simulation Toolkit
SST::ConfigHelper Class Reference

Public Types

typedef bool(ConfigHelper::* flagFunction) (void)
 
typedef bool(ConfigHelper::* argFunction) (const std::string &arg)
 

Public Member Functions

 ConfigHelper (Config &cfg)
 
bool printHelp ()
 
bool printVersion ()
 
bool incrVerbose ()
 
bool setVerbosity (const std::string &arg)
 
bool setNumThreads (const std::string &arg)
 
bool setConfigFile (const std::string &arg)
 
bool setModelOptions (const std::string &arg)
 
bool enablePrintTiming ()
 
bool setPrintTiming (const std::string &arg)
 
bool setStopAt (const std::string &arg)
 
bool setStopAtCycle (const std::string &arg)
 
bool setExitAfter (const std::string &arg)
 
bool setStopAfter (const std::string &arg)
 
bool setPartitioner (const std::string &arg)
 
bool setHeartbeat (const std::string &arg)
 
bool setOutputDir (const std::string &arg)
 
bool setOutputPrefix (const std::string &arg)
 
bool setWriteConfig (const std::string &arg)
 
bool setWriteJSON (const std::string &arg)
 
bool setWriteDot (const std::string &arg)
 
bool setDotVerbosity (const std::string &arg)
 
bool setWritePartitionFile (const std::string &arg)
 
bool setWritePartition ()
 
bool setTimebase (const std::string &arg)
 
bool setTimeVortex (const std::string &arg)
 
bool setInterThreadLinks ()
 
bool setInterThreadLinksArg (const std::string &arg)
 
bool setDebugFile (const std::string &arg)
 
bool setLibPath (const std::string &arg)
 
bool addLibPath (const std::string &arg)
 
bool enableProfiling (const std::string &arg)
 
bool setProfilingOutput (const std::string &arg)
 
bool setRunMode (const std::string &arg)
 
bool forceRankSeqStartup ()
 
bool enablePrintEnv ()
 
bool disableSigHandlers ()
 
bool disableEnvConfig ()
 
bool sectionHeaderCatch ()
 Special function for catching the magic string indicating a section header in the options array. More...
 
bool sectionHeaderCatchArg (const std::string &UNUSED(arg))
 Special function for catching the magic string indicating a section header in the options array. More...
 
bool usage ()
 
bool parseBoolean (const std::string &arg, bool &success, const std::string &option)
 

Data Fields

bool clean_exit = false
 

Member Function Documentation

◆ sectionHeaderCatch()

bool SST::ConfigHelper::sectionHeaderCatch ( )
inline

Special function for catching the magic string indicating a section header in the options array.

It will report that the value is unknown.

◆ sectionHeaderCatchArg()

bool SST::ConfigHelper::sectionHeaderCatchArg ( const std::string &  UNUSEDarg)
inline

Special function for catching the magic string indicating a section header in the options array.

It will report that the value is unknown.


The documentation for this class was generated from the following file: