Changeset 2492 for code/branches/presentation/src/util
- Timestamp:
- Dec 17, 2008, 12:55:03 AM (16 years ago)
- Location:
- code/branches/presentation
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/presentation
- Property svn:mergeinfo changed
/code/branches/overlay (added) merged: 2117-2118,2120,2140,2152,2180-2181,2200,2222,2225,2320
- Property svn:mergeinfo changed
-
code/branches/presentation/src/util
- Property svn:mergeinfo changed
/code/branches/overlay/src/util (added) merged: 2180
- Property svn:mergeinfo changed
-
code/branches/presentation/src/util/Exception.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/presentation/src/util/Exception.h
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/presentation/src/util/MultiType.cc
r2171 r2492 45 45 switch (type) 46 46 { 47 case MT_null: 48 this->reset(); return true; 47 49 case MT_char: 48 50 return this->convert<char>(); break; -
code/branches/presentation/src/util/MultiType.h
r2171 r2492 305 305 306 306 /** @brief Current content gets deleted. New type is MT_null */ 307 inline void reset() { if (this->value_) this->value_->reset(); } 308 309 template <typename T> inline void setType() { this->assignValue(T()); } /** @brief Resets the value and changes the internal type to T. */ 310 inline void setType(const MultiType& other) { this->setType(other.getType()); } /** @brief Resets the value and changes the internal type to the type of the other MultiType. */ 311 inline void setType(MT_Type type) { this->reset(); this->convert(type); this->reset(); } /** @brief Resets the value and changes the internal type to the given type. */ 307 inline void reset() { if (this->value_) delete this->value_; this->value_ = 0; } 308 /** @brief Current content gets overridden with default zero value */ 309 inline void resetValue() { if (this->value_) this->value_->reset(); } 310 311 template <typename T> inline void setType() { this->assignValue(T()); } /** @brief Resets the value and changes the internal type to T. */ 312 inline void setType(const MultiType& other) { this->setType(other.getType()); } /** @brief Resets the value and changes the internal type to the type of the other MultiType. */ 313 inline void setType(MT_Type type) { this->reset(); this->convert(type); this->resetValue(); } /** @brief Resets the value and changes the internal type to the given type. */ 312 314 313 315 /** @brief Returns the current type. */ -
code/branches/presentation/src/util/SignalHandler.cc
- Property svn:mergeinfo changed (with no actual effect on merging)
-
code/branches/presentation/src/util/SignalHandler.h
- Property svn:mergeinfo changed (with no actual effect on merging)
Note: See TracChangeset
for help on using the changeset viewer.