fw4spl
fwAtomsPatch::IStructuralCreator Class Referenceabstract

Base class of all structural creators. Creates a new atom object with the default values corresponding to a data object. More...

#include <IStructuralCreator.hpp>

+ Inheritance diagram for fwAtomsPatch::IStructuralCreator:
+ Collaboration diagram for fwAtomsPatch::IStructuralCreator:

Public Member Functions

virtual bool isA (const std::string &type) const override
 
FWATOMSPATCH_API IStructuralCreator ()
 Constructor.
 
FWATOMSPATCH_API IStructuralCreator (const IStructuralCreator &cpy)
 Copy constructor.
 
virtual FWATOMSPATCH_API ~IStructuralCreator ()
 Destructor.
 
virtual FWATOMSPATCH_API::fwAtoms::Object::sptr create ()=0
 Creates the specified object.
 
virtual FWATOMSPATCH_API const std::string & getObjectVersion () const
 Returns the version of the object.
 
virtual FWATOMSPATCH_API const std::string & getObjectClassname () const
 Returns the classname of the object.
 
- Public Member Functions inherited from fwCore::BaseObject

Static Public Member Functions

static bool isTypeOf (const std::string &type)
 
- Static Public Member Functions inherited from 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
 

Protected Member Functions

FWATOMSPATCH_API::fwAtoms::Object::sptr createObjBase () const
 Create the object base : create meta infos : classname, version and id.
 

Protected Attributes

std::string m_classname
 Object classname.
 
std::string m_version
 Object version.
 

Demangling methods

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
 

Detailed Description

Base class of all structural creators. Creates a new atom object with the default values corresponding to a data object.

Definition at line 26 of file IStructuralCreator.hpp.


The documentation for this class was generated from the following files: