Changeset 9221 for code/branches
- Timestamp:
- May 18, 2012, 11:17:31 PM (13 years ago)
- Location:
- code/branches/testing
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/src/libraries/util/MultiType.h
r8858 r9221 501 501 _UtilExport inline std::ostream& operator<<(std::ostream& outstream, const MultiType& mt) { if (mt.value_) { mt.value_->toString(outstream); } return outstream; } 502 502 503 template <> inline bool MultiType::isType<void>() const { return this->null(); } ///< Returns true if the current type equals the given type. 503 504 template <> inline bool MultiType::isType<char>() const { return (this->value_ && this->value_->type_ == MT_Type::Char); } ///< Returns true if the current type equals the given type. 504 505 template <> inline bool MultiType::isType<unsigned char>() const { return (this->value_ && this->value_->type_ == MT_Type::UnsignedChar); } ///< Returns true if the current type equals the given type. -
code/branches/testing/test/util/CMakeLists.txt
r9114 r9221 6 6 MathTest.cc 7 7 mboolTest.cc 8 MultiTypeTest.cc 8 9 ScopeTest.cc 9 10 SharedPtrTest.cc
Note: See TracChangeset
for help on using the changeset viewer.