Represented a Boolean value.
More...
#include <Boolean.hpp>
|
virtual bool | isA (const std::string &type) const override |
|
| Boolean (::fwAtoms::Base::Key key) |
| Constructor. More...
|
|
virtual | ~Boolean () |
| Destructor.
|
|
virtual FWATOMS_API std::string | getString () const override |
| Return the string representation of a value. More...
|
|
virtual FWATOMS_API void | setString (const std::string &value) |
|
virtual FWATOMS_API Base::sptr | clone () const override |
| Returns a clone object.
|
|
::fwAtoms::Base::AtomType | type () const override |
| returns Atom type
|
|
bool | getValue () const |
|
bool | isValue () const |
| Test if the current base is a value or not (Value = {string;numeric;boolean}) More...
|
|
bool | isBoolean () const |
| Test if the current base is a boolean. More...
|
|
bool | isNumeric () const |
| Test if the current base is a Numeric (real or integer) More...
|
|
bool | isString () const |
| Test if the current base is a string. More...
|
|
bool | isSequence () const |
| Test if the current base is a sequence. More...
|
|
bool | isMapping () const |
| Test if the current base is a mapping. More...
|
|
bool | isBlob () const |
| Test if the current base is a blob (a object with a buffer) More...
|
|
bool | isObject () const |
| Test if the current base is an object (representation of fwData) More...
|
|
|
static bool | isTypeOf (const std::string &type) |
|
static FWATOMS_API Boolean::sptr | New (std::string value) |
| Construct an object storing a bool value. More...
|
|
static FWATOMS_API Boolean::sptr | New (bool value) |
| Construct an object storing a bool value. More...
|
|
static bool | isTypeOf (const std::string &type) |
|
static const std::string & | classname () |
| return full object's classname with its namespace, i.e. fwCore::BaseObject
|
|
static bool | isTypeOf (const std::string &type) |
|
static const std::string & | leafClassname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
static const std::string & | classname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
|
FWATOMS_API | Boolean (bool value) |
| Construct an object storing a bool value. More...
|
|
FWATOMS_API | Boolean (std::string &value) |
| Construct an object storing a bool value. More...
|
|
| Base () |
| Constructor.
|
|
|
template<class , class , class > |
class | ::fwTools::ClassFactory |
|
class | ::fwTools::Factory |
|
|
virtual const std::string & | getLeafClassname () const override |
| return object's classname without its namespace, i.e. BaseObject
|
|
virtual const std::string & | getClassname () const override |
| return full object's classname with its namespace, i.e. fwCore::BaseObject
|
|
static const std::string & | leafClassname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
static const std::string & | classname () |
| return object's classname without its namespace, i.e. BaseObject
|
|
|
enum | AtomType {
BOOLEAN = 1,
NUMERIC,
STRING,
OBJECT,
SEQUENCE,
MAP,
BLOB
} |
|
typedef ::fwAtoms::factory::Key | Key |
|
static FWATOMS_API const std::string | s_VERSION = "1" |
| Defines fwAtoms version.
|
|
Represented a Boolean value.
Definition at line 23 of file fwAtoms/include/fwAtoms/Boolean.hpp.
FWATOMS_API fwAtoms::Boolean::Boolean |
( |
bool |
value | ) |
|
|
protected |
Construct an object storing a bool value.
- Parameters
-
FWATOMS_API fwAtoms::Boolean::Boolean |
( |
std::string & |
value | ) |
|
|
protected |
Construct an object storing a bool value.
- Parameters
-
value | a string representing a boolean. |
If value = "true" then true is stored otherwise false is stored.
std::string fwAtoms::Boolean::getString |
( |
| ) |
const |
|
overridevirtual |
Boolean::sptr fwAtoms::Boolean::New |
( |
std::string |
value | ) |
|
|
static |
Boolean::sptr fwAtoms::Boolean::New |
( |
bool |
value | ) |
|
|
static |
The documentation for this class was generated from the following files: