copasi API  0.1
Classes | Public Types | Public Member Functions | Static Public Member Functions
COptions Class Reference

#include <COptions.h>

List of all members.

Classes

class  COptionValue
class  COptionValueTemplate

Public Types

typedef std::map< std::string,
COptionValue * > 
optionType
typedef std::vector< std::string > nonOptionType
typedef std::map< std::string,
std::string > 
defaultType

Public Member Functions

 ~COptions ()

Static Public Member Functions

template<class CType >
static void getValue (const std::string &name, CType &value)
template<class CType >
static bool compareValue (const std::string &name, const CType &value)
static void init (C_INT argc=0, char *argv[]=NULL)
static void cleanup ()
static const nonOptionTypegetNonOptions ()
static std::string getEnvironmentVariable (const std::string &name)
static std::string getPWD (void)

Detailed Description

COptions class. The class retrieves the options from the commandline and various files. The options as well as their type can be retreived by name.

Created for Copasi by Stefan Hoops 2002


Member Typedef Documentation

typedef std::map< std::string, std::string > COptions::defaultType
typedef std::vector< std::string > COptions::nonOptionType
typedef std::map< std::string, COptionValue * > COptions::optionType

Constructor & Destructor Documentation

COptions::~COptions ( )

Member Function Documentation

void COptions::cleanup ( ) [static]
template<class CType >
static bool COptions::compareValue ( const std::string &  name,
const CType &  value 
) [inline, static]
std::string COptions::getEnvironmentVariable ( const std::string &  name) [static]
const COptions::nonOptionType & COptions::getNonOptions ( ) [static]
std::string COptions::getPWD ( void  ) [static]
template<class CType >
static void COptions::getValue ( const std::string &  name,
CType &  value 
) [inline, static]
void COptions::init ( C_INT  argc = 0,
char *  argv[] = NULL 
) [static]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines