Changeset 7212 for code/branches/consolecommands3/src/libraries/util
- Timestamp:
- Aug 24, 2010, 4:56:37 PM (14 years ago)
- Location:
- code/branches/consolecommands3/src/libraries/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/util/MultiType.h
r7189 r7212 493 493 template <> inline bool MultiType::isType<orxonox::Degree>() const { return (this->value_ && this->value_->type_ == MT_Type::Degree); } /** @brief Returns true if the current type equals the given type. */ 494 494 495 template <> inline bool MultiType::convert<void>() { this->reset(); return true; } /** @brief Deletes the content, type becomes MT_Type::Null. */ 496 495 497 // Specialization to avoid ambiguities with the conversion operator 496 498 template <> inline bool MultiType::convert<std::string>() { return this->setValue<std::string> (this->operator std::string()); } /** @brief Converts the current value to the given type. */ -
code/branches/consolecommands3/src/libraries/util/SharedPtr.h
r7205 r7212 137 137 } 138 138 139 inline T* get() const 140 { 141 return this->pointer_; 142 } 143 139 144 inline operator bool() const 140 145 {
Note: See TracChangeset
for help on using the changeset viewer.