Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 5, 2009, 5:20:06 PM (15 years ago)
Author:
rgrieder
Message:

Stupid TSVN bug: All items in a commit list are always checked by default (which is exactly wrong). It was fixed again in the upcoming 1.6.4 version though.

File:
1 edited

Legend:

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

    r5610 r5611  
    6161            static Identifier* getIdentifier(const std::string& name);
    6262            static Identifier* getIdentifier(const uint32_t id);
    63             static void add(const std::string& name, BaseFactory* factory);
     63            static void add(const std::string& name, Identifier* identifier);
    6464            static void changeNetworkID(Identifier* identifier, const uint32_t oldID, const uint32_t newID);
    6565            static void cleanNetworkIDs();
     
    6969
    7070            /** @brief Returns the factory-map. */
    71             static const std::map<std::string, Identifier*>& getFactoryMap()
     71            static const std::map<std::string, Identifier*>& getFacbtoryMap()
    7272                { return Factory::getFactoryPointer()->identifierStringMap_; }
    7373            /** @brief Returns the begin-iterator of the factory-map. */
     
    8585            std::map<std::string, Identifier*> identifierStringMap_;            //!< The map, mapping the name with the Identifier
    8686            std::map<uint32_t, Identifier*> identifierNetworkIDMap_;        //!< The map, mapping the network ID with the Identifier
    87             std::map<std::string, BaseFactory*> factoryMap_;
    8887    };
    8988
     
    9695        public:
    9796            virtual BaseObject* fabricate(BaseObject* creator) = 0;
    98             virtual Identifier* createIdentifier(const std::string& name) = 0;
    9997            virtual ~BaseFactory() {};
    10098    };
Note: See TracChangeset for help on using the changeset viewer.