Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 10, 2008, 5:07:48 PM (16 years ago)
Author:
landauf
Message:

started implementing the Namespace hierarchy (still unfinished)

File:
1 edited

Legend:

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

    r878 r879  
    2929#define _Namespace_H__
    3030
    31 #include <list>
     31#include <map>
    3232
    3333#include "BaseObject.h"
     
    4949            const BaseObject* saveObjects(unsigned int index) const;
    5050
     51            void addSubnamespace(Namespace* ns);
     52            bool hasSubnamespace(const std::string& name) const;
     53
    5154        private:
    52             std::list<Namespace*> namespaces_;
     55            std::map<std::string, Namespace*> namespaces_;
    5356            Namespace* representingNamespace_;
    5457    };
Note: See TracChangeset for help on using the changeset viewer.