casa
$Rev:20696$
|
A collection of static classes to perform conversions between strings and bool values. More...
#include <BooleanWrapper.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. | |
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. |
A collection of static classes to perform conversions between strings and bool values.
Definition at line 40 of file BooleanWrapper.h.
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.
s | a string. |
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.
s | 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).
b | a boolean. |
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).
b | a boolean. |