Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Feb 10, 2008, 1:05:27 AM (16 years ago)
Author:
landauf
Message:

fixed a strange problem in the MultiType-classes

read this if you're interested:
http://fara.cs.uni-potsdam.de/~kaufmann/?page=GenCppFaqs&faq=Overload#Answ

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core/src/orxonox/core/ConfigValueContainer.h

    r792 r794  
    7979            inline ConfigValueContainer& getValue(T& value)                           { this->value_.getValue(value); return *this; }
    8080*/
    81             inline ConfigValueContainer& getValue(int* value)            { ((MultiTypePrimitive)this->value_).getValue(value); return *this; }
    82             inline ConfigValueContainer& getValue(unsigned int* value)   { ((MultiTypePrimitive)this->value_).getValue(value); return *this; }
    83             inline ConfigValueContainer& getValue(char* value)           { ((MultiTypePrimitive)this->value_).getValue(value); return *this; }
    84             inline ConfigValueContainer& getValue(unsigned char* value)  { ((MultiTypePrimitive)this->value_).getValue(value); return *this; }
    85             inline ConfigValueContainer& getValue(short* value)          { ((MultiTypePrimitive)this->value_).getValue(value); return *this; }
    86             inline ConfigValueContainer& getValue(unsigned short* value) { ((MultiTypePrimitive)this->value_).getValue(value); return *this; }
    87             inline ConfigValueContainer& getValue(long* value)           { ((MultiTypePrimitive)this->value_).getValue(value); return *this; }
    88             inline ConfigValueContainer& getValue(unsigned long* value)  { ((MultiTypePrimitive)this->value_).getValue(value); return *this; }
    89             inline ConfigValueContainer& getValue(float* value)          { ((MultiTypePrimitive)this->value_).getValue(value); return *this; }
    90             inline ConfigValueContainer& getValue(double* value)         { ((MultiTypePrimitive)this->value_).getValue(value); return *this; }
    91             inline ConfigValueContainer& getValue(long double* value)    { ((MultiTypePrimitive)this->value_).getValue(value); return *this; }
    92             inline ConfigValueContainer& getValue(bool* value)           { ((MultiTypePrimitive)this->value_).getValue(value); return *this; }
    93             inline ConfigValueContainer& getValue(std::string* value)    { ((MultiTypeString)this->value_).getValue(value); return *this; }
     81            inline ConfigValueContainer& getValue(int* value)            { this->value_.getValue(value); return *this; }
     82            inline ConfigValueContainer& getValue(unsigned int* value)   { this->value_.getValue(value); return *this; }
     83            inline ConfigValueContainer& getValue(char* value)           { this->value_.getValue(value); return *this; }
     84            inline ConfigValueContainer& getValue(unsigned char* value)  { this->value_.getValue(value); return *this; }
     85            inline ConfigValueContainer& getValue(short* value)          { this->value_.getValue(value); return *this; }
     86            inline ConfigValueContainer& getValue(unsigned short* value) { this->value_.getValue(value); return *this; }
     87            inline ConfigValueContainer& getValue(long* value)           { this->value_.getValue(value); return *this; }
     88            inline ConfigValueContainer& getValue(unsigned long* value)  { this->value_.getValue(value); return *this; }
     89            inline ConfigValueContainer& getValue(float* value)          { this->value_.getValue(value); return *this; }
     90            inline ConfigValueContainer& getValue(double* value)         { this->value_.getValue(value); return *this; }
     91            inline ConfigValueContainer& getValue(long double* value)    { this->value_.getValue(value); return *this; }
     92            inline ConfigValueContainer& getValue(bool* value)           { this->value_.getValue(value); return *this; }
     93            inline ConfigValueContainer& getValue(std::string* value)    { this->value_.getValue(value); return *this; }
    9494            inline ConfigValueContainer& getValue(Vector2* value)        { this->value_.getValue(value); return *this; }
    9595            inline ConfigValueContainer& getValue(Vector3* value)        { this->value_.getValue(value); return *this; }
Note: See TracChangeset for help on using the changeset viewer.