Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 29, 2008, 4:15:03 AM (16 years ago)
Author:
landauf
Message:
  • some small adjustments in identifier and co.
  • renamed GetIdentifier to ClassByName and ClassByID
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/core/Factory.h

    r1505 r1856  
    6666
    6767            static Factory* getFactoryPointer();    // avoid overriding order problem in the static intialisation process
    68             static std::map<std::string, Identifier*>::const_iterator getFactoryBegin();
    69             static std::map<std::string, Identifier*>::const_iterator getFactoryEnd();
     68
     69            /** @brief Returns the factory-map. */
     70            static const std::map<std::string, Identifier*>& getFacbtoryMap()
     71                { return Factory::getFactoryPointer()->identifierStringMap_; }
     72            /** @brief Returns the begin-iterator of the factory-map. */
     73            static std::map<std::string, Identifier*>::const_iterator getFactoryMapBegin()
     74                { return Factory::getFactoryPointer()->identifierStringMap_.begin(); }
     75            /** @brief Returns the end-iterator of the factory-map. */
     76            static std::map<std::string, Identifier*>::const_iterator getFactoryMapEnd()
     77                { return Factory::getFactoryPointer()->identifierStringMap_.end(); }
    7078
    7179        private:
Note: See TracChangeset for help on using the changeset viewer.