Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7218 in orxonox.OLD for branches/std/src/lib/util


Ignore:
Timestamp:
Mar 12, 2006, 3:00:04 PM (19 years ago)
Author:
bensch
Message:

orxonox/std:: more strings

Location:
branches/std/src/lib/util
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/std/src/lib/util/executor/functor_list.h

    r7216 r7218  
    7474//#define l_VECTOR_DEFAULT   Vector(0,0,0)        //!< Default value for a VECTOR
    7575
    76 #define l_CSTRING_TYPE     const char*          //!< The type of a CSTRING
    77 #define l_CSTRING_FUNC     isCString            //!< The function to parse a CSTRING
    78 #define l_CSTRING_NAME     "cstring"            //!< The name of a CSTRING
    79 #define l_CSTRING_PARAM    MT_STRING            //!< the type of the parameter CSTRING
    80 #define l_CSTRING_DEFAULT  ""                   //!< a default Value for an CSTRING
    81 
    8276#define l_STRING_TYPE      const std::string&   //!< The type of a STRING
    8377#define l_STRING_FUNC      isString             //!< The function to parse a STRING
    8478#define l_STRING_NAME      "string"             //!< The name of a STRING
    85 #define l_STRING_PARAM     MT_CSTRING           //!< the type of the parameter STRING
     79#define l_STRING_PARAM     MT_STRING           //!< the type of the parameter STRING
    8680#define l_STRING_DEFAULT   ""                   //!< a default Value for an STRING
    8781
  • branches/std/src/lib/util/loading/resource_manager.cc

    r7210 r7218  
    849849  {
    850850    std::string homeDir;
    851     std::string newName = name.substr(1, name.size()-1);
     851    std::string newName = name.substr(1);
    852852#ifdef __WIN32__
    853853    homeDir = getenv("USERPROFILE");
  • branches/std/src/lib/util/multi_type.cc

    r7214 r7218  
    5555      break;
    5656    case MT_STRING:
    57     case MT_CSTRING:
    5857      this->storedString = "";
    5958      break;
  • branches/std/src/lib/util/multi_type.h

    r7214 r7218  
    2424  MT_EXT1            = 32,                 //!< An external Type.
    2525  MT_EXT2            = 64,                 //!< An external Type.
    26 
    27   MT_CSTRING         = 128,                //!< An entire String.
    2826} MT_Type;
    2927
Note: See TracChangeset for help on using the changeset viewer.