Changeset 2662 for code/trunk/src/core/Identifier.h
- Timestamp:
- Feb 14, 2009, 10:17:35 PM (15 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/core/Identifier.h
r2171 r2662 68 68 #include "Super.h" 69 69 #include "Functor.h" 70 #include "util/Integers.h" 70 71 #include "util/Debug.h" 71 72 #include "util/String.h" … … 230 231 231 232 /** @brief Returns the network ID to identify a class through the network. @return the network ID */ 232 inline const u nsigned int getNetworkID() const { return this->classID_; }233 inline const uint32_t getNetworkID() const { return this->classID_; } 233 234 234 235 /** @brief Sets the network ID to a new value. @param id The new value */ 235 void setNetworkID(u nsigned int id);236 void setNetworkID(uint32_t id); 236 237 237 238 void addConfigValueContainer(const std::string& varname, ConfigValueContainer* container); … … 256 257 257 258 void initializeClassHierarchy(std::set<const Identifier*>* parents, bool bRootClass); 259 260 static void destroyAllIdentifiers(); 258 261 259 262 protected: … … 299 302 } 300 303 304 static std::map<std::string, Identifier*>& getTypeIDIdentifierMap(); 305 301 306 void initialize(std::set<const Identifier*>* parents); 302 303 static void destroyAllIdentifiers();304 307 305 308 std::set<const Identifier*> parents_; //!< The parents of the class the Identifier belongs to … … 315 318 BaseFactory* factory_; //!< The Factory, able to create new objects of the given class (if available) 316 319 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) 317 u nsigned int classID_;//!< The network ID to identify a class through the network320 uint32_t classID_; //!< The network ID to identify a class through the network 318 321 319 322 bool bHasConfigValues_; //!< True if this class has at least one assigned config value
Note: See TracChangeset
for help on using the changeset viewer.