MeVisLab Toolbox Reference
ml::VTKWrapperBase Class Reference

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

#include <mlVTKMLBaseWrapper.h>

Inheritance diagram for ml::VTKWrapperBase:
ml::Base

Public Member Functions

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

Protected Member Functions

 ML_ABSTRACT_CLASS_HEADER (VTKWrapperBase)
 Register this class abstractly. More...
 
- Protected Member Functions inherited from ml::Base
virtual char * getPersistentState () const
 Returns a C string describing the object's internal state. More...
 
virtual void setPersistentState (const char *)
 Restores the object's internal state from a string that had been previously generated using getPersistentState(). More...
 
virtual void clearPersistentState (char *) const
 Disposes a string previously allocated by getPersistentState(). More...
 

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 29 of file mlVTKMLBaseWrapper.h.

Constructor & Destructor Documentation

◆ VTKWrapperBase()

ml::VTKWrapperBase::VTKWrapperBase ( )
inline

Private on purpose to avoid instantiations.

Definition at line 33 of file mlVTKMLBaseWrapper.h.

Member Function Documentation

◆ ML_ABSTRACT_CLASS_HEADER()

ml::VTKWrapperBase::ML_ABSTRACT_CLASS_HEADER ( VTKWrapperBase  )
protected

Register this class abstractly.


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