fw4spl
|
Specific mapper used to convert a fwData::Graph. More...
#include <Graph.hpp>
Public Member Functions | |
virtual FWATOMCONVERSION_API std::shared_ptr< ::fwAtoms::Object > | convert (std::shared_ptr< ::fwData::Object > object, DataVisitor::AtomCacheType &cache) |
Convert a fwData::Object to a fwAtoms::Object. More... | |
virtual FWATOMCONVERSION_API std::shared_ptr< ::fwData::Object > | convert (std::shared_ptr< ::fwAtoms::Object > atom, AtomVisitor::DataCacheType &cache, const AtomVisitor::IReadPolicy &uuidPolicy) |
Convert a fwAtoms::Object to a fwData::Object (which represent a fwData::Graph). More... | |
Specific mapper used to convert a fwData::Graph.
The attribute ::fwData::Graph::m_connections ( of type ::fwData::Graph::ConnectionContainer ) is represented in fwAtoms world like a fwAtoms::Sequence that contains fwAtoms::Object with three attributes "edge", "source" and "destination".
Definition at line 39 of file fwAtomConversion/include/fwAtomConversion/mapper/Graph.hpp.
|
virtual |
Convert a fwData::Object to a fwAtoms::Object.
object | data to convert. It must be a fwData::Graph. |
cache | cache to register the data already converted, used when a data is referenced multiple times. |
Implements fwAtomConversion::mapper::Base.
|
virtual |
Convert a fwAtoms::Object to a fwData::Object (which represent a fwData::Graph).
atom | atom to convert |
cache | cache to register the atoms already converted, used when an atom is referenced multiple times. |
uuidPolicy | AtomVisitor policy |
Implements fwAtomConversion::mapper::Base.