MeVisLab Toolbox Reference
ml::ITKWrapperBase Class Reference

Helper class to have a common base class for all derived wrapper. More...

#include <mlITKMLBaseWrapper.h>

Inheritance diagram for ml::ITKWrapperBase:
ml::Base

Public Member Functions

 ITKWrapperBase ()
 Private on purpose to avoid instantiations.
 
- Public Member Functions inherited from ml::Base
 Base ()
 Constructor.
 
virtual ~Base ()
 Destructor.
 
virtual BasedeepCopy () const
 Set addStateToTree version number that can be accessed via getAddStateVersion()
 
bool isOfAllowedType (const std::vector< const RuntimeType * > &types) const
 Check if this object's type is equal to or derived from one of the types given in the argument.
 
virtual bool isRefCountedBase () const
 Returns if the instance is derived from RefCountedBase.
 
virtual std::string detailString () const
 Return a string describing this object.
 
virtual bool implementsPersistence (PersistenceInterface) const
 Override this method to declare which persistence interfaces are implemented by your derived class.
 
virtual std::string persistentState () const
 Returns a string describing the object's internal state.
 
virtual void setPersistentState (const std::string &state)
 Restores the object's internal state from a string that had been previously generated using persistentState().
 
virtual void addStateToTree (TreeNode *) const
 Attaches the object state as children of the given parent node.
 
virtual void readStateFromTree (TreeNode *)
 Reads the object state from the children of the given parent node.
 
virtual void writeTo (AbstractPersistenceOutputStream *) const
 Write the objects state to the data stream object.
 
virtual void readFrom (AbstractPersistenceInputStream *, int)
 Read the objects state from the data stream object.
 

Protected Member Functions

 ML_ABSTRACT_CLASS_HEADER (ITKWrapperBase)
 Register this class abstractly.
 

Additional Inherited Members

- Public Types inherited from ml::Base
enum  PersistenceInterface { PersistenceByString , PersistenceByTreeNode , PersistenceByStream }
 This enum describes the different persistence interfaces available. More...
 

Detailed Description

Helper class to have a common base class for all derived wrapper.

It is use to distinguish wrappers from other non wrapper base objects.

Definition at line 28 of file mlITKMLBaseWrapper.h.

Constructor & Destructor Documentation

◆ ITKWrapperBase()

ml::ITKWrapperBase::ITKWrapperBase ( )
inline

Private on purpose to avoid instantiations.

Definition at line 32 of file mlITKMLBaseWrapper.h.

Member Function Documentation

◆ ML_ABSTRACT_CLASS_HEADER()

ml::ITKWrapperBase::ML_ABSTRACT_CLASS_HEADER ( ITKWrapperBase )
protected

Register this class abstractly.


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