casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Static Public Member Functions
asdm::Boolean Class Reference

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

#include <BooleanWrapper.h>

List of all members.

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

Detailed Description

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

Definition at line 40 of file BooleanWrapper.h.


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:
sa string.
Returns:
a bool value.
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:
sa 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:
ba boolean.
Returns:
a string.
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:
ba boolean.
Returns:
a string.

The documentation for this class was generated from the following files: