Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 28, 2007, 11:33:10 PM (16 years ago)
Author:
rgrieder
Message:
  • the master has spoken…
  • misc/String.h is not anymore..
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/core/Factory.h

    r708 r715  
    4545
    4646#include <map>
     47#include <string>
    4748
    4849#include "CorePrereqs.h"
    49 
    50 #include "misc/String.h"
    5150
    5251namespace orxonox
     
    6160    {
    6261        public:
    63             static Identifier* getIdentifier(const String& name);
     62            static Identifier* getIdentifier(const std::string& name);
    6463            static Identifier* getIdentifier(const unsigned int id);
    65             static void add(const String& name, Identifier* identifier);
     64            static void add(const std::string& name, Identifier* identifier);
    6665            static void changeNetworkID(Identifier* identifier, const unsigned int oldID, const unsigned int newID);
    6766            static void createClassHierarchy();
     
    7473            ~Factory() {}                           // don't delete
    7574
    76             std::map<String, Identifier*> identifierStringMap_;            //!< The map, mapping the name with the Identifier
     75            std::map<std::string, Identifier*> identifierStringMap_;            //!< The map, mapping the name with the Identifier
    7776            std::map<unsigned int, Identifier*> identifierNetworkIDMap_;        //!< The map, mapping the network ID with the Identifier
    7877    };
Note: See TracChangeset for help on using the changeset viewer.