Changeset 5541 in orxonox.OLD for trunk/src/lib/util
- Timestamp:
- Nov 11, 2005, 1:22:48 PM (19 years ago)
- Location:
- trunk/src/lib/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/multi_type.cc
r5540 r5541 70 70 { 71 71 if (this->storedString != NULL) 72 delete this->storedString;72 delete[] this->storedString; 73 73 } 74 74 -
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.