asdm::Boolean Class Reference

#include <Boolean.h>

List of all members.


Detailed Description

A collection of static classes to perform conversions between strings and bool values.


Static Public Member Functions

bool parseBoolean (const string &s)
string toString (bool b)


Member Function Documentation

bool asdm::Boolean::parseBoolean const string &  s  )  [static]
 

Static method which returns a c++ bool value from a string. returns true if the string is equal to "TRUE" or "true" and false otherwise.

Parameters:
s a string.
Returns:
a bool value.

string asdm::Boolean::toString bool  b  )  [static]
 

Static method returning a string equals to "true" (resp "false") if the parameter is equal to true (resp. false).

Parameters:
b a boolean.
Returns:
a string.


The documentation for this class was generated from the following file:
Generated on Tue Nov 18 17:43:42 2008 for ASDM C++ Implementation by doxygen 1.3.8