#include <ObjMgr/mlObjMgrAttribute.h>
Inherits std::map<omIDType, omAttribute>.
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. | |
| omObject * | parent () |
| Writable parent access. | |
| const omObject * | parent () const |
| Read-Only parent access. | |
| omFlags & | flags () |
| Writable flags access. | |
| const omFlags & | flags () const |
| Read-Only flags access. | |
| bool | isValid () const |
| Returns true if attributes vector is valid. | |
| omAttributesVector & | operator= (const omAttributesVector &v) |
| Assignment operator. | |
| omAttribute & | operator[] (const omIDType &infoID) |
| Returns reference to attribute of specified information ID. | |
| const omAttribute & | operator[] (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 |
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.
| 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.
| ml::omAttributesVector::omAttributesVector | ( | ) |
| ml::omAttributesVector::omAttributesVector | ( | const omAttributesVector & | v | ) |
| ml::omAttributesVector::~omAttributesVector | ( | ) |
| 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.
| 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.
| 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.
| const omFlags& ml::omAttributesVector::flags | ( | ) | const [inline] |
| omFlags& ml::omAttributesVector::flags | ( | ) | [inline] |
| const omIDType& ml::omAttributesVector::getID | ( | ) | const [inline] |
| bool ml::omAttributesVector::isValid | ( | void | ) | const [inline] |
| 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.
| const omObject* ml::omAttributesVector::parent | ( | ) | const [inline] |
| omObject* ml::omAttributesVector::parent | ( | ) | [inline] |
| size_t ml::omAttributesVector::size | ( | ) | const [inline] |
friend class omObject [friend] |
Definition at line 156 of file mlObjMgrAttribute.h.
omFlags ml::omAttributesVector::_flags [protected] |
omIDType ml::omAttributesVector::_id [protected] |
bool ml::omAttributesVector::_isValid [protected] |
Definition at line 167 of file mlObjMgrAttribute.h.
omObject* ml::omAttributesVector::_parent [protected] |
Definition at line 165 of file mlObjMgrAttribute.h.
1.5.8