7 #ifndef __FWATOMCONVERSION_DATAVISITOR_HPP__ 8 #define __FWATOMCONVERSION_DATAVISITOR_HPP__ 12 #include <fwCamp/camp/ExtendedClassVisitor.hpp> 14 #include <fwTools/UUID.hpp> 16 #include "fwAtomConversion/config.hpp" 43 typedef std::map< ::fwTools::UUID::UUIDType, SPTR(::fwAtoms::Object) > AtomCacheType;
45 typedef std::string ClassnameType;
67 FWATOMCONVERSION_API
void visit(
const camp::SimpleProperty& property);
70 FWATOMCONVERSION_API
void visit(
const camp::EnumProperty& property);
73 FWATOMCONVERSION_API
void visit(
const camp::UserProperty& property);
76 FWATOMCONVERSION_API
void visit(
const camp::ArrayProperty& property);
93 ::
camp::UserObject m_campDataObj;
99 AtomCacheType & m_cache;
104 #endif // __FWATOMCONVERSION_DATAVISITOR_HPP__
fwAtoms contains basic objects to represent any other kind of object
This namespace contains the necessary class for fwData <-> fwAtoms conversion.
Class represented a fwData::Object.
static FWATOMCONVERSION_API const std::string CLASSNAME_METAINFO
Key of the meta info to store data object classname.
static FWATOMCONVERSION_API const std::string ID_METAINFO
Key of the meta info to store data object ID.
Visitor used to convert a fwData to a fwAtoms. fwData camp property names are used like key to store ...
Base class for each data object.
Contains the representation of the data objects used in the framework.