Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 24, 2009, 2:55:34 AM (15 years ago)
Author:
landauf
Message:

Renamed BaseFactory as Factory
Added function ClassByLowercaseString

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core5/src/libraries/core/Identifier.h

    r5778 r5779  
    103103
    104104            /** @brief Sets the Factory. @param factory The factory to assign */
    105             inline void addFactory(BaseFactory* factory) { this->factory_ = factory; }
     105            inline void addFactory(Factory* factory) { this->factory_ = factory; }
    106106            /** @brief Returns true if the Identifier has a Factory. */
    107107            inline bool hasFactory() const { return (this->factory_ != 0); }
     
    165165
    166166            static Identifier* getIdentifierByString(const std::string& name);
     167            static Identifier* getIdentifierByLowercaseString(const std::string& name);
    167168            static Identifier* getIdentifierByID(uint32_t id);
    168169
     
    334335            bool bLoadable_;                                               //!< False = it's not permitted to load the object through XML
    335336            std::string name_;                                             //!< The name of the class the Identifier belongs to
    336             BaseFactory* factory_;                                         //!< The Factory, able to create new objects of the given class (if available)
     337            Factory* factory_;                                             //!< The Factory, able to create new objects of the given class (if available)
    337338            static int hierarchyCreatingCounter_s;                         //!< Bigger than zero if at least one Identifier stores its parents (its an int instead of a bool to avoid conflicts with multithreading)
    338339            uint32_t networkID_;                                           //!< The network ID to identify a class through the network
Note: See TracChangeset for help on using the changeset viewer.