|
|
| SSTInfoConfig (bool suppress_print) |
| | Create a new SSTInfo configuration and parse the Command Line.
|
| |
|
std::set< std::string > | getElementsToProcessArray () |
| | Return the list of elements to be processed.
|
| |
|
void | clearFilterMap () |
| | Clears the current filter map.
|
| |
| FilterMap_t & | getFilterMap () |
| |
| unsigned int | getOptionBits () |
| |
| std::string & | getXMLFilePath () |
| |
| bool | debugEnabled () const |
| |
| bool | processAllElements () const |
| |
| bool | doVerbose () const |
| |
| bool | interactiveEnabled () const |
| |
|
void | addFilter (const std::string &name) |
| |
| | ConfigShared (bool suppress_print, bool include_libpath, bool include_env, bool include_verbose) |
| | ConfigShared constructor that it meant to be used when needing a stand alone ConfigShared (i.e.
|
| |
|
bool | print_env () const |
| | Controls whether the environment variables that SST sees are printed out.
|
| |
|
bool | no_env_config () const |
| |
|
int | verbose () const |
| |
|
std::string | libpath () const |
| |
|
std::string | addLibPath () const |
| |
| std::string | getLibPath () const |
| | Get the library path for loading element libraries.
|
| |
| int | parseCmdLine (int argc, char *argv[], bool ignore_unknown=false) |
| | Parse command-line arguments to update configuration values.
|
| |
| bool | wasOptionSetOnCmdLine (const std::string &option) |
| | Check to see if an option was set on the command line.
|
| |
|
| std::string | getUsagePrelude () override |
| | Called to get the prelude for the help/usage message.
|
| |
|
void | addLibraryPathOptions () |
| |
|
void | addEnvironmentOptions () |
| |
|
void | addVerboseOptions (bool sdl_avail) |
| |
|
| ConfigShared (bool suppress_print, std::vector< AnnotationInfo > annotations) |
| | ConfigShared constructor for child classes.
|
| |
| | ConfigShared () |
| | Default constructor used for serialization.
|
| |
| | ConfigBase (bool suppress_print) |
| | ConfigBase constructor.
|
| |
| | ConfigBase () |
| | Default constructor used for serialization.
|
| |
|
| ConfigBase (bool suppress_print, std::vector< AnnotationInfo > annotations) |
| |
|
int | printUsage () |
| | Called to print the help/usage message.
|
| |
|
int | printExtHelp (const std::string &option) |
| | Called to print the extended help for an option.
|
| |
| void | addOption (struct option opt, const char *argname, const char *desc, std::function< int(const char *arg)> callback, std::vector< bool > annotations, std::function< std::string()> ext_help=std::function< std::string()>()) |
| | Add options to the Config object.
|
| |
|
void | addHeading (const char *desc) |
| | Adds a heading to the usage output.
|
| |
|
virtual int | checkArgsAfterParsing () |
| |
|
void | enableDashDashSupport (std::function< int(const char *arg)> callback) |
| |
|
void | addPositionalCallback (std::function< int(int num, const char *arg)> callback) |
| |
| std::string | getRunName () |
| | Get the name of the executable being run.
|
| |
|
bool | setOptionExternal (const std::string &entryName, const std::string &value) |
| | Set a configuration string to update configuration values.
|
| |
|
bool | getAnnotation (const std::string &entryName, char annotation) |
| | Get the value of an annotation for an option.
|
| |
The SSTInfo Configuration class.
This class will parse the command line, and setup internal lists of elements and components to be processed.