7 #ifndef __FWATOMS_STRING_HPP__ 8 #define __FWATOMS_STRING_HPP__ 10 #include "fwAtoms/Base.hpp" 11 #include "fwAtoms/config.hpp" 12 #include "fwAtoms/factory/new.hpp" 46 const std::string& getValue()
const 53 void setValue(
const std::string& value )
70 FWATOMS_API
static String::sptr New(std::string value);
75 FWATOMS_API
virtual Base::sptr clone()
const override;
80 ::fwAtoms::Base::AtomType
type()
const override 82 return ::fwAtoms::Base::STRING;
::fwAtoms::Base::AtomType type() const override
returns Atom type
fwAtoms contains basic objects to represent any other kind of object
std::string getString() const override
Return the string representation of a value.
virtual ~String()
Destructor.
String(::fwAtoms::Base::Key key)
Constructor.
#define fwCoreClassDefinitionsWithFactoryMacro(_classinfo_, _parameters_, _factory_)
Generate common construction methods for classes with one factory.
Class represented a String.
Key class used to restrict access to Object construction. See http://www.drdobbs.com/184402053.
Base class for all Atom classes.