HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_VoxelArrayJSON.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: UT_VoxelArrayJSON.h ( UT Library, C++)
7  *
8  * COMMENTS:
9  * A class to hide the static data used by UT_VoxelArray during JSON
10  * writing/parsing. We don't want to include this data directly in
11  * UT_VoxelArray.C as that file is included in UT_VoxelArray.h.
12  */
13 
14 #ifndef __UT_VoxelArrayJSON__
15 #define __UT_VoxelArrayJSON__
16 
17 #include "UT_API.h"
18 
19 #include "UT_JSONParser.h"
20 
22 {
23 public:
24  enum ArrayTokenID {
30  ARRAY_TILES
31  };
32 
33  enum TileTokenID {
35  TILE_DATA
36  };
37 
38  static const char *getToken(ArrayTokenID id);
39  static const char *getToken(TileTokenID id);
40 
41  static int getArrayID(const char *symbol);
42  static int getTileID(const char *symbol);
43 };
44 
45 #endif
46 
#define UT_API
Definition: UT_API.h:13