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

Public Types

enum  tasks {
  NUTTIN_TO_DO, LIST_CONFIG_NAMES, LIST_CONFIGS, ADD_CONFIG_BY_TIME,
  TERM_CONFIG, GET_CONFIG, GET_CONFIG_FOR_TIME
}
 

Public Member Functions

 ProjConfigIO ()
 
int parseRunstring (int argc, char **argv)
 
int run ()
 
void listConfigs (bool allinfo) throw (nidas::core::XMLException, n_u::InvalidParameterException)
 
void addConfigByTime () throw (nidas::core::XMLException, n_u::InvalidParameterException,n_u::IOException)
 
void termConfig () throw (nidas::core::XMLException, n_u::InvalidParameterException,n_u::IOException)
 
void getConfig ()
 
void getConfigForTime ()
 

Static Public Member Functions

static int usage (const char *argv0)
 

Private Attributes

string xmlFile
 XML file containing project configurations. More...
 
enum tasks task
 What to do, per runstring arguments. More...
 
string cname
 Name of project configuration. More...
 
n_u::UTime cbegin
 Time of start of project configuration. More...
 
n_u::UTime cend
 Time of end of project configuration. More...
 
string cxml
 Name of xml containing nidas configuration for a project. More...
 
string timeformat
 
ProjectConfigs configs
 

Member Enumeration Documentation

Enumerator
NUTTIN_TO_DO 
LIST_CONFIG_NAMES 
LIST_CONFIGS 
ADD_CONFIG_BY_TIME 
TERM_CONFIG 
GET_CONFIG 
GET_CONFIG_FOR_TIME 

Constructor & Destructor Documentation

ProjConfigIO::ProjConfigIO ( )

Member Function Documentation

void ProjConfigIO::addConfigByTime ( )
throw (nidas::core::XMLException,
n_u::InvalidParameterException,
n_u::IOException
)
void ProjConfigIO::getConfig ( )
void ProjConfigIO::getConfigForTime ( )
void ProjConfigIO::listConfigs ( bool  allinfo)
throw (nidas::core::XMLException,
n_u::InvalidParameterException
)
int ProjConfigIO::parseRunstring ( int  argc,
char **  argv 
)
int ProjConfigIO::run ( )
void ProjConfigIO::termConfig ( )
throw (nidas::core::XMLException,
n_u::InvalidParameterException,
n_u::IOException
)
int ProjConfigIO::usage ( const char *  argv0)
static

Referenced by parseRunstring().

Member Data Documentation

n_u::UTime ProjConfigIO::cbegin
private

Time of start of project configuration.

Referenced by addConfigByTime(), getConfigForTime(), and parseRunstring().

n_u::UTime ProjConfigIO::cend
private

Time of end of project configuration.

Referenced by addConfigByTime(), parseRunstring(), and termConfig().

string ProjConfigIO::cname
private

Name of project configuration.

Referenced by addConfigByTime(), getConfig(), and parseRunstring().

ProjectConfigs ProjConfigIO::configs
private
string ProjConfigIO::cxml
private

Name of xml containing nidas configuration for a project.

Referenced by addConfigByTime(), and parseRunstring().

enum tasks ProjConfigIO::task
private

What to do, per runstring arguments.

Referenced by parseRunstring(), and run().

string ProjConfigIO::timeformat
private
string ProjConfigIO::xmlFile
private

XML file containing project configurations.

Referenced by addConfigByTime(), parseRunstring(), run(), and termConfig().


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