Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 5540 in orxonox.OLD for trunk/src/lib/util/multi_type.h


Ignore:
Timestamp:
Nov 11, 2005, 1:13:07 PM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: set[Type](value)-functions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/lib/util/multi_type.h

    r5539 r5540  
    3030
    3131 public:
     32   MultiType();
    3233   MultiType(bool value);
    3334   MultiType(int value);
     
    3839   void init();
    3940
     41   MultiType operator= (const MultiType& mt);
     42
     43   void setType(MT_Type);
     44
     45   void setBool(bool value);
     46   void setInt(int value);
     47   void setFloat(float value);
     48   void setChar(char value);
     49   void setString(const char* value);
    4050
    4151  /** @returns the Type of the Value stored in this MultiType */
Note: See TracChangeset for help on using the changeset viewer.