| 
    MeVisLab Toolbox Reference
    
   | 
 
Base object class Vec4iList derived from VecListTemplate. More...
#include <mlVecList.h>
  
Additional Inherited Members | |
  Public Types inherited from ml::ListTemplate< T > | |
| typedef T | itemType | 
| Declare type name for item type (this allows declarations like: ObjectList::itemType obj)   | |
  Public Types inherited from ml::ListBase | |
| enum | ActionClass {  ActNone = 0 , ActUnknown , ActNew , ActSelect , ActModify , ActDelete , ActInsert , ActInsertOvw , ActNumActions }  | 
| Constants to describe the type of action most recently performed.  More... | |
  Public Types inherited from ml::Base | |
| enum | PersistenceInterface { PersistenceByString , PersistenceByTreeNode , PersistenceByStream } | 
| This enum describes the different persistence interfaces available.  More... | |
  Public Member Functions inherited from ml::VecListTemplate< vec4i > | |
| VecListTemplate () | |
| Default constructor.   | |
  Public Member Functions inherited from ml::ListTemplate< T > | |
| ListTemplate () | |
| Standard constructor, disables persistence.   | |
| ListTemplate (bool persistance) | |
| Special constructor to explicitly enable/disable persistence.   | |
| ListTemplate (const ListTemplate &other) | |
| size_t | getSize () const override | 
| Get number of list elements.   | |
| void | clearList () override | 
| Clear complete list.   | |
| ListTemplate< T > & | operator= (const ListTemplate< T > &list) | 
| Assignment operator.   | |
| ListTemplate< T > * | clone () const override | 
| Create a copy of (*this) using the ML runtime system and the '='-operator.   | |
| ListTemplate< T > * | deepCopy () const override | 
| Create a deep copy of the list.   | |
| std::string | persistentState () const override | 
| Returns a string describing the object's internal state.   | |
| void | setPersistentState (const std::string &state) override | 
| Initialize the list object from the string state.   | |
| void | addStateToTree (TreeNode *parent) const override | 
| Attaches the state as children of the given parent node.   | |
| ML_SET_ADDSTATE_VERSION (2) | |
| Set addState version number, version 2 indicates data saved by a 64 bit version.   | |
| void | readStateFromTree (TreeNode *parent) override | 
| Reads the object state from the children of the given parent node.   | |
  Public Member Functions inherited from ml::ListBase | |
| ListBase (bool persistance) | |
| Constructor. Derived class should indicate whether persistence is implemented.   | |
| ListBase (const ListBase &other) | |
| virtual BaseItem * | getItemAt (MLssize_t) | 
| This virtual function is reimplemented in BaseListTemplate<T>, where it actually returns the item at the given index.   | |
| virtual const BaseItem * | getConstItemAt (MLssize_t) const | 
| Same as getItemAt(MLssize_t index) for constant access.   | |
| virtual void | insertItemAt (MLssize_t, const BaseItem *) | 
| This virtual function is reimplemented in BaseListTemplate<T>, where it actually inserts the item at the given index.   | |
| virtual void | modifyItemAt (MLssize_t, const BaseItem *) | 
| This virtual function is reimplemented in BaseListTemplate<T>, where it actually modifies the item at the given index.   | |
| virtual void | deleteItemAt (MLssize_t) | 
| This virtual function is reimplemented in BaseListTemplate<T>, where it actually deletes the item at the given index.   | |
| virtual void | selectItemAt (MLssize_t) | 
| This virtual function is reimplemented in BaseListTemplate<T>, where it actually selects the item at the given index.   | |
| virtual const RuntimeType * | getItemTypeId () const | 
| This virtual function is reimplemented in BaseListTemplate<T>, where it actually returns the item class' type id.   | |
| virtual void | setAction (ActionClass actionClass, MLssize_t id, MLssize_t index) | 
| Set actionClass, affected item id and index.   | |
| virtual void | setAction (ActionClass actionClass) | 
| Set actionClass for actions affecting the whole list.   | |
| virtual void | getAction (ActionClass &actionClass, MLssize_t &id, MLssize_t &index) const | 
| Get actionClass, affected item id and index.   | |
| virtual ActionClass | getActionClass () const | 
| Get actionClass of last action.   | |
| virtual MLssize_t | getActionId () const | 
| Get id of item affected by last action.   | |
| virtual MLssize_t | getActionIndex () const | 
| Get index of item affected by last action.   | |
| virtual MLssize_t | getCurrentIndex () const | 
| Get index of currently selected item, or -1 if no item selected.   | |
| virtual bool | isModified () const | 
| Tests, if the last action has been an action that has modified the content of the list.   | |
| virtual bool | hasPersistance () const | 
| Test if persistence is available and enabled.   | |
| virtual void | setPersistance (bool persistance) | 
| Enable/disable persistence functionality.   | |
| ML_SET_ADDSTATE_VERSION (0) | |
| Set addState version number.   | |
  Public Member Functions inherited from ml::Base | |
| Base () | |
| Constructor.   | |
| virtual | ~Base () | 
| Destructor.   | |
| bool | isOfAllowedType (const std::vector< const RuntimeType * > &types) const | 
| Checks whether this object's type is equal to or derived from one of the types given in the argument.   | |
| virtual bool | isRefCountedBase () const | 
| Returns whether the instance is derived from RefCountedBase.   | |
| virtual std::string | detailString () const | 
| Returns 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 void | writeTo (AbstractPersistenceOutputStream *) const | 
| Writes the objects state to the data stream object.   | |
| virtual void | readFrom (AbstractPersistenceInputStream *, int) | 
| Reads the objects state from the data stream object.   | |
  Static Public Attributes inherited from ml::ListBase | |
| static const char *const | ActionClassNames [ActNumActions] | 
| Action class name constants.   | |
  Protected Member Functions inherited from ml::VecListTemplate< vec4i > | |
| std::string | itemState (typename VecListTemplate< vec4i >::const_iterator it) const override | 
| void | setItemState (typename VecListTemplate< vec4i >::iterator it, const std::string &state) override | 
| Initialize the item object from the string state.   | |
  Protected Member Functions inherited from ml::ListTemplate< T > | |
| virtual std::string | itemState (typename ListTemplate< T >::const_iterator it) const | 
| Return a string representation of the item object.   | |
| virtual void | setItemState (typename ListTemplate< T >::iterator, const std::string &) | 
| Initialize the item object from the string state.   | |
  Protected Member Functions inherited from ml::ListBase | |
| char * | newString (const std::string &str) const | 
| Convenience method to create a copy of the string str allocated on the heap.   | |
| void | deleteString (char *str) const | 
| Dispose a string allocated with newString()   | |
| ListBase & | operator= (const ListBase &list) | 
| Assignment operator, used in derived list classes.   | |
Base object class Vec4iList derived from VecListTemplate.
Definition at line 129 of file mlVecList.h.