MeVisLabToolboxReference
ml::omAttributesVector Class Reference

Manages one layer of information. More...

#include <ObjMgr/mlObjMgrAttribute.h>

Inherits std::map< K, T >.

List of all members.

Public Types

typedef inherited::iterator iterator
typedef inherited::const_iterator const_iterator

Public Member Functions

 omAttributesVector ()
 omAttributesVector (const omAttributesVector &v)
 ~omAttributesVector ()
const omIDTypegetID () const
 Get method for layer ID.
omObjectparent ()
 Writable parent access.
const omObjectparent () const
 Read-Only parent access.
omFlagsflags ()
 Writable flags access.
const omFlagsflags () const
 Read-Only flags access.
bool isValid () const
 Returns true if attributes vector is valid.
omAttributesVectoroperator= (const omAttributesVector &v)
 Assignment operator.
omAttributeoperator[] (const omIDType &infoID)
 Returns reference to attribute of specified information ID.
const omAttributeoperator[] (const omIDType &infoID) const
 Returns read only reference to attribute of specified information ID.
void erase (const omIDType &infoID)
 Erase the information item whose information ID is given.
void clear ()
 Remove all information items from layer.
size_t size () const
 Get number of information items.
bool empty () const
 True if there are no information stored in this layer.
inherited::iterator begin ()
 Returns an iterator pointing to the beginning of the attributes vector.
inherited::iterator end ()
 Returns an iterator pointing to the end of the attributes vector.
inherited::const_iterator begin () const
 Returns a const_iterator pointing to the beginning of the attributes vector.
inherited::const_iterator end () const
 Returns a const_iterator pointing to the end of the attributes vector.
void markValid (bool trueOrFalse)

Protected Attributes

omFlags _flags
 Special flags.
omObject_parent
bool _isValid
omIDType _id
 ID of the layer.

Friends

class omObject

Detailed Description

Manages one layer of information.

Declare what is to be a layer of information e.g. Key: item (e.g. attribute name, instance name of module) Contents: Attributes or value of this item (e.g. this very instance)

Definition at line 154 of file mlObjMgrAttribute.h.


Member Typedef Documentation

typedef inherited::const_iterator ml::omAttributesVector::const_iterator

Definition at line 175 of file mlObjMgrAttribute.h.

typedef inherited::iterator ml::omAttributesVector::iterator

Definition at line 174 of file mlObjMgrAttribute.h.


Constructor & Destructor Documentation

ml::omAttributesVector::omAttributesVector ( )
ml::omAttributesVector::omAttributesVector ( const omAttributesVector v)
ml::omAttributesVector::~omAttributesVector ( )

Member Function Documentation

inherited::iterator ml::omAttributesVector::begin ( ) [inline]

Returns an iterator pointing to the beginning of the attributes vector.

Definition at line 237 of file mlObjMgrAttribute.h.

inherited::const_iterator ml::omAttributesVector::begin ( ) const [inline]

Returns a const_iterator pointing to the beginning of the attributes vector.

Definition at line 246 of file mlObjMgrAttribute.h.

void ml::omAttributesVector::clear ( )

Remove all information items from layer.

bool ml::omAttributesVector::empty ( ) const [inline]

True if there are no information stored in this layer.

Definition at line 232 of file mlObjMgrAttribute.h.

inherited::const_iterator ml::omAttributesVector::end ( ) const [inline]

Returns a const_iterator pointing to the end of the attributes vector.

Definition at line 250 of file mlObjMgrAttribute.h.

inherited::iterator ml::omAttributesVector::end ( ) [inline]

Returns an iterator pointing to the end of the attributes vector.

Definition at line 241 of file mlObjMgrAttribute.h.

void ml::omAttributesVector::erase ( const omIDType infoID)

Erase the information item whose information ID is given.

omFlags& ml::omAttributesVector::flags ( ) [inline]

Writable flags access.

Definition at line 196 of file mlObjMgrAttribute.h.

const omFlags& ml::omAttributesVector::flags ( ) const [inline]

Read-Only flags access.

Definition at line 200 of file mlObjMgrAttribute.h.

const omIDType& ml::omAttributesVector::getID ( ) const [inline]

Get method for layer ID.

Definition at line 182 of file mlObjMgrAttribute.h.

bool ml::omAttributesVector::isValid ( void  ) const [inline]

Returns true if attributes vector is valid.

Definition at line 205 of file mlObjMgrAttribute.h.

void ml::omAttributesVector::markValid ( bool  trueOrFalse) [inline]

Definition at line 256 of file mlObjMgrAttribute.h.

omAttributesVector& ml::omAttributesVector::operator= ( const omAttributesVector v)

Assignment operator.

const omAttribute& ml::omAttributesVector::operator[] ( const omIDType infoID) const

Returns read only reference to attribute of specified information ID.

Returns invalid attributes vector if not yet existent (Check with isValid()).

omAttribute& ml::omAttributesVector::operator[] ( const omIDType infoID)

Returns reference to attribute of specified information ID.

Creates attributes vector if not yet existent.

omObject* ml::omAttributesVector::parent ( ) [inline]

Writable parent access.

Definition at line 187 of file mlObjMgrAttribute.h.

const omObject* ml::omAttributesVector::parent ( ) const [inline]

Read-Only parent access.

Definition at line 191 of file mlObjMgrAttribute.h.

size_t ml::omAttributesVector::size ( ) const [inline]

Get number of information items.

Definition at line 227 of file mlObjMgrAttribute.h.


Friends And Related Function Documentation

friend class omObject [friend]

Definition at line 156 of file mlObjMgrAttribute.h.


Member Data Documentation

Special flags.

Definition at line 163 of file mlObjMgrAttribute.h.

ID of the layer.

Definition at line 170 of file mlObjMgrAttribute.h.

Definition at line 167 of file mlObjMgrAttribute.h.

Definition at line 165 of file mlObjMgrAttribute.h.


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