Changeset 7199 in orxonox.OLD for trunk/src/lib/util/executor/functor_list.h
- Timestamp:
- Mar 8, 2006, 10:46:37 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/lib/util/executor/functor_list.h
r5995 r7199 21 21 l_SHORT: short 22 22 l_FLOAT: float 23 l_ STRING: const char*23 l_CSTRING: const char* 24 24 l_XML_ELEM: TiXmlElement* 25 25 */ … … 60 60 // #define l_SHORT_FUNC atoi //!< The function to parse a SHORT 61 61 // #define l_SHORT_NAME "short" //!< The name of a SHORT 62 // #define l_SHORT_PARAMParameterShort //!< the type of the parameter SHORT62 // #define l_SHORT_PARAM ParameterShort //!< the type of the parameter SHORT 63 63 // #define l_SHORT_DEFAULT 0 //!< a default Value for a SHORT 64 64 … … 74 74 //#define l_VECTOR_DEFAULT Vector(0,0,0) //!< Default value for a VECTOR 75 75 76 #define l_STRING_TYPE const char* //!< The type of a STRING 76 #define l_CSTRING_TYPE const char* //!< The type of a STRING 77 #define l_CSTRING_FUNC isString //!< The function to parse a STRING 78 #define l_CSTRING_NAME "string" //!< The name of a STRING 79 #define l_CSTRING_PARAM MT_STRING //!< the type of the parameter STRING 80 #define l_CSTRING_DEFAULT "" //!< a default Value for an STRING 81 82 #define l_STRING_TYPE const std::string& //!< The type of a STRING 77 83 #define l_STRING_FUNC isString //!< The function to parse a STRING 78 84 #define l_STRING_NAME "string" //!< The name of a STRING … … 93 99 FUNCTOR_LIST(0)(); 94 100 //! makes functions with one string 95 FUNCTOR_LIST(1)(l_ STRING);101 FUNCTOR_LIST(1)(l_CSTRING); 96 102 //! makes functions with two strings 97 FUNCTOR_LIST(2)(l_ STRING, l_STRING);103 FUNCTOR_LIST(2)(l_CSTRING, l_CSTRING); 98 104 //! makes functions with three strings 99 FUNCTOR_LIST(3)(l_ STRING, l_STRING, l_STRING);105 FUNCTOR_LIST(3)(l_CSTRING, l_CSTRING, l_CSTRING); 100 106 //! makes functions with four strings 101 FUNCTOR_LIST(4)(l_ STRING, l_STRING, l_STRING, l_STRING);107 FUNCTOR_LIST(4)(l_CSTRING, l_CSTRING, l_CSTRING, l_CSTRING); 102 108 103 109 //! makes functions with one bool … … 135 141 136 142 //! mixed values: 137 FUNCTOR_LIST(2)(l_ STRING, l_FLOAT);143 FUNCTOR_LIST(2)(l_CSTRING, l_FLOAT); 138 144 FUNCTOR_LIST(2)(l_UINT, l_LONG); 139 FUNCTOR_LIST(2)(l_ STRING, l_UINT);145 FUNCTOR_LIST(2)(l_CSTRING, l_UINT); 140 146 141 FUNCTOR_LIST(3)(l_ STRING, l_FLOAT, l_UINT);147 FUNCTOR_LIST(3)(l_CSTRING, l_FLOAT, l_UINT); 142 148 143 149
Note: See TracChangeset
for help on using the changeset viewer.