Changeset 5541 in orxonox.OLD for trunk/src/lib/util/multi_type.h
- Timestamp:
- Nov 11, 2005, 1:22:48 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/multi_type.h
r5540 r5541 49 49 void setString(const char* value); 50 50 51 inline void setValue(bool value) { this->setBool(value); }; 52 inline void setValue(int value) { this->setInt(value); }; 53 inline void setValue(float value) { this->setFloat(value); }; 54 inline void setValue(char value) { this->setChar(value); }; 55 inline void setValue(const char* value) { this->setString(value); }; 56 51 57 /** @returns the Type of the Value stored in this MultiType */ 52 58 inline MT_Type getType() const { return this->type; };
Note: See TracChangeset
for help on using the changeset viewer.