Base class of all structural patches.
More...
#include <IStructuralPatch.hpp>
|
virtual bool | isA (const std::string &type) const override |
|
FWATOMSPATCH_API | IStructuralPatch () |
| Constructor.
|
|
FWATOMSPATCH_API | IStructuralPatch (const IStructuralPatch &cpy) |
| Copy constructor.
|
|
virtual FWATOMSPATCH_API | ~IStructuralPatch () |
| Destructor.
|
|
virtual FWATOMSPATCH_API void | apply (const std::shared_ptr< ::fwAtoms::Object > &previous, const std::shared_ptr< ::fwAtoms::Object > ¤t,::fwAtomsPatch::IPatch::NewVersionsType &newVersions) override |
| Applies the patch to the specified object. More...
|
|
virtual FWATOMSPATCH_API const std::string & | getTargetClassname () const |
| Returns the target classname of the object.
|
|
virtual FWATOMSPATCH_API const std::string & | getTargetVersion () const |
| Returns the target version of the object.
|
|
FWATOMSPATCH_API | IPatch () |
| Constructor. Does nothing.
|
|
FWATOMSPATCH_API | IPatch (const IPatch &cpy) |
| Copy constructor.
|
|
virtual FWATOMSPATCH_API | ~IPatch () |
| Destructor. Does nothing.
|
|
virtual FWATOMSPATCH_API void | apply (const ::fwAtoms::Object::sptr &previous, const ::fwAtoms::Object::sptr ¤t,::fwAtomsPatch::IPatch::NewVersionsType &newVersions)=0 |
| Applies the patch to the specified object.
|
|
virtual FWATOMSPATCH_API const std::string & | getOriginClassname () const |
| Returns the origin classname of the object.
|
|
virtual FWATOMSPATCH_API const std::string & | getOriginVersion () const |
| Returns the origin version of the object.
|
|
|
static bool | isTypeOf (const std::string &type) |
|
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
|
|
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
|
|
|
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
|
|
|
typedef std::map< ::fwAtoms::Object::sptr,::fwAtoms::Object::sptr > | NewVersionsType |
|
Base class of all structural patches.
Definition at line 29 of file IStructuralPatch.hpp.
void fwAtomsPatch::IStructuralPatch::apply |
( |
const std::shared_ptr< ::fwAtoms::Object > & |
previous, |
|
|
const std::shared_ptr< ::fwAtoms::Object > & |
current, |
|
|
::fwAtomsPatch::IPatch::NewVersionsType & |
newVersions |
|
) |
| |
|
overridevirtual |
The documentation for this class was generated from the following files: