|
MeVisLab Toolbox Reference
|
Base object class to handle a list of raster functions. More...
#include <mlRasterFunctionList.h>
Public Member Functions | |
| RasterFunctionList () | |
| Constructor. It does nothing, i.e. an empty list is created. | |
| ~RasterFunctionList () override | |
| Destructor. It removes all handled raster functions and the list. | |
| virtual size_t | getListSize () |
| Permits access to the list of raster functions. | |
| virtual void | setListElement (size_t idx, const RasterFunction &elem) |
| Permits access to the list of raster functions. | |
| virtual void | appendToList (const RasterFunction &elem) |
| Permits access to the list of raster functions. | |
| virtual const RasterFunction & | getListElement (size_t idx) |
| Permits access to the list of raster functions. | |
| std::string | persistentState () const override |
| Persistence support. Still unimplemented, only for later usage. | |
| void | setPersistentState (const std::string &) override |
| RasterFunction * | getPtr (MLssize_t index=-1) |
| void | setValue (MLssize_t index, const RasterFunction &obj) |
| void | removeValue (MLssize_t index=-1) |
| Remove RasterFunction from list. If index is -1 the last element is removed. | |
| void | clear () |
| Clears the inner list. | |
| Public Member Functions inherited from ml::Base | |
| Base () | |
| Constructor. | |
| virtual | ~Base () |
| Destructor. | |
| virtual Base * | deepCopy () const |
| bool | isOfAllowedType (const std::vector< const RuntimeType * > &types) const |
| virtual bool | isRefCountedBase () const |
| Returns whether the instance is derived from RefCountedBase. | |
| virtual std::string | detailString () const |
| virtual bool | implementsPersistence (PersistenceInterface) const |
| 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 |
| virtual void | readFrom (AbstractPersistenceInputStream *, int) |
Additional Inherited Members | |
| Public Types inherited from ml::Base | |
| enum | PersistenceInterface { PersistenceByString , PersistenceByTreeNode , PersistenceByStream } |
| This enum describes the different persistence interfaces available. More... | |
Base object class to handle a list of raster functions.
Definition at line 34 of file mlRasterFunctionList.h.
|
inline |
Constructor. It does nothing, i.e. an empty list is created.
Definition at line 38 of file mlRasterFunctionList.h.
Referenced by clear().
|
inlineoverride |
Destructor. It removes all handled raster functions and the list.
Definition at line 41 of file mlRasterFunctionList.h.
|
inlinevirtual |
Permits access to the list of raster functions.
Definition at line 55 of file mlRasterFunctionList.h.
| void ml::RasterFunctionList::clear | ( | ) |
Clears the inner list.
References RasterFunctionList().
|
inlinevirtual |
Permits access to the list of raster functions.
Definition at line 59 of file mlRasterFunctionList.h.
|
inlinevirtual |
Permits access to the list of raster functions.
Permits access to the list of raster functions.
Definition at line 47 of file mlRasterFunctionList.h.
| RasterFunction * ml::RasterFunctionList::getPtr | ( | MLssize_t | index = -1 | ) |
Returns pointer to the RasterFunction at given index index. On index -1 the last element is returned and on invalid indexes NULL is returned.
|
inlineoverridevirtual |
Persistence support. Still unimplemented, only for later usage.
Reimplemented from ml::Base.
Definition at line 63 of file mlRasterFunctionList.h.
| void ml::RasterFunctionList::removeValue | ( | MLssize_t | index = -1 | ) |
Remove RasterFunction from list. If index is -1 the last element is removed.
|
inlinevirtual |
Permits access to the list of raster functions.
Definition at line 51 of file mlRasterFunctionList.h.
|
inlineoverridevirtual |
Restores the object's internal state from a string that had been previously generated using persistentState().
Reimplemented from ml::Base.
Definition at line 65 of file mlRasterFunctionList.h.
| void ml::RasterFunctionList::setValue | ( | MLssize_t | index, |
| const RasterFunction & | obj ) |
Sets new raster function obj at index index, index -1 sets the last element. On index == -1 and on empty lists, one element is inserted.