Changeset 11071 for code/trunk/src/libraries/core/BaseObject.h
- Timestamp:
- Jan 17, 2016, 10:29:21 PM (9 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
-
code/trunk/src/libraries/core/BaseObject.h
r10624 r11071 163 163 inline void setScene(const StrongOrWeakPtr<Scene>& scene, uint32_t sceneID) { this->scene_ = scene; this->sceneID_=sceneID; } 164 164 inline Scene* getScene() const { return this->scene_.get(); } 165 inline virtualuint32_t getSceneID() const { return this->sceneID_; }165 virtual inline uint32_t getSceneID() const { return this->sceneID_; } 166 166 167 167 inline void setGametype(const StrongOrWeakPtr<Gametype>& gametype) { this->gametype_ = gametype; } … … 218 218 bool bInitialized_; //!< True if the object was initialized (passed the object registration) 219 219 const XMLFile* file_; //!< The XMLFile that loaded this object 220 Element* lastLoadedXMLElement_; //!< Non 0if the TinyXML attributes have already been copied to our own lowercase map220 Element* lastLoadedXMLElement_; //!< Non nullptr if the TinyXML attributes have already been copied to our own lowercase map 221 221 std::map<std::string, std::string> xmlAttributes_; //!< Lowercase XML attributes 222 222 std::string loaderIndentation_; //!< Indentation of the debug output in the Loader … … 265 265 return this->weakPtr_; 266 266 else 267 return NULL;267 return nullptr; 268 268 } 269 269
Note: See TracChangeset
for help on using the changeset viewer.