MeVisLab Toolbox Reference
|
Manages one layer of information. More...
#include <ObjMgr/mlObjMgrAttribute.h>
Public Types | |
typedef inherited::iterator | iterator |
typedef inherited::const_iterator | const_iterator |
Public Member Functions | |
omAttributesVector () | |
omAttributesVector (const omAttributesVector &v) | |
~omAttributesVector () | |
const omIDType & | getID () const |
Get method for layer ID. More... | |
omObject * | parent () |
Writable parent access. More... | |
const omObject * | parent () const |
Read-Only parent access. More... | |
omFlags & | flags () |
Writable flags access. More... | |
const omFlags & | flags () const |
Read-Only flags access. More... | |
bool | isValid () const |
Returns true if attributes vector is valid. More... | |
omAttributesVector & | operator= (const omAttributesVector &v) |
Assignment operator. More... | |
omAttribute & | operator[] (const omIDType &infoID) |
Returns reference to attribute of specified information ID. More... | |
const omAttribute & | operator[] (const omIDType &infoID) const |
Returns read only reference to attribute of specified information ID. More... | |
void | erase (const omIDType &infoID) |
Erase the information item whose information ID is given. More... | |
void | clear () |
Remove all information items from layer. More... | |
size_t | size () const |
Get number of information items. More... | |
bool | empty () const |
True if there are no information stored in this layer. More... | |
inherited::iterator | begin () |
Returns an iterator pointing to the beginning of the attributes vector. More... | |
inherited::iterator | end () |
Returns an iterator pointing to the end of the attributes vector. More... | |
inherited::const_iterator | begin () const |
Returns a const_iterator pointing to the beginning of the attributes vector. More... | |
inherited::const_iterator | end () const |
Returns a const_iterator pointing to the end of the attributes vector. More... | |
void | markValid (bool trueOrFalse) |
Protected Attributes | |
omFlags | _flags |
Special flags. More... | |
omObject * | _parent |
bool | _isValid |
omIDType | _id |
ID of the layer. More... | |
Friends | |
class | omObject |
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 148 of file mlObjMgrAttribute.h.
typedef inherited::const_iterator ml::omAttributesVector::const_iterator |
Definition at line 169 of file mlObjMgrAttribute.h.
typedef inherited::iterator ml::omAttributesVector::iterator |
Definition at line 168 of file mlObjMgrAttribute.h.
ml::omAttributesVector::omAttributesVector | ( | ) |
ml::omAttributesVector::omAttributesVector | ( | const omAttributesVector & | v | ) |
ml::omAttributesVector::~omAttributesVector | ( | ) |
|
inline |
Returns an iterator pointing to the beginning of the attributes vector.
Definition at line 231 of file mlObjMgrAttribute.h.
|
inline |
Returns a const_iterator pointing to the beginning of the attributes vector.
Definition at line 240 of file mlObjMgrAttribute.h.
void ml::omAttributesVector::clear | ( | ) |
Remove all information items from layer.
|
inline |
True if there are no information stored in this layer.
Definition at line 226 of file mlObjMgrAttribute.h.
|
inline |
Returns an iterator pointing to the end of the attributes vector.
Definition at line 235 of file mlObjMgrAttribute.h.
|
inline |
Returns a const_iterator pointing to the end of the attributes vector.
Definition at line 244 of file mlObjMgrAttribute.h.
void ml::omAttributesVector::erase | ( | const omIDType & | infoID | ) |
Erase the information item whose information ID is given.
|
inline |
Writable flags access.
Definition at line 190 of file mlObjMgrAttribute.h.
|
inline |
Read-Only flags access.
Definition at line 194 of file mlObjMgrAttribute.h.
|
inline |
Get method for layer ID.
Definition at line 176 of file mlObjMgrAttribute.h.
|
inline |
Returns true if attributes vector is valid.
Definition at line 199 of file mlObjMgrAttribute.h.
|
inline |
Definition at line 250 of file mlObjMgrAttribute.h.
omAttributesVector& ml::omAttributesVector::operator= | ( | const omAttributesVector & | v | ) |
Assignment operator.
omAttribute& ml::omAttributesVector::operator[] | ( | const omIDType & | infoID | ) |
Returns reference to attribute of specified information ID.
Creates attributes vector if not yet existent.
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()).
|
inline |
Writable parent access.
Definition at line 181 of file mlObjMgrAttribute.h.
|
inline |
Read-Only parent access.
Definition at line 185 of file mlObjMgrAttribute.h.
|
inline |
Get number of information items.
Definition at line 221 of file mlObjMgrAttribute.h.
|
friend |
Definition at line 150 of file mlObjMgrAttribute.h.
|
protected |
Special flags.
Definition at line 157 of file mlObjMgrAttribute.h.
|
protected |
ID of the layer.
Definition at line 164 of file mlObjMgrAttribute.h.
|
protected |
Definition at line 161 of file mlObjMgrAttribute.h.
|
protected |
Definition at line 159 of file mlObjMgrAttribute.h.