Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

Options library internals
[Command line options library]

Collaboration diagram for Options library internals:

Methods used internally by the Option library. More...

Functions

template<typename T>
std::string TypeName (std::vector< T > &t)
 A general method for obtaining the name of an STL vector of type T, given a dummy vector t.
template<typename T>
std::string TypeName (T &t)
 A general method for obtaining the name of a type T, given a dummy variable t.
std::string TypeName (int &t)
std::string TypeName (double &t)
std::string TypeName (unsigned int &t)
std::string TypeName (bool &t)
std::string TypeName (std::string &t)
template<typename T>
void StringToVal (std::vector< T > *ptr, std::string value)
 A general method for converting a string value into an STL vector of values of type T.
template<typename T>
void StringToVal (T *ptr, std::string value)
 A general method for converting a string value into a value of type T.
void StringToVal (bool *ptr, std::string value)
template<typename T>
void ValToString (std::vector< T > *ptr, std::string &value)
 A general method for converting an STL vector of values of type T into a string.
template<typename T>
void ValToString (T *ptr, std::string &value)
 A general method for converting a value of type T into a string.
void ValToString (bool *ptr, std::string &value)

Detailed Description

Methods used internally by the Option library.


Function Documentation

std::string TypeName int &  t  ) 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

std::string TypeName double &  t  ) 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

std::string TypeName unsigned int &  t  ) 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

std::string TypeName bool &  t  ) 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

std::string TypeName std::string &  t  ) 
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

void StringToVal bool *  ptr,
std::string  value
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

void ValToString bool *  ptr,
std::string &  value
 

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.


Generated on Wed Jun 14 22:25:38 2006 for linalg by  doxygen 1.4.4