Changeset 715 for code/branches/FICN/src/orxonox/core/OrxonoxClass.h
- Timestamp:
- Dec 28, 2007, 11:33:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/orxonox/core/OrxonoxClass.h
r708 r715 37 37 #define _OrxonoxClass_H__ 38 38 39 #include <string> 40 39 41 #include "CorePrereqs.h" 40 41 #include "misc/String.h"42 42 #include "MetaObjectList.h" 43 43 #include "Identifier.h" … … 132 132 133 133 /** @brief Sets the name of the object. @param name The name */ 134 inline virtual void setName(const String& name) { this->name_ = name; }134 inline virtual void setName(const std::string& name) { this->name_ = name; } 135 135 136 136 /** @returns the name of the object. */ 137 inline const String& getName() const { return this->name_; }137 inline const std::string& getName() const { return this->name_; } 138 138 139 139 /** @brief Sets the state of the objects activity. @param bActive True = active */ … … 154 154 MetaObjectList metaList_; //!< MetaObjectList, containing all ObjectLists and ObjectListElements the object is registered in 155 155 156 String name_; //!< The name of the object156 std::string name_; //!< The name of the object 157 157 bool bActive_; //!< True = the object is active 158 158 bool bVisible_; //!< True = the object is visible
Note: See TracChangeset
for help on using the changeset viewer.