fw4spl
fwAtomConversion::mapper::Base Class Referenceabstract

Base class of custom mapper between fwData and fwAtoms. More...

#include <Base.hpp>

+ Inheritance diagram for fwAtomConversion::mapper::Base:

Classes

class  Registrar
 Class used to register a class factory in factory registry. More...
 

Public Member Functions

virtual FWATOMCONVERSION_API std::shared_ptr< ::fwAtoms::Objectconvert (std::shared_ptr< ::fwData::Object > object, DataVisitor::AtomCacheType &cache)=0
 Convert a fwData::Object to a fwAtoms::Object. More...
 
virtual FWATOMCONVERSION_API std::shared_ptr< ::fwData::Objectconvert (std::shared_ptr< ::fwAtoms::Object > atom, AtomVisitor::DataCacheType &cache, const AtomVisitor::IReadPolicy &uuidPolicy)=0
 Convert a fwAtoms::Object to a fwData::Object. More...
 

Detailed Description

Base class of custom mapper between fwData and fwAtoms.

Definition at line 32 of file core/fwAtomConversion/include/fwAtomConversion/mapper/Base.hpp.

Member Function Documentation

virtual FWATOMCONVERSION_API std::shared_ptr< ::fwAtoms::Object > fwAtomConversion::mapper::Base::convert ( std::shared_ptr< ::fwData::Object object,
DataVisitor::AtomCacheType &  cache 
)
pure virtual

Convert a fwData::Object to a fwAtoms::Object.

Parameters
objectdata to convert
cachecache to register the data already converted, used when a data is referenced multiple times.

Implemented in fwAtomConversion::mapper::Graph, fwAtomConversion::mapper::Landmarks, and fwAtomConversion::mapper::AttachmentSeries.

virtual FWATOMCONVERSION_API std::shared_ptr< ::fwData::Object > fwAtomConversion::mapper::Base::convert ( std::shared_ptr< ::fwAtoms::Object atom,
AtomVisitor::DataCacheType &  cache,
const AtomVisitor::IReadPolicy uuidPolicy 
)
pure virtual

Convert a fwAtoms::Object to a fwData::Object.

Parameters
atomatom to convert
cachecache to register the atoms already converted, used when an atom is referenced multiple times.
uuidPolicyAtomVisitor's policy

Implemented in fwAtomConversion::mapper::Graph, fwAtomConversion::mapper::Landmarks, and fwAtomConversion::mapper::AttachmentSeries.


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