nidas v1.2.3
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)
 
void addConfigByTime ()
 
void termConfig ()
 
void getConfig ()
 
void getConfigForTime ()
 

Static Public Member Functions

static int usage (const char *argv0)
 

Private Attributes

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

Member Enumeration Documentation

◆ tasks

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::ProjConfigIO ( )

Member Function Documentation

◆ addConfigByTime()

void ProjConfigIO::addConfigByTime ( )

◆ getConfig()

void ProjConfigIO::getConfig ( )

◆ getConfigForTime()

void ProjConfigIO::getConfigForTime ( )

◆ listConfigs()

void ProjConfigIO::listConfigs ( bool allinfo)

◆ parseRunstring()

int ProjConfigIO::parseRunstring ( int argc,
char ** argv )

◆ run()

int ProjConfigIO::run ( )

◆ termConfig()

void ProjConfigIO::termConfig ( )

◆ usage()

int ProjConfigIO::usage ( const char * argv0)
static

Referenced by parseRunstring().

Member Data Documentation

◆ cbegin

n_u::UTime ProjConfigIO::cbegin
private

Time of start of project configuration.

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

◆ cend

n_u::UTime ProjConfigIO::cend
private

Time of end of project configuration.

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

◆ cname

string ProjConfigIO::cname
private

Name of project configuration.

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

◆ configs

ProjectConfigs ProjConfigIO::configs
private

◆ cxml

string ProjConfigIO::cxml
private

Name of xml containing nidas configuration for a project.

Referenced by addConfigByTime(), and parseRunstring().

◆ task

enum tasks ProjConfigIO::task
private

What to do, per runstring arguments.

Referenced by parseRunstring(), and run().

◆ timeformat

string ProjConfigIO::timeformat
private

◆ xmlFile

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: