MeVisLabToolboxReference
ml::XMarkerListContainer Class Reference

Base object class XMarkerListContainer (derived from ListContainerTemplate) for XMarkerList objects. More...

#include <mlXMarkerList.h>

Inheritance diagram for ml::XMarkerListContainer:
ml::ListContainerTemplate< XMarkerList > ml::ListContainerBase ml::Module ml::FieldContainer ml::Base

List of all members.

Public Member Functions

 XMarkerListContainer ()
 Constructor.

Protected Member Functions

Handle item property fields
virtual bool isPropertyField (Field *field)
 Return true if field points to an item property field.
virtual void resetPropertyFields ()
 Reset all property fields.
virtual void updatePropertyFields ()
 Update property fields from the current list item.
List modifications
virtual bool modifyItem (MLssize_t index, Field *field, bool fromCurrentItem)
 Modify item at position index.
virtual void copyItemToTemplate (MLssize_t index)
 Copy values from item at position index to the template fields.
virtual void copyTemplateToCurrent ()
 Copy the values of the templates fields to _currentItem.
virtual void initItem (MLssize_t index)
 Initialize the list item at position index.

Detailed Description

Base object class XMarkerListContainer (derived from ListContainerTemplate) for XMarkerList objects.

Container class for XMarkerList objects

Definition at line 211 of file mlXMarkerList.h.


Constructor & Destructor Documentation

ml::XMarkerListContainer::XMarkerListContainer ( )

Constructor.


Member Function Documentation

virtual void ml::XMarkerListContainer::copyItemToTemplate ( MLssize_t  index) [protected, virtual]

Copy values from item at position index to the template fields.

Reimplemented from ml::ListContainerTemplate< XMarkerList >.

virtual void ml::XMarkerListContainer::copyTemplateToCurrent ( ) [protected, virtual]

Copy the values of the templates fields to _currentItem.

Reimplemented from ml::ListContainerTemplate< XMarkerList >.

virtual void ml::XMarkerListContainer::initItem ( MLssize_t  index) [protected, virtual]

Initialize the list item at position index.

This method is called by insertItem() if the fromCurrentItem argument is false. Moreover it is called when fldInit is touched.

Reimplemented from ml::ListContainerTemplate< XMarkerList >.

virtual bool ml::XMarkerListContainer::isPropertyField ( Field field) [protected, virtual]

Return true if field points to an item property field.

Reimplemented from ml::ListContainerBase.

virtual bool ml::XMarkerListContainer::modifyItem ( MLssize_t  index,
Field field,
bool  fromCurrentItem 
) [protected, virtual]

Modify item at position index.

If fromCurrentItem is true, the item is copied from _currentItem, otherwise the item property corresponding to the property field field is modified. Return true if item has been modified.

Reimplemented from ml::ListContainerTemplate< XMarkerList >.

virtual void ml::XMarkerListContainer::resetPropertyFields ( ) [protected, virtual]

Reset all property fields.

Reimplemented from ml::ListContainerBase.

virtual void ml::XMarkerListContainer::updatePropertyFields ( ) [protected, virtual]

Update property fields from the current list item.

Reimplemented from ml::ListContainerTemplate< XMarkerList >.


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