casa
5.7.0-16
|
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 std::string &s) |
Static method which returns a c++ bool value from a string. More... | |
static std::string | toString (bool b) |
Static method returning a string equals to "true" (resp "false") if the parameter is equal to true (resp. More... | |
A collection of static classes to perform conversions between strings and bool values.
Definition at line 38 of file BooleanWrapper.h.
|
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 |
Static method returning a string equals to "true" (resp "false") if the parameter is equal to true (resp.
false).
b | a boolean. |