nidas  v1.2-1520
Public Member Functions | Private Attributes | List of all members
PConfig Class Reference

Public Member Functions

 PConfig ()
 
int parseRunstring (NidasApp &app, int argc, char **argv)
 
void usage (const char *argv0)
 
bool parseRemoteSpecifier (const std::string &xmlspec, std::string &host, int &port)
 
void loadFile (const std::string &xmlfile, Project &project)
 
void loadRemoteXML (const std::string &host, int port, Project &project)
 
int main ()
 
void showAll (const Project &project)
 
void showSensorClasses (const Project &project)
 
void showCalFiles (const Project &project)
 
void showHostNames (const Project &project)
 
void showVariables ()
 
void loadVariables (const Project &project)
 
void getHostNames (const Project &project, std::vector< std::string > &dsmnames)
 
void resolveCalFile (CalFile *cf)
 

Private Attributes

string _xmlFile
 
list< string > _sensorClasses
 
bool _showCalFiles
 
bool _showHosts
 
bool _showVariables
 
variable_map_t _variables
 

Constructor & Destructor Documentation

PConfig::PConfig ( )
inline

Member Function Documentation

void PConfig::getHostNames ( const Project project,
std::vector< std::string > &  dsmnames 
)
void PConfig::loadFile ( const std::string &  xmlfile,
Project project 
)
void PConfig::loadRemoteXML ( const std::string &  host,
int  port,
Project project 
)
void PConfig::loadVariables ( const Project project)
int PConfig::main ( )
bool PConfig::parseRemoteSpecifier ( const std::string &  xmlspec,
std::string &  host,
int &  port 
)
int PConfig::parseRunstring ( NidasApp app,
int  argc,
char **  argv 
)
void PConfig::resolveCalFile ( CalFile cf)
void PConfig::showAll ( const Project project)
void PConfig::showCalFiles ( const Project project)
void PConfig::showHostNames ( const Project project)
void PConfig::showSensorClasses ( const Project project)
void PConfig::showVariables ( )
void PConfig::usage ( const char *  argv0)

Member Data Documentation

list<string> PConfig::_sensorClasses
private
bool PConfig::_showCalFiles
private
bool PConfig::_showHosts
private
bool PConfig::_showVariables
private
variable_map_t PConfig::_variables
private
string PConfig::_xmlFile
private

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