1 /* 2 Copyright (c) 2008-2013 NetAllied Systems GmbH 3 4 This file is part of COLLADASaxFrameworkLoader. 5 6 Licensed under the MIT Open Source License, 7 for details please see LICENSE file or the website 8 http://www.opensource.org/licenses/mit-license.php 9 */ 10 11 12 13 #ifndef __COLLADASAXFWL14_COLLADAPARSERAUTOGEN14ENUMS_H__ 14 #define __COLLADASAXFWL14_COLLADAPARSERAUTOGEN14ENUMS_H__ 15 16 17 #include "GeneratedSaxParserTypes.h" 18 #include "GeneratedSaxParserUtils.h" 19 #include "GeneratedSaxParserParserError.h" 20 21 22 namespace COLLADASaxFWL14 23 { 24 25 26 typedef GeneratedSaxParser::sint8 sint8; 27 typedef GeneratedSaxParser::sint16 sint16; 28 typedef GeneratedSaxParser::sint32 sint32; 29 typedef GeneratedSaxParser::sint64 sint64; 30 typedef GeneratedSaxParser::uint8 uint8; 31 typedef GeneratedSaxParser::uint16 uint16; 32 typedef GeneratedSaxParser::uint32 uint32; 33 typedef GeneratedSaxParser::uint64 uint64; 34 35 typedef GeneratedSaxParser::StringHash StringHash; 36 typedef GeneratedSaxParser::ParserChar ParserChar; 37 typedef GeneratedSaxParser::ParserString ParserString; 38 typedef GeneratedSaxParser::ParserAttributes ParserAttributes; 39 typedef GeneratedSaxParser::Utils Utils; 40 typedef GeneratedSaxParser::ParserError ParserError; 41 typedef GeneratedSaxParser::StringHashPair StringHashPair; 42 43 44 enum ENUM__VersionType 45 { 46 ENUM__VersionType__1_4_0 = 0, 47 ENUM__VersionType__1_4_1 = 1, 48 ENUM__VersionType__COUNT = 2, 49 ENUM__VersionType__NOT_PRESENT = 3 50 }; 51 52 extern const std::pair<StringHash, ENUM__VersionType> ENUM__VersionTypeMap[ENUM__VersionType__COUNT]; 53 54 55 ENUM__VersionType toEnum_ENUM__VersionType ( 56 const ParserChar** buffer, 57 const ParserChar* bufferEnd, 58 bool& failed, 59 const std::pair<StringHash, ENUM__VersionType>* enumMap, 60 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 61 ); 62 63 64 65 enum ENUM__UpAxisType 66 { 67 ENUM__UpAxisType__X_UP = 0, 68 ENUM__UpAxisType__Y_UP = 1, 69 ENUM__UpAxisType__Z_UP = 2, 70 ENUM__UpAxisType__COUNT = 3, 71 ENUM__UpAxisType__NOT_PRESENT = 4 72 }; 73 74 extern const std::pair<StringHash, ENUM__UpAxisType> ENUM__UpAxisTypeMap[ENUM__UpAxisType__COUNT]; 75 76 77 ENUM__UpAxisType toEnum_ENUM__UpAxisType ( 78 const ParserChar** buffer, 79 const ParserChar* bufferEnd, 80 bool& failed, 81 const std::pair<StringHash, ENUM__UpAxisType>* enumMap, 82 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 83 ); 84 85 86 87 enum ENUM__MorphMethodType 88 { 89 ENUM__MorphMethodType__NORMALIZED = 0, 90 ENUM__MorphMethodType__RELATIVE = 1, 91 ENUM__MorphMethodType__COUNT = 2, 92 ENUM__MorphMethodType__NOT_PRESENT = 3 93 }; 94 95 extern const std::pair<StringHash, ENUM__MorphMethodType> ENUM__MorphMethodTypeMap[ENUM__MorphMethodType__COUNT]; 96 97 98 ENUM__MorphMethodType toEnum_ENUM__MorphMethodType ( 99 const ParserChar** buffer, 100 const ParserChar* bufferEnd, 101 bool& failed, 102 const std::pair<StringHash, ENUM__MorphMethodType>* enumMap, 103 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 104 ); 105 106 107 108 enum ENUM__fx_modifier_enum_common 109 { 110 ENUM__fx_modifier_enum_common__CONST = 0, 111 ENUM__fx_modifier_enum_common__UNIFORM = 1, 112 ENUM__fx_modifier_enum_common__VARYING = 2, 113 ENUM__fx_modifier_enum_common__STATIC = 3, 114 ENUM__fx_modifier_enum_common__VOLATILE = 4, 115 ENUM__fx_modifier_enum_common__EXTERN = 5, 116 ENUM__fx_modifier_enum_common__SHARED = 6, 117 ENUM__fx_modifier_enum_common__COUNT = 7, 118 ENUM__fx_modifier_enum_common__NOT_PRESENT = 8 119 }; 120 121 extern const std::pair<StringHash, ENUM__fx_modifier_enum_common> ENUM__fx_modifier_enum_commonMap[ENUM__fx_modifier_enum_common__COUNT]; 122 123 124 ENUM__fx_modifier_enum_common toEnum_ENUM__fx_modifier_enum_common ( 125 const ParserChar** buffer, 126 const ParserChar* bufferEnd, 127 bool& failed, 128 const std::pair<StringHash, ENUM__fx_modifier_enum_common>* enumMap, 129 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 130 ); 131 132 133 134 enum ENUM__fx_surface_type_enum 135 { 136 ENUM__fx_surface_type_enum__UNTYPED = 0, 137 ENUM__fx_surface_type_enum__1D = 1, 138 ENUM__fx_surface_type_enum__2D = 2, 139 ENUM__fx_surface_type_enum__3D = 3, 140 ENUM__fx_surface_type_enum__RECT = 4, 141 ENUM__fx_surface_type_enum__CUBE = 5, 142 ENUM__fx_surface_type_enum__DEPTH = 6, 143 ENUM__fx_surface_type_enum__COUNT = 7, 144 ENUM__fx_surface_type_enum__NOT_PRESENT = 8 145 }; 146 147 extern const std::pair<StringHash, ENUM__fx_surface_type_enum> ENUM__fx_surface_type_enumMap[ENUM__fx_surface_type_enum__COUNT]; 148 149 150 ENUM__fx_surface_type_enum toEnum_ENUM__fx_surface_type_enum ( 151 const ParserChar** buffer, 152 const ParserChar* bufferEnd, 153 bool& failed, 154 const std::pair<StringHash, ENUM__fx_surface_type_enum>* enumMap, 155 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 156 ); 157 158 159 160 enum ENUM__fx_surface_face_enum 161 { 162 ENUM__fx_surface_face_enum__POSITIVE_X = 0, 163 ENUM__fx_surface_face_enum__NEGATIVE_X = 1, 164 ENUM__fx_surface_face_enum__POSITIVE_Y = 2, 165 ENUM__fx_surface_face_enum__NEGATIVE_Y = 3, 166 ENUM__fx_surface_face_enum__POSITIVE_Z = 4, 167 ENUM__fx_surface_face_enum__NEGATIVE_Z = 5, 168 ENUM__fx_surface_face_enum__COUNT = 6, 169 ENUM__fx_surface_face_enum__NOT_PRESENT = 7 170 }; 171 172 extern const std::pair<StringHash, ENUM__fx_surface_face_enum> ENUM__fx_surface_face_enumMap[ENUM__fx_surface_face_enum__COUNT]; 173 174 175 ENUM__fx_surface_face_enum toEnum_ENUM__fx_surface_face_enum ( 176 const ParserChar** buffer, 177 const ParserChar* bufferEnd, 178 bool& failed, 179 const std::pair<StringHash, ENUM__fx_surface_face_enum>* enumMap, 180 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 181 ); 182 183 184 185 enum ENUM__fx_surface_format_hint_channels_enum 186 { 187 ENUM__fx_surface_format_hint_channels_enum__RGB = 0, 188 ENUM__fx_surface_format_hint_channels_enum__RGBA = 1, 189 ENUM__fx_surface_format_hint_channels_enum__L = 2, 190 ENUM__fx_surface_format_hint_channels_enum__LA = 3, 191 ENUM__fx_surface_format_hint_channels_enum__D = 4, 192 ENUM__fx_surface_format_hint_channels_enum__XYZ = 5, 193 ENUM__fx_surface_format_hint_channels_enum__XYZW = 6, 194 ENUM__fx_surface_format_hint_channels_enum__COUNT = 7, 195 ENUM__fx_surface_format_hint_channels_enum__NOT_PRESENT = 8 196 }; 197 198 extern const std::pair<StringHash, ENUM__fx_surface_format_hint_channels_enum> ENUM__fx_surface_format_hint_channels_enumMap[ENUM__fx_surface_format_hint_channels_enum__COUNT]; 199 200 201 ENUM__fx_surface_format_hint_channels_enum toEnum_ENUM__fx_surface_format_hint_channels_enum ( 202 const ParserChar** buffer, 203 const ParserChar* bufferEnd, 204 bool& failed, 205 const std::pair<StringHash, ENUM__fx_surface_format_hint_channels_enum>* enumMap, 206 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 207 ); 208 209 210 211 enum ENUM__fx_surface_format_hint_range_enum 212 { 213 ENUM__fx_surface_format_hint_range_enum__SNORM = 0, 214 ENUM__fx_surface_format_hint_range_enum__UNORM = 1, 215 ENUM__fx_surface_format_hint_range_enum__SINT = 2, 216 ENUM__fx_surface_format_hint_range_enum__UINT = 3, 217 ENUM__fx_surface_format_hint_range_enum__FLOAT = 4, 218 ENUM__fx_surface_format_hint_range_enum__COUNT = 5, 219 ENUM__fx_surface_format_hint_range_enum__NOT_PRESENT = 6 220 }; 221 222 extern const std::pair<StringHash, ENUM__fx_surface_format_hint_range_enum> ENUM__fx_surface_format_hint_range_enumMap[ENUM__fx_surface_format_hint_range_enum__COUNT]; 223 224 225 ENUM__fx_surface_format_hint_range_enum toEnum_ENUM__fx_surface_format_hint_range_enum ( 226 const ParserChar** buffer, 227 const ParserChar* bufferEnd, 228 bool& failed, 229 const std::pair<StringHash, ENUM__fx_surface_format_hint_range_enum>* enumMap, 230 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 231 ); 232 233 234 235 enum ENUM__fx_surface_format_hint_precision_enum 236 { 237 ENUM__fx_surface_format_hint_precision_enum__LOW = 0, 238 ENUM__fx_surface_format_hint_precision_enum__MID = 1, 239 ENUM__fx_surface_format_hint_precision_enum__HIGH = 2, 240 ENUM__fx_surface_format_hint_precision_enum__COUNT = 3, 241 ENUM__fx_surface_format_hint_precision_enum__NOT_PRESENT = 4 242 }; 243 244 extern const std::pair<StringHash, ENUM__fx_surface_format_hint_precision_enum> ENUM__fx_surface_format_hint_precision_enumMap[ENUM__fx_surface_format_hint_precision_enum__COUNT]; 245 246 247 ENUM__fx_surface_format_hint_precision_enum toEnum_ENUM__fx_surface_format_hint_precision_enum ( 248 const ParserChar** buffer, 249 const ParserChar* bufferEnd, 250 bool& failed, 251 const std::pair<StringHash, ENUM__fx_surface_format_hint_precision_enum>* enumMap, 252 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 253 ); 254 255 256 257 enum ENUM__fx_surface_format_hint_option_enum 258 { 259 ENUM__fx_surface_format_hint_option_enum__SRGB_GAMMA = 0, 260 ENUM__fx_surface_format_hint_option_enum__NORMALIZED3 = 1, 261 ENUM__fx_surface_format_hint_option_enum__NORMALIZED4 = 2, 262 ENUM__fx_surface_format_hint_option_enum__COMPRESSABLE = 3, 263 ENUM__fx_surface_format_hint_option_enum__COUNT = 4, 264 ENUM__fx_surface_format_hint_option_enum__NOT_PRESENT = 5 265 }; 266 267 extern const std::pair<StringHash, ENUM__fx_surface_format_hint_option_enum> ENUM__fx_surface_format_hint_option_enumMap[ENUM__fx_surface_format_hint_option_enum__COUNT]; 268 269 270 ENUM__fx_surface_format_hint_option_enum toEnum_ENUM__fx_surface_format_hint_option_enum ( 271 const ParserChar** buffer, 272 const ParserChar* bufferEnd, 273 bool& failed, 274 const std::pair<StringHash, ENUM__fx_surface_format_hint_option_enum>* enumMap, 275 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 276 ); 277 278 279 280 enum ENUM__fx_sampler_wrap_common 281 { 282 ENUM__fx_sampler_wrap_common__NONE = 0, 283 ENUM__fx_sampler_wrap_common__WRAP = 1, 284 ENUM__fx_sampler_wrap_common__MIRROR = 2, 285 ENUM__fx_sampler_wrap_common__CLAMP = 3, 286 ENUM__fx_sampler_wrap_common__BORDER = 4, 287 ENUM__fx_sampler_wrap_common__COUNT = 5, 288 ENUM__fx_sampler_wrap_common__NOT_PRESENT = 6 289 }; 290 291 extern const std::pair<StringHash, ENUM__fx_sampler_wrap_common> ENUM__fx_sampler_wrap_commonMap[ENUM__fx_sampler_wrap_common__COUNT]; 292 293 294 ENUM__fx_sampler_wrap_common toEnum_ENUM__fx_sampler_wrap_common ( 295 const ParserChar** buffer, 296 const ParserChar* bufferEnd, 297 bool& failed, 298 const std::pair<StringHash, ENUM__fx_sampler_wrap_common>* enumMap, 299 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 300 ); 301 302 303 304 enum ENUM__fx_sampler_filter_common 305 { 306 ENUM__fx_sampler_filter_common__NONE = 0, 307 ENUM__fx_sampler_filter_common__NEAREST = 1, 308 ENUM__fx_sampler_filter_common__LINEAR = 2, 309 ENUM__fx_sampler_filter_common__NEAREST_MIPMAP_NEAREST = 3, 310 ENUM__fx_sampler_filter_common__LINEAR_MIPMAP_NEAREST = 4, 311 ENUM__fx_sampler_filter_common__NEAREST_MIPMAP_LINEAR = 5, 312 ENUM__fx_sampler_filter_common__LINEAR_MIPMAP_LINEAR = 6, 313 ENUM__fx_sampler_filter_common__COUNT = 7, 314 ENUM__fx_sampler_filter_common__NOT_PRESENT = 8 315 }; 316 317 extern const std::pair<StringHash, ENUM__fx_sampler_filter_common> ENUM__fx_sampler_filter_commonMap[ENUM__fx_sampler_filter_common__COUNT]; 318 319 320 ENUM__fx_sampler_filter_common toEnum_ENUM__fx_sampler_filter_common ( 321 const ParserChar** buffer, 322 const ParserChar* bufferEnd, 323 bool& failed, 324 const std::pair<StringHash, ENUM__fx_sampler_filter_common>* enumMap, 325 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 326 ); 327 328 329 330 enum ENUM__NodeType 331 { 332 ENUM__NodeType__JOINT = 0, 333 ENUM__NodeType__NODE = 1, 334 ENUM__NodeType__COUNT = 2, 335 ENUM__NodeType__NOT_PRESENT = 3 336 }; 337 338 extern const std::pair<StringHash, ENUM__NodeType> ENUM__NodeTypeMap[ENUM__NodeType__COUNT]; 339 340 341 ENUM__NodeType toEnum_ENUM__NodeType ( 342 const ParserChar** buffer, 343 const ParserChar* bufferEnd, 344 bool& failed, 345 const std::pair<StringHash, ENUM__NodeType>* enumMap, 346 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 347 ); 348 349 350 351 enum ENUM__gles_texcombiner_operatorRGB_enums 352 { 353 ENUM__gles_texcombiner_operatorRGB_enums__REPLACE = 0, 354 ENUM__gles_texcombiner_operatorRGB_enums__MODULATE = 1, 355 ENUM__gles_texcombiner_operatorRGB_enums__ADD = 2, 356 ENUM__gles_texcombiner_operatorRGB_enums__ADD_SIGNED = 3, 357 ENUM__gles_texcombiner_operatorRGB_enums__INTERPOLATE = 4, 358 ENUM__gles_texcombiner_operatorRGB_enums__SUBTRACT = 5, 359 ENUM__gles_texcombiner_operatorRGB_enums__DOT3_RGB = 6, 360 ENUM__gles_texcombiner_operatorRGB_enums__DOT3_RGBA = 7, 361 ENUM__gles_texcombiner_operatorRGB_enums__COUNT = 8, 362 ENUM__gles_texcombiner_operatorRGB_enums__NOT_PRESENT = 9 363 }; 364 365 extern const std::pair<StringHash, ENUM__gles_texcombiner_operatorRGB_enums> ENUM__gles_texcombiner_operatorRGB_enumsMap[ENUM__gles_texcombiner_operatorRGB_enums__COUNT]; 366 367 368 ENUM__gles_texcombiner_operatorRGB_enums toEnum_ENUM__gles_texcombiner_operatorRGB_enums ( 369 const ParserChar** buffer, 370 const ParserChar* bufferEnd, 371 bool& failed, 372 const std::pair<StringHash, ENUM__gles_texcombiner_operatorRGB_enums>* enumMap, 373 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 374 ); 375 376 377 378 enum ENUM__gles_texcombiner_source_enums 379 { 380 ENUM__gles_texcombiner_source_enums__TEXTURE = 0, 381 ENUM__gles_texcombiner_source_enums__CONSTANT = 1, 382 ENUM__gles_texcombiner_source_enums__PRIMARY = 2, 383 ENUM__gles_texcombiner_source_enums__PREVIOUS = 3, 384 ENUM__gles_texcombiner_source_enums__COUNT = 4, 385 ENUM__gles_texcombiner_source_enums__NOT_PRESENT = 5 386 }; 387 388 extern const std::pair<StringHash, ENUM__gles_texcombiner_source_enums> ENUM__gles_texcombiner_source_enumsMap[ENUM__gles_texcombiner_source_enums__COUNT]; 389 390 391 ENUM__gles_texcombiner_source_enums toEnum_ENUM__gles_texcombiner_source_enums ( 392 const ParserChar** buffer, 393 const ParserChar* bufferEnd, 394 bool& failed, 395 const std::pair<StringHash, ENUM__gles_texcombiner_source_enums>* enumMap, 396 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 397 ); 398 399 400 401 enum ENUM__gles_texcombiner_operandRGB_enums 402 { 403 ENUM__gles_texcombiner_operandRGB_enums__SRC_COLOR = 0, 404 ENUM__gles_texcombiner_operandRGB_enums__ONE_MINUS_SRC_COLOR = 1, 405 ENUM__gles_texcombiner_operandRGB_enums__SRC_ALPHA = 2, 406 ENUM__gles_texcombiner_operandRGB_enums__ONE_MINUS_SRC_ALPHA = 3, 407 ENUM__gles_texcombiner_operandRGB_enums__COUNT = 4, 408 ENUM__gles_texcombiner_operandRGB_enums__NOT_PRESENT = 5 409 }; 410 411 extern const std::pair<StringHash, ENUM__gles_texcombiner_operandRGB_enums> ENUM__gles_texcombiner_operandRGB_enumsMap[ENUM__gles_texcombiner_operandRGB_enums__COUNT]; 412 413 414 ENUM__gles_texcombiner_operandRGB_enums toEnum_ENUM__gles_texcombiner_operandRGB_enums ( 415 const ParserChar** buffer, 416 const ParserChar* bufferEnd, 417 bool& failed, 418 const std::pair<StringHash, ENUM__gles_texcombiner_operandRGB_enums>* enumMap, 419 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 420 ); 421 422 423 424 enum ENUM__gles_texcombiner_operatorAlpha_enums 425 { 426 ENUM__gles_texcombiner_operatorAlpha_enums__REPLACE = 0, 427 ENUM__gles_texcombiner_operatorAlpha_enums__MODULATE = 1, 428 ENUM__gles_texcombiner_operatorAlpha_enums__ADD = 2, 429 ENUM__gles_texcombiner_operatorAlpha_enums__ADD_SIGNED = 3, 430 ENUM__gles_texcombiner_operatorAlpha_enums__INTERPOLATE = 4, 431 ENUM__gles_texcombiner_operatorAlpha_enums__SUBTRACT = 5, 432 ENUM__gles_texcombiner_operatorAlpha_enums__COUNT = 6, 433 ENUM__gles_texcombiner_operatorAlpha_enums__NOT_PRESENT = 7 434 }; 435 436 extern const std::pair<StringHash, ENUM__gles_texcombiner_operatorAlpha_enums> ENUM__gles_texcombiner_operatorAlpha_enumsMap[ENUM__gles_texcombiner_operatorAlpha_enums__COUNT]; 437 438 439 ENUM__gles_texcombiner_operatorAlpha_enums toEnum_ENUM__gles_texcombiner_operatorAlpha_enums ( 440 const ParserChar** buffer, 441 const ParserChar* bufferEnd, 442 bool& failed, 443 const std::pair<StringHash, ENUM__gles_texcombiner_operatorAlpha_enums>* enumMap, 444 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 445 ); 446 447 448 449 enum ENUM__gles_texcombiner_operandAlpha_enums 450 { 451 ENUM__gles_texcombiner_operandAlpha_enums__SRC_ALPHA = 0, 452 ENUM__gles_texcombiner_operandAlpha_enums__ONE_MINUS_SRC_ALPHA = 1, 453 ENUM__gles_texcombiner_operandAlpha_enums__COUNT = 2, 454 ENUM__gles_texcombiner_operandAlpha_enums__NOT_PRESENT = 3 455 }; 456 457 extern const std::pair<StringHash, ENUM__gles_texcombiner_operandAlpha_enums> ENUM__gles_texcombiner_operandAlpha_enumsMap[ENUM__gles_texcombiner_operandAlpha_enums__COUNT]; 458 459 460 ENUM__gles_texcombiner_operandAlpha_enums toEnum_ENUM__gles_texcombiner_operandAlpha_enums ( 461 const ParserChar** buffer, 462 const ParserChar* bufferEnd, 463 bool& failed, 464 const std::pair<StringHash, ENUM__gles_texcombiner_operandAlpha_enums>* enumMap, 465 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 466 ); 467 468 469 470 enum ENUM__gles_texenv_mode_enums 471 { 472 ENUM__gles_texenv_mode_enums__REPLACE = 0, 473 ENUM__gles_texenv_mode_enums__MODULATE = 1, 474 ENUM__gles_texenv_mode_enums__DECAL = 2, 475 ENUM__gles_texenv_mode_enums__BLEND = 3, 476 ENUM__gles_texenv_mode_enums__ADD = 4, 477 ENUM__gles_texenv_mode_enums__COUNT = 5, 478 ENUM__gles_texenv_mode_enums__NOT_PRESENT = 6 479 }; 480 481 extern const std::pair<StringHash, ENUM__gles_texenv_mode_enums> ENUM__gles_texenv_mode_enumsMap[ENUM__gles_texenv_mode_enums__COUNT]; 482 483 484 ENUM__gles_texenv_mode_enums toEnum_ENUM__gles_texenv_mode_enums ( 485 const ParserChar** buffer, 486 const ParserChar* bufferEnd, 487 bool& failed, 488 const std::pair<StringHash, ENUM__gles_texenv_mode_enums>* enumMap, 489 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 490 ); 491 492 493 494 enum ENUM__gles_sampler_wrap 495 { 496 ENUM__gles_sampler_wrap__REPEAT = 0, 497 ENUM__gles_sampler_wrap__CLAMP = 1, 498 ENUM__gles_sampler_wrap__CLAMP_TO_EDGE = 2, 499 ENUM__gles_sampler_wrap__MIRRORED_REPEAT = 3, 500 ENUM__gles_sampler_wrap__COUNT = 4, 501 ENUM__gles_sampler_wrap__NOT_PRESENT = 5 502 }; 503 504 extern const std::pair<StringHash, ENUM__gles_sampler_wrap> ENUM__gles_sampler_wrapMap[ENUM__gles_sampler_wrap__COUNT]; 505 506 507 ENUM__gles_sampler_wrap toEnum_ENUM__gles_sampler_wrap ( 508 const ParserChar** buffer, 509 const ParserChar* bufferEnd, 510 bool& failed, 511 const std::pair<StringHash, ENUM__gles_sampler_wrap>* enumMap, 512 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 513 ); 514 515 516 517 enum ENUM__gl_blend_type 518 { 519 ENUM__gl_blend_type__ZERO = 0, 520 ENUM__gl_blend_type__ONE = 1, 521 ENUM__gl_blend_type__SRC_COLOR = 2, 522 ENUM__gl_blend_type__ONE_MINUS_SRC_COLOR = 3, 523 ENUM__gl_blend_type__DEST_COLOR = 4, 524 ENUM__gl_blend_type__ONE_MINUS_DEST_COLOR = 5, 525 ENUM__gl_blend_type__SRC_ALPHA = 6, 526 ENUM__gl_blend_type__ONE_MINUS_SRC_ALPHA = 7, 527 ENUM__gl_blend_type__DST_ALPHA = 8, 528 ENUM__gl_blend_type__ONE_MINUS_DST_ALPHA = 9, 529 ENUM__gl_blend_type__CONSTANT_COLOR = 10, 530 ENUM__gl_blend_type__ONE_MINUS_CONSTANT_COLOR = 11, 531 ENUM__gl_blend_type__CONSTANT_ALPHA = 12, 532 ENUM__gl_blend_type__ONE_MINUS_CONSTANT_ALPHA = 13, 533 ENUM__gl_blend_type__SRC_ALPHA_SATURATE = 14, 534 ENUM__gl_blend_type__COUNT = 15, 535 ENUM__gl_blend_type__NOT_PRESENT = 16 536 }; 537 538 extern const std::pair<StringHash, ENUM__gl_blend_type> ENUM__gl_blend_typeMap[ENUM__gl_blend_type__COUNT]; 539 540 541 ENUM__gl_blend_type toEnum_ENUM__gl_blend_type ( 542 const ParserChar** buffer, 543 const ParserChar* bufferEnd, 544 bool& failed, 545 const std::pair<StringHash, ENUM__gl_blend_type>* enumMap, 546 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 547 ); 548 549 550 551 enum ENUM__gl_face_type 552 { 553 ENUM__gl_face_type__FRONT = 0, 554 ENUM__gl_face_type__BACK = 1, 555 ENUM__gl_face_type__FRONT_AND_BACK = 2, 556 ENUM__gl_face_type__COUNT = 3, 557 ENUM__gl_face_type__NOT_PRESENT = 4 558 }; 559 560 extern const std::pair<StringHash, ENUM__gl_face_type> ENUM__gl_face_typeMap[ENUM__gl_face_type__COUNT]; 561 562 563 ENUM__gl_face_type toEnum_ENUM__gl_face_type ( 564 const ParserChar** buffer, 565 const ParserChar* bufferEnd, 566 bool& failed, 567 const std::pair<StringHash, ENUM__gl_face_type>* enumMap, 568 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 569 ); 570 571 572 573 enum ENUM__gl_func_type 574 { 575 ENUM__gl_func_type__NEVER = 0, 576 ENUM__gl_func_type__LESS = 1, 577 ENUM__gl_func_type__LEQUAL = 2, 578 ENUM__gl_func_type__EQUAL = 3, 579 ENUM__gl_func_type__GREATER = 4, 580 ENUM__gl_func_type__NOTEQUAL = 5, 581 ENUM__gl_func_type__GEQUAL = 6, 582 ENUM__gl_func_type__ALWAYS = 7, 583 ENUM__gl_func_type__COUNT = 8, 584 ENUM__gl_func_type__NOT_PRESENT = 9 585 }; 586 587 extern const std::pair<StringHash, ENUM__gl_func_type> ENUM__gl_func_typeMap[ENUM__gl_func_type__COUNT]; 588 589 590 ENUM__gl_func_type toEnum_ENUM__gl_func_type ( 591 const ParserChar** buffer, 592 const ParserChar* bufferEnd, 593 bool& failed, 594 const std::pair<StringHash, ENUM__gl_func_type>* enumMap, 595 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 596 ); 597 598 599 600 enum ENUM__gl_stencil_op_type 601 { 602 ENUM__gl_stencil_op_type__KEEP = 0, 603 ENUM__gl_stencil_op_type__ZERO = 1, 604 ENUM__gl_stencil_op_type__REPLACE = 2, 605 ENUM__gl_stencil_op_type__INCR = 3, 606 ENUM__gl_stencil_op_type__DECR = 4, 607 ENUM__gl_stencil_op_type__INVERT = 5, 608 ENUM__gl_stencil_op_type__INCR_WRAP = 6, 609 ENUM__gl_stencil_op_type__DECR_WRAP = 7, 610 ENUM__gl_stencil_op_type__COUNT = 8, 611 ENUM__gl_stencil_op_type__NOT_PRESENT = 9 612 }; 613 614 extern const std::pair<StringHash, ENUM__gl_stencil_op_type> ENUM__gl_stencil_op_typeMap[ENUM__gl_stencil_op_type__COUNT]; 615 616 617 ENUM__gl_stencil_op_type toEnum_ENUM__gl_stencil_op_type ( 618 const ParserChar** buffer, 619 const ParserChar* bufferEnd, 620 bool& failed, 621 const std::pair<StringHash, ENUM__gl_stencil_op_type>* enumMap, 622 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 623 ); 624 625 626 627 enum ENUM__gl_material_type 628 { 629 ENUM__gl_material_type__EMISSION = 0, 630 ENUM__gl_material_type__AMBIENT = 1, 631 ENUM__gl_material_type__DIFFUSE = 2, 632 ENUM__gl_material_type__SPECULAR = 3, 633 ENUM__gl_material_type__AMBIENT_AND_DIFFUSE = 4, 634 ENUM__gl_material_type__COUNT = 5, 635 ENUM__gl_material_type__NOT_PRESENT = 6 636 }; 637 638 extern const std::pair<StringHash, ENUM__gl_material_type> ENUM__gl_material_typeMap[ENUM__gl_material_type__COUNT]; 639 640 641 ENUM__gl_material_type toEnum_ENUM__gl_material_type ( 642 const ParserChar** buffer, 643 const ParserChar* bufferEnd, 644 bool& failed, 645 const std::pair<StringHash, ENUM__gl_material_type>* enumMap, 646 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 647 ); 648 649 650 651 enum ENUM__gl_fog_type 652 { 653 ENUM__gl_fog_type__LINEAR = 0, 654 ENUM__gl_fog_type__EXP = 1, 655 ENUM__gl_fog_type__EXP2 = 2, 656 ENUM__gl_fog_type__COUNT = 3, 657 ENUM__gl_fog_type__NOT_PRESENT = 4 658 }; 659 660 extern const std::pair<StringHash, ENUM__gl_fog_type> ENUM__gl_fog_typeMap[ENUM__gl_fog_type__COUNT]; 661 662 663 ENUM__gl_fog_type toEnum_ENUM__gl_fog_type ( 664 const ParserChar** buffer, 665 const ParserChar* bufferEnd, 666 bool& failed, 667 const std::pair<StringHash, ENUM__gl_fog_type>* enumMap, 668 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 669 ); 670 671 672 673 enum ENUM__gl_front_face_type 674 { 675 ENUM__gl_front_face_type__CW = 0, 676 ENUM__gl_front_face_type__CCW = 1, 677 ENUM__gl_front_face_type__COUNT = 2, 678 ENUM__gl_front_face_type__NOT_PRESENT = 3 679 }; 680 681 extern const std::pair<StringHash, ENUM__gl_front_face_type> ENUM__gl_front_face_typeMap[ENUM__gl_front_face_type__COUNT]; 682 683 684 ENUM__gl_front_face_type toEnum_ENUM__gl_front_face_type ( 685 const ParserChar** buffer, 686 const ParserChar* bufferEnd, 687 bool& failed, 688 const std::pair<StringHash, ENUM__gl_front_face_type>* enumMap, 689 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 690 ); 691 692 693 694 enum ENUM__gl_light_model_color_control_type 695 { 696 ENUM__gl_light_model_color_control_type__SINGLE_COLOR = 0, 697 ENUM__gl_light_model_color_control_type__SEPARATE_SPECULAR_COLOR = 1, 698 ENUM__gl_light_model_color_control_type__COUNT = 2, 699 ENUM__gl_light_model_color_control_type__NOT_PRESENT = 3 700 }; 701 702 extern const std::pair<StringHash, ENUM__gl_light_model_color_control_type> ENUM__gl_light_model_color_control_typeMap[ENUM__gl_light_model_color_control_type__COUNT]; 703 704 705 ENUM__gl_light_model_color_control_type toEnum_ENUM__gl_light_model_color_control_type ( 706 const ParserChar** buffer, 707 const ParserChar* bufferEnd, 708 bool& failed, 709 const std::pair<StringHash, ENUM__gl_light_model_color_control_type>* enumMap, 710 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 711 ); 712 713 714 715 enum ENUM__gl_logic_op_type 716 { 717 ENUM__gl_logic_op_type__CLEAR = 0, 718 ENUM__gl_logic_op_type__AND = 1, 719 ENUM__gl_logic_op_type__AND_REVERSE = 2, 720 ENUM__gl_logic_op_type__COPY = 3, 721 ENUM__gl_logic_op_type__AND_INVERTED = 4, 722 ENUM__gl_logic_op_type__NOOP = 5, 723 ENUM__gl_logic_op_type__XOR = 6, 724 ENUM__gl_logic_op_type__OR = 7, 725 ENUM__gl_logic_op_type__NOR = 8, 726 ENUM__gl_logic_op_type__EQUIV = 9, 727 ENUM__gl_logic_op_type__INVERT = 10, 728 ENUM__gl_logic_op_type__OR_REVERSE = 11, 729 ENUM__gl_logic_op_type__COPY_INVERTED = 12, 730 ENUM__gl_logic_op_type__NAND = 13, 731 ENUM__gl_logic_op_type__SET = 14, 732 ENUM__gl_logic_op_type__COUNT = 15, 733 ENUM__gl_logic_op_type__NOT_PRESENT = 16 734 }; 735 736 extern const std::pair<StringHash, ENUM__gl_logic_op_type> ENUM__gl_logic_op_typeMap[ENUM__gl_logic_op_type__COUNT]; 737 738 739 ENUM__gl_logic_op_type toEnum_ENUM__gl_logic_op_type ( 740 const ParserChar** buffer, 741 const ParserChar* bufferEnd, 742 bool& failed, 743 const std::pair<StringHash, ENUM__gl_logic_op_type>* enumMap, 744 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 745 ); 746 747 748 749 enum ENUM__gl_polygon_mode_type 750 { 751 ENUM__gl_polygon_mode_type__POINT = 0, 752 ENUM__gl_polygon_mode_type__LINE = 1, 753 ENUM__gl_polygon_mode_type__FILL = 2, 754 ENUM__gl_polygon_mode_type__COUNT = 3, 755 ENUM__gl_polygon_mode_type__NOT_PRESENT = 4 756 }; 757 758 extern const std::pair<StringHash, ENUM__gl_polygon_mode_type> ENUM__gl_polygon_mode_typeMap[ENUM__gl_polygon_mode_type__COUNT]; 759 760 761 ENUM__gl_polygon_mode_type toEnum_ENUM__gl_polygon_mode_type ( 762 const ParserChar** buffer, 763 const ParserChar* bufferEnd, 764 bool& failed, 765 const std::pair<StringHash, ENUM__gl_polygon_mode_type>* enumMap, 766 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 767 ); 768 769 770 771 enum ENUM__gl_shade_model_type 772 { 773 ENUM__gl_shade_model_type__FLAT = 0, 774 ENUM__gl_shade_model_type__SMOOTH = 1, 775 ENUM__gl_shade_model_type__COUNT = 2, 776 ENUM__gl_shade_model_type__NOT_PRESENT = 3 777 }; 778 779 extern const std::pair<StringHash, ENUM__gl_shade_model_type> ENUM__gl_shade_model_typeMap[ENUM__gl_shade_model_type__COUNT]; 780 781 782 ENUM__gl_shade_model_type toEnum_ENUM__gl_shade_model_type ( 783 const ParserChar** buffer, 784 const ParserChar* bufferEnd, 785 bool& failed, 786 const std::pair<StringHash, ENUM__gl_shade_model_type>* enumMap, 787 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 788 ); 789 790 791 792 struct UNION__gles_enumeration 793 { UNION__gles_enumerationUNION__gles_enumeration794 UNION__gles_enumeration():union_type(INVALID){} UNION__gles_enumerationUNION__gles_enumeration795 UNION__gles_enumeration( int value ):union_type(INVALID){} 796 797 enum Types 798 { 799 GL_BLEND_TYPE, 800 GL_FACE_TYPE, 801 GL_FUNC_TYPE, 802 GL_STENCIL_OP_TYPE, 803 GL_MATERIAL_TYPE, 804 GL_FOG_TYPE, 805 GL_FRONT_FACE_TYPE, 806 GL_LIGHT_MODEL_COLOR_CONTROL_TYPE, 807 GL_LOGIC_OP_TYPE, 808 GL_POLYGON_MODE_TYPE, 809 GL_SHADE_MODEL_TYPE, 810 INVALID 811 } union_type; 812 813 union Data 814 { 815 ENUM__gl_blend_type GL_BLEND_TYPE; 816 ENUM__gl_face_type GL_FACE_TYPE; 817 ENUM__gl_func_type GL_FUNC_TYPE; 818 ENUM__gl_stencil_op_type GL_STENCIL_OP_TYPE; 819 ENUM__gl_material_type GL_MATERIAL_TYPE; 820 ENUM__gl_fog_type GL_FOG_TYPE; 821 ENUM__gl_front_face_type GL_FRONT_FACE_TYPE; 822 ENUM__gl_light_model_color_control_type GL_LIGHT_MODEL_COLOR_CONTROL_TYPE; 823 ENUM__gl_logic_op_type GL_LOGIC_OP_TYPE; 824 ENUM__gl_polygon_mode_type GL_POLYGON_MODE_TYPE; 825 ENUM__gl_shade_model_type GL_SHADE_MODEL_TYPE; 826 } union_data; 827 }; 828 829 UNION__gles_enumeration toUnion_UNION__gles_enumeration ( const ParserChar* buffer, size_t length, bool& failed ); 830 831 832 833 UNION__gles_enumeration toUnion_UNION__gles_enumeration ( const ParserChar** buffer, const ParserChar* bufferEnd, bool& failed ); 834 835 836 837 UNION__gles_enumeration toUnion_UNION__gles_enumeration ( const ParserChar** buffer, bool& failed ); 838 839 840 841 enum ENUM__gles_stencil_op_type 842 { 843 ENUM__gles_stencil_op_type__KEEP = 0, 844 ENUM__gles_stencil_op_type__ZERO = 1, 845 ENUM__gles_stencil_op_type__REPLACE = 2, 846 ENUM__gles_stencil_op_type__INCR = 3, 847 ENUM__gles_stencil_op_type__DECR = 4, 848 ENUM__gles_stencil_op_type__INVERT = 5, 849 ENUM__gles_stencil_op_type__COUNT = 6, 850 ENUM__gles_stencil_op_type__NOT_PRESENT = 7 851 }; 852 853 extern const std::pair<StringHash, ENUM__gles_stencil_op_type> ENUM__gles_stencil_op_typeMap[ENUM__gles_stencil_op_type__COUNT]; 854 855 856 ENUM__gles_stencil_op_type toEnum_ENUM__gles_stencil_op_type ( 857 const ParserChar** buffer, 858 const ParserChar* bufferEnd, 859 bool& failed, 860 const std::pair<StringHash, ENUM__gles_stencil_op_type>* enumMap, 861 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 862 ); 863 864 865 866 enum ENUM__gl_blend_equation_type 867 { 868 ENUM__gl_blend_equation_type__FUNC_ADD = 0, 869 ENUM__gl_blend_equation_type__FUNC_SUBTRACT = 1, 870 ENUM__gl_blend_equation_type__FUNC_REVERSE_SUBTRACT = 2, 871 ENUM__gl_blend_equation_type__MIN = 3, 872 ENUM__gl_blend_equation_type__MAX = 4, 873 ENUM__gl_blend_equation_type__COUNT = 5, 874 ENUM__gl_blend_equation_type__NOT_PRESENT = 6 875 }; 876 877 extern const std::pair<StringHash, ENUM__gl_blend_equation_type> ENUM__gl_blend_equation_typeMap[ENUM__gl_blend_equation_type__COUNT]; 878 879 880 ENUM__gl_blend_equation_type toEnum_ENUM__gl_blend_equation_type ( 881 const ParserChar** buffer, 882 const ParserChar* bufferEnd, 883 bool& failed, 884 const std::pair<StringHash, ENUM__gl_blend_equation_type>* enumMap, 885 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 886 ); 887 888 889 890 enum ENUM__gl_fog_coord_src_type 891 { 892 ENUM__gl_fog_coord_src_type__FOG_COORDINATE = 0, 893 ENUM__gl_fog_coord_src_type__FRAGMENT_DEPTH = 1, 894 ENUM__gl_fog_coord_src_type__COUNT = 2, 895 ENUM__gl_fog_coord_src_type__NOT_PRESENT = 3 896 }; 897 898 extern const std::pair<StringHash, ENUM__gl_fog_coord_src_type> ENUM__gl_fog_coord_src_typeMap[ENUM__gl_fog_coord_src_type__COUNT]; 899 900 901 ENUM__gl_fog_coord_src_type toEnum_ENUM__gl_fog_coord_src_type ( 902 const ParserChar** buffer, 903 const ParserChar* bufferEnd, 904 bool& failed, 905 const std::pair<StringHash, ENUM__gl_fog_coord_src_type>* enumMap, 906 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 907 ); 908 909 910 911 struct UNION__gl_enumeration 912 { UNION__gl_enumerationUNION__gl_enumeration913 UNION__gl_enumeration():union_type(INVALID){} UNION__gl_enumerationUNION__gl_enumeration914 UNION__gl_enumeration( int value ):union_type(INVALID){} 915 916 enum Types 917 { 918 GL_BLEND_TYPE, 919 GL_FACE_TYPE, 920 GL_BLEND_EQUATION_TYPE, 921 GL_FUNC_TYPE, 922 GL_STENCIL_OP_TYPE, 923 GL_MATERIAL_TYPE, 924 GL_FOG_TYPE, 925 GL_FOG_COORD_SRC_TYPE, 926 GL_FRONT_FACE_TYPE, 927 GL_LIGHT_MODEL_COLOR_CONTROL_TYPE, 928 GL_LOGIC_OP_TYPE, 929 GL_POLYGON_MODE_TYPE, 930 GL_SHADE_MODEL_TYPE, 931 INVALID 932 } union_type; 933 934 union Data 935 { 936 ENUM__gl_blend_type GL_BLEND_TYPE; 937 ENUM__gl_face_type GL_FACE_TYPE; 938 ENUM__gl_blend_equation_type GL_BLEND_EQUATION_TYPE; 939 ENUM__gl_func_type GL_FUNC_TYPE; 940 ENUM__gl_stencil_op_type GL_STENCIL_OP_TYPE; 941 ENUM__gl_material_type GL_MATERIAL_TYPE; 942 ENUM__gl_fog_type GL_FOG_TYPE; 943 ENUM__gl_fog_coord_src_type GL_FOG_COORD_SRC_TYPE; 944 ENUM__gl_front_face_type GL_FRONT_FACE_TYPE; 945 ENUM__gl_light_model_color_control_type GL_LIGHT_MODEL_COLOR_CONTROL_TYPE; 946 ENUM__gl_logic_op_type GL_LOGIC_OP_TYPE; 947 ENUM__gl_polygon_mode_type GL_POLYGON_MODE_TYPE; 948 ENUM__gl_shade_model_type GL_SHADE_MODEL_TYPE; 949 } union_data; 950 }; 951 952 UNION__gl_enumeration toUnion_UNION__gl_enumeration ( const ParserChar* buffer, size_t length, bool& failed ); 953 954 955 956 UNION__gl_enumeration toUnion_UNION__gl_enumeration ( const ParserChar** buffer, const ParserChar* bufferEnd, bool& failed ); 957 958 959 960 UNION__gl_enumeration toUnion_UNION__gl_enumeration ( const ParserChar** buffer, bool& failed ); 961 962 963 964 enum ENUM__glsl_pipeline_stage 965 { 966 ENUM__glsl_pipeline_stage__VERTEXPROGRAM = 0, 967 ENUM__glsl_pipeline_stage__FRAGMENTPROGRAM = 1, 968 ENUM__glsl_pipeline_stage__COUNT = 2, 969 ENUM__glsl_pipeline_stage__NOT_PRESENT = 3 970 }; 971 972 extern const std::pair<StringHash, ENUM__glsl_pipeline_stage> ENUM__glsl_pipeline_stageMap[ENUM__glsl_pipeline_stage__COUNT]; 973 974 975 ENUM__glsl_pipeline_stage toEnum_ENUM__glsl_pipeline_stage ( 976 const ParserChar** buffer, 977 const ParserChar* bufferEnd, 978 bool& failed, 979 const std::pair<StringHash, ENUM__glsl_pipeline_stage>* enumMap, 980 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 981 ); 982 983 984 985 enum ENUM__cg_pipeline_stage 986 { 987 ENUM__cg_pipeline_stage__VERTEX = 0, 988 ENUM__cg_pipeline_stage__FRAGMENT = 1, 989 ENUM__cg_pipeline_stage__COUNT = 2, 990 ENUM__cg_pipeline_stage__NOT_PRESENT = 3 991 }; 992 993 extern const std::pair<StringHash, ENUM__cg_pipeline_stage> ENUM__cg_pipeline_stageMap[ENUM__cg_pipeline_stage__COUNT]; 994 995 996 ENUM__cg_pipeline_stage toEnum_ENUM__cg_pipeline_stage ( 997 const ParserChar** buffer, 998 const ParserChar* bufferEnd, 999 bool& failed, 1000 const std::pair<StringHash, ENUM__cg_pipeline_stage>* enumMap, 1001 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 1002 ); 1003 1004 1005 1006 enum ENUM__fx_opaque_enum 1007 { 1008 ENUM__fx_opaque_enum__A_ONE = 0, 1009 ENUM__fx_opaque_enum__RGB_ZERO = 1, 1010 ENUM__fx_opaque_enum__COUNT = 2, 1011 ENUM__fx_opaque_enum__NOT_PRESENT = 3 1012 }; 1013 1014 extern const std::pair<StringHash, ENUM__fx_opaque_enum> ENUM__fx_opaque_enumMap[ENUM__fx_opaque_enum__COUNT]; 1015 1016 1017 ENUM__fx_opaque_enum toEnum_ENUM__fx_opaque_enum ( 1018 const ParserChar** buffer, 1019 const ParserChar* bufferEnd, 1020 bool& failed, 1021 const std::pair<StringHash, ENUM__fx_opaque_enum>* enumMap, 1022 StringHash (*baseConversionFunc)( const ParserChar**, const ParserChar*, bool& ) 1023 ); 1024 1025 1026 1027 1028 1029 } // namespace 1030 #endif 1031