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

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


Member Function Documentation

static 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.

static 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 Thu Nov 29 16:46:47 2007 for ASDM C++ Implementation by  doxygen 1.5.1