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.

Definition at line 40 of file Boolean.h.

Static Public Member Functions

static bool parseBoolean (const string &s)
 Static method which returns a c++ bool value from a string.
static string toString (bool b)
 Static method returning a string equals to "true" (resp "false") if the parameter is equal to true (resp.


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 Aug 27 21:23:31 2009 for NRAOCASA by  doxygen 1.5.1