7 #ifndef __FWATOMS_BOOLEAN_HPP__ 8 #define __FWATOMS_BOOLEAN_HPP__ 10 #include "fwAtoms/Base.hpp" 11 #include "fwAtoms/config.hpp" 12 #include "fwAtoms/factory/new.hpp" 44 FWATOMS_API
virtual std::string getString()
const override;
46 FWATOMS_API
virtual void setString(
const std::string& value);
54 FWATOMS_API
static Boolean::sptr New(std::string value);
60 FWATOMS_API
static Boolean::sptr New(
bool value);
65 FWATOMS_API
virtual Base::sptr clone()
const override;
70 ::fwAtoms::Base::AtomType
type()
const override 72 return ::fwAtoms::Base::BOOLEAN;
88 FWATOMS_API
Boolean(
bool value);
96 FWATOMS_API Boolean(std::string& value);
fwAtoms contains basic objects to represent any other kind of object
::fwAtoms::Base::AtomType type() const override
returns Atom type
Boolean(::fwAtoms::Base::Key key)
Constructor.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
virtual ~Boolean()
Destructor.
Represented a Boolean value.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Base class for all Atom classes.