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