Changeset 6643 in orxonox.OLD for trunk/src/lib/util/multi_type.h
- Timestamp:
- Jan 21, 2006, 3:04:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/multi_type.h
r5659 r6643 42 42 virtual ~MultiType(); 43 43 44 MultiType& operator= (const MultiType& mt); 44 MultiType& operator=(const MultiType& mt); 45 bool operator==(const MultiType& mt) const; 46 bool operator==(bool value) const { return this->getBool() == value; }; 47 bool operator==(int value)const { return this->getInt() == value; }; 48 bool operator==(float value)const { return this->getFloat() == value; }; 49 bool operator==(char value) const { return this->getChar() == value; }; 50 bool operator==(const char* value) const; 45 51 46 52 void setType(int type);
Note: See TracChangeset
for help on using the changeset viewer.