Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 19, 2008, 12:38:32 AM (16 years ago)
Author:
landauf
Message:

Namespaces are working now. I love this feature, can't stop playing with it :D

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core2/src/orxonox/core/Namespace.h

    r896 r901  
    5959                { return this->operator_; }
    6060
     61            void setRoot(bool bRoot)
     62                { this->bRoot_ = bRoot; }
     63
    6164            bool includes(const Namespace* ns) const;
    6265            bool isIncludedIn(const Namespace* ns) const { return ns->includes(this); }
    6366
    64             void deleteNamespaceNodesAfterDestruction(bool bDelete)
    65                 { this->bDeleteNamespaceNodesAfterDestruction_ = bDelete; }
     67            std::string toString() const;
     68            std::string toString(const std::string& indentation) const;
    6669
    6770        private:
    6871            std::set<NamespaceNode*> representingNamespaces_;
    6972            bool bAutogeneratedFileRootNamespace_;
    70             bool bDeleteNamespaceNodesAfterDestruction_;
     73            bool bRoot_;
    7174            std::string operator_;
    7275    };
Note: See TracChangeset for help on using the changeset viewer.