Changeset 10367 for code/branches/core7/src
- Timestamp:
- Apr 15, 2015, 10:37:17 PM (10 years ago)
- Location:
- code/branches/core7/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/ClassTreeMask.cc
r9667 r10367 293 293 { 294 294 // No it's not: Search for classes inheriting from the given class and add the rules for them 295 for (std::set<const Identifier*>::const_iterator it = subclass->getDirectChildren Begin(); it != subclass->getDirectChildrenEnd(); ++it)295 for (std::set<const Identifier*>::const_iterator it = subclass->getDirectChildren().begin(); it != subclass->getDirectChildren().end(); ++it) 296 296 if ((*it)->isA(this->root_->getClass())) 297 297 if (overwrite || (!this->nodeExists(*it))) // If we don't want to overwrite, only add nodes that don't already exist … … 392 392 if (!subclass) 393 393 return; 394 for (std::set<const Identifier*>::const_iterator it = subclass->getDirectChildren Begin(); it != subclass->getDirectChildrenEnd(); ++it)394 for (std::set<const Identifier*>::const_iterator it = subclass->getDirectChildren().begin(); it != subclass->getDirectChildren().end(); ++it) 395 395 this->add(*it, this->isIncluded(*it), false, false); 396 396 … … 943 943 944 944 // Insert all directChildren of the directChild 945 directChildren.insert((*it2)->getDirectChildren Begin(), (*it2)->getDirectChildrenEnd());945 directChildren.insert((*it2)->getDirectChildren().begin(), (*it2)->getDirectChildren().end()); 946 946 947 947 // Restart the scan with the expanded set of directChildren -
code/branches/core7/src/libraries/core/class/Identifier.h
r10366 r10367 161 161 /// Returns the parents of the class the Identifier belongs to. 162 162 inline const std::set<const Identifier*>& getParents() const { return this->parents_; } 163 /// Returns the begin-iterator of the parents-list.164 inline std::set<const Identifier*>::const_iterator getParentsBegin() const { return this->parents_.begin(); }165 /// Returns the end-iterator of the parents-list.166 inline std::set<const Identifier*>::const_iterator getParentsEnd() const { return this->parents_.end(); }167 168 163 /// Returns the children of the class the Identifier belongs to. 169 164 inline const std::set<const Identifier*>& getChildren() const { return this->children_; } 170 /// Returns the begin-iterator of the children-list.171 inline std::set<const Identifier*>::const_iterator getChildrenBegin() const { return this->children_.begin(); }172 /// Returns the end-iterator of the children-list.173 inline std::set<const Identifier*>::const_iterator getChildrenEnd() const { return this->children_.end(); }174 175 165 /// Returns the direct parents of the class the Identifier belongs to. 176 166 inline const std::set<const Identifier*>& getDirectParents() const { return this->directParents_; } 177 /// Returns the begin-iterator of the direct-parents-list.178 inline std::set<const Identifier*>::const_iterator getDirectParentsBegin() const { return this->directParents_.begin(); }179 /// Returns the end-iterator of the direct-parents-list.180 inline std::set<const Identifier*>::const_iterator getDirectParentsEnd() const { return this->directParents_.end(); }181 182 167 /// Returns the direct children the class the Identifier belongs to. 183 168 inline const std::set<const Identifier*>& getDirectChildren() const { return this->directChildren_; } 184 /// Returns the begin-iterator of the direct-children-list.185 inline std::set<const Identifier*>::const_iterator getDirectChildrenBegin() const { return this->directChildren_.begin(); }186 /// Returns the end-iterator of the direct-children-list.187 inline std::set<const Identifier*>::const_iterator getDirectChildrenEnd() const { return this->directChildren_.end(); }188 169 189 170 … … 442 423 443 424 if (updateChildren) 444 for (std::set<const Identifier*>::const_iterator it = this->getChildren Begin(); it != this->getChildrenEnd(); ++it)425 for (std::set<const Identifier*>::const_iterator it = this->getChildren().begin(); it != this->getChildren().end(); ++it) 445 426 (*it)->updateConfigValues(false); 446 427 }
Note: See TracChangeset
for help on using the changeset viewer.