Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10373


Ignore:
Timestamp:
Apr 18, 2015, 1:09:33 PM (9 years ago)
Author:
landauf
Message:

detail (re-ordered functions)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core7/src/libraries/core/class/Identifier.h

    r10372 r10373  
    158158            bool isDirectParentOf(const Identifier* identifier) const;
    159159
     160            /// Returns the direct parents of the class the Identifier belongs to.
     161            inline const std::list<const Identifier*>& getDirectParents() const { return this->directParents_; }
    160162            /// Returns the parents of the class the Identifier belongs to.
    161163            inline const std::list<const Identifier*>& getParents() const { return this->parents_; }
     164
     165            /// Returns the direct children the class the Identifier belongs to.
     166            inline const std::set<const Identifier*>& getDirectChildren() const { return this->directChildren_; }
    162167            /// Returns the children of the class the Identifier belongs to.
    163168            inline const std::set<const Identifier*>& getChildren() const { return this->children_; }
    164             /// Returns the direct parents of the class the Identifier belongs to.
    165             inline const std::list<const Identifier*>& getDirectParents() const { return this->directParents_; }
    166             /// Returns the direct children the class the Identifier belongs to.
    167             inline const std::set<const Identifier*>& getDirectChildren() const { return this->directChildren_; }
    168169
    169170
     
    209210
    210211        private:
     212            std::list<const Identifier*> directParents_;                    //!< The direct parents of the class the Identifier belongs to (sorted by their order of initialization)
    211213            std::list<const Identifier*> parents_;                          //!< The parents of the class the Identifier belongs to (sorted by their order of initialization)
     214
     215            std::set<const Identifier*> directChildren_;                   //!< The direct children of the class the Identifier belongs to
    212216            std::set<const Identifier*> children_;                         //!< The children of the class the Identifier belongs to
    213 
    214             std::list<const Identifier*> directParents_;                    //!< The direct parents of the class the Identifier belongs to (sorted by their order of initialization)
    215             std::set<const Identifier*> directChildren_;                   //!< The direct children of the class the Identifier belongs to
    216217
    217218            bool bInitialized_;                                            //!< Is true if the Identifier was completely initialized
Note: See TracChangeset for help on using the changeset viewer.