Changeset 5135 in orxonox.OLD for trunk/src/util/loading
- Timestamp:
- Aug 26, 2005, 12:51:27 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/loading/load_param.h
r5133 r5135 57 57 #define LOAD_PARAM_END_CYCLE element = element->NextSiblingElement(); \ 58 58 } 59 60 61 62 /**63 useable FunctionParameters are:64 l_INT: int65 l_LONG: long66 l_SHORT: short67 l_FLOAT: float68 l_STRING: const char*69 l_XML_ELEM: TiXmlElement*70 */71 72 #define l_BOOL_TYPE bool //!< The type of an BOOL73 #define l_BOOL_FUNC isBool //!< The function to call to parse BOOL74 #define l_BOOL_NAME "bool" //!< The name of an BOOL75 #define l_BOOL_DEFAULT false //!< a default Value for an BOOL76 77 78 #define l_INT_TYPE int //!< The type of an INT79 #define l_INT_FUNC isInt //!< The function to call to parse INT80 #define l_INT_NAME "int" //!< The name of an INT81 #define l_INT_DEFAULT 0 //!< a default Value for an INT82 83 #define l_UINT_TYPE unsigned int //!< The type of an UINT84 #define l_UINT_FUNC isInt //!< The function to call to parse UINT85 #define l_UINT_NAME "unsigned int" //!< The name of an UINT86 #define l_UINT_DEFAULT 0 //!< a default Value for an UINT87 88 #define l_LONG_TYPE long //!< The type of a LONG89 #define l_LONG_FUNC isInt //!< The function to parse a LONG90 #define l_LONG_NAME "long" //!< The name of a LONG91 #define l_LONG_DEFAULT 0 //!< a default Value for a LONG92 93 // #define l_SHORT_TYPE short //!< The type of a SHORT94 // #define l_SHORT_FUNC atoi //!< The function to parse a SHORT95 // #define l_SHORT_NAME "short" //!< The name of a SHORT96 // #define l_SHORT_DEFAULT 0 //!< a default Value for a SHORT97 98 #define l_FLOAT_TYPE float //!< The type of a FLOAT99 #define l_FLOAT_FUNC isFloat //!< The function to parse a FLOAT100 #define l_FLOAT_NAME "float" //!< The name of a FLOAT101 #define l_FLOAT_DEFAULT 0.0 //!< a default Value for a FLOAT102 103 //#define l_VECTOR_TYPE const Vector& //!< The type of a VECTOR104 //#define l_VECTOR_FUNC isVector //!< The function to parse a VECTOR105 //#define l_VECTOR_NAME "Vector[x/y/z]" //!< The name of a VECTOR106 //#define l_VECTOR_DEFAULT Vector(0,0,0) //!< Default value for a VECTOR107 108 #define l_STRING_TYPE const char* //!< The type of a STRING109 #define l_STRING_FUNC isString //!< The function to parse a STRING110 #define l_STRING_NAME "string" //!< The name of a STRING111 #define l_STRING_DEFAULT "" //!< a default Value for an STRING112 113 #define l_XML_ELEM_TYPE const TiXmlElement* //!< The type of an XML_ELEM114 #define l_XML_ELEM_FUNC //!< The function to parse an XML_ELEM115 #define l_XML_ELEM_NAME "XML" //!< The name of an XML_ELEM116 #define l_XML_ELEM_DEFAULT NULL //!< The dafault Value for an XML_ELEM117 59 118 60
Note: See TracChangeset
for help on using the changeset viewer.