The SSTInfo Configuration class. More...
#include <sstinfo.h>
Public Member Functions | |
SSTInfoConfig () | |
Create a new SSTInfo configuration and parse the Command Line. | |
int | parseCmdLine (int argc, char *argv[]) |
Parse the Command Line. | |
std::vector< std::string > * | getElementsToProcessArray () |
Return the list of elements to be processed. | |
std::vector< std::string > * | getFilteredElementNamesArray () |
Return the list of filtered element names. | |
std::vector< std::string > * | getFilteredElementComponentNamesArray () |
Return the list of filtered element.component names. | |
unsigned int | getOptionBits () |
Return the bit field of various command line options enabled. | |
std::string & | getXMLFilePath () |
Return the user defined path the XML File. |
The SSTInfo Configuration class.
This class will parse the command line, and setup internal lists of elements and components to be processed.
SSTInfoConfig::SSTInfoConfig | ( | ) |
Create a new SSTInfo configuration and parse the Command Line.
std::vector<std::string>* SST::SSTInfoConfig::getElementsToProcessArray | ( | ) | [inline] |
Return the list of elements to be processed.
std::vector<std::string>* SST::SSTInfoConfig::getFilteredElementComponentNamesArray | ( | ) | [inline] |
Return the list of filtered element.component names.
std::vector<std::string>* SST::SSTInfoConfig::getFilteredElementNamesArray | ( | ) | [inline] |
Return the list of filtered element names.
unsigned int SST::SSTInfoConfig::getOptionBits | ( | ) | [inline] |
Return the bit field of various command line options enabled.
std::string& SST::SSTInfoConfig::getXMLFilePath | ( | ) | [inline] |
Return the user defined path the XML File.
int SSTInfoConfig::parseCmdLine | ( | int | argc, | |
char * | argv[] | |||
) |
Parse the Command Line.
argc | The number of arguments passed to the application | |
argv | The array of arguments |