Changeset 814 for code/branches
- Timestamp:
- Feb 15, 2008, 4:37:30 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core/src/orxonox/core/Identifier.h
r813 r814 60 60 61 61 #include "ObjectList.h" 62 //#include "IdentifierList.h"63 62 #include "Debug.h" 64 63 #include "Iterator.h" … … 116 115 inline const std::list<const Identifier*>& getParents() const { return this->parents_; } 117 116 118 // /** @brief Returns the children of the class the Identifier belongs to. @return The list of all children */ 119 // inline const std::list<const Identifier*>& getChildren() const { return (*this->children_); } 117 /** @brief Returns the begin-iterator of the parents-list. @return The begin-iterator */ 118 inline std::list<const Identifier*>::const_iterator getParentsBegin() const { return this->parents_.begin(); } 119 120 /** @brief Returns the end-iterator of the parents-list. @return The end-iterator */ 121 inline std::list<const Identifier*>::const_iterator getParentsEnd() const { return this->parents_.end(); } 122 123 /** @brief Returns the begin-iterator of the children-list. @return The begin-iterator */ 124 inline std::list<const Identifier*>::const_iterator getChildrenBegin() const { return this->children_->begin(); } 125 126 /** @brief Returns the end-iterator of the children-list. @return The end-iterator */ 127 inline std::list<const Identifier*>::const_iterator getChildrenEnd() const { return this->children_->end(); } 120 128 121 129 /** @brief Returns true, if a branch of the class-hierarchy is being created, causing all new objects to store their parents. @return The status of the class-hierarchy creation */ … … 168 176 static bool identifierIsInList(const Identifier* identifier, const std::list<const Identifier*>& list); 169 177 170 // IdentifierList parents_; //!< The Parents of the class the Identifier belongs to171 // IdentifierList* children_; //!< The Children of the class the Identifier belongs to172 178 std::list<const Identifier*> parents_; //!< The Parents of the class the Identifier belongs to 173 179 std::list<const Identifier*>* children_; //!< The Children of the class the Identifier belongs to
Note: See TracChangeset
for help on using the changeset viewer.