Changeset 6645 in orxonox.OLD for trunk/src/lib/util
- Timestamp:
- Jan 21, 2006, 4:56:43 PM (19 years ago)
- Location:
- trunk/src/lib/util
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/executor/executor.cc
r6222 r6645 60 60 { 61 61 int type = va_arg(parameterList, int); 62 this->defaultValue[i].setType( type);62 this->defaultValue[i].setType((MT_Type)type); 63 63 } 64 64 } -
trunk/src/lib/util/multi_type.cc
r6643 r6645 187 187 * @param type the new Type 188 188 */ 189 void MultiType::setType( inttype)189 void MultiType::setType(MT_Type type) 190 190 { 191 191 if (this->type != type) 192 this->type = (MT_Type)type;192 this->type = type; 193 193 } 194 194 -
trunk/src/lib/util/multi_type.h
r6644 r6645 31 31 */ 32 32 class MultiType { 33 34 33 public: 35 34 MultiType(); … … 55 54 bool operator==(char value) const { return (this->getChar() == value); }; 56 55 bool operator==(const char* value) const; 56 bool operator==(MT_Type type) const { return (this->type == type); } 57 bool operator!=(MT_Type type) const { return (this->type != type); } 57 58 58 void setType( inttype);59 void setType(MT_Type type); 59 60 60 61 void setBool(bool value);
Note: See TracChangeset
for help on using the changeset viewer.