HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
21
class
UT_API
UT_VoxelArrayJSON
22
{
23
public
:
24
enum
ArrayTokenID
{
25
ARRAY_CONSTARRAY
,
26
ARRAY_TILEDARRAY
,
27
ARRAY_SHAREDARRAY
,
28
ARRAY_VERSION
,
29
ARRAY_COMPRESSIONTYPES
,
30
ARRAY_TILES
31
};
32
33
enum
TileTokenID
{
34
TILE_COMPRESSION
,
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
UT_VoxelArrayJSON::TILE_COMPRESSION
Definition:
UT_VoxelArrayJSON.h:34
UT_VoxelArrayJSON::ARRAY_TILEDARRAY
Definition:
UT_VoxelArrayJSON.h:26
UT_API.h
UT_VoxelArrayJSON::TileTokenID
TileTokenID
Definition:
UT_VoxelArrayJSON.h:33
UT_API
#define UT_API
Definition:
UT_API.h:14
UT_VoxelArrayJSON
Definition:
UT_VoxelArrayJSON.h:21
UT_VoxelArrayJSON::ArrayTokenID
ArrayTokenID
Definition:
UT_VoxelArrayJSON.h:24
SOP_AddEnums::getToken
SYS_FORCE_INLINE UT_StringHolder getToken(Add enum_value)
Definition:
SOP_Add.proto.h:35
UT_VoxelArrayJSON::ARRAY_VERSION
Definition:
UT_VoxelArrayJSON.h:28
UT_VoxelArrayJSON::ARRAY_SHAREDARRAY
Definition:
UT_VoxelArrayJSON.h:27
UT_JSONParser.h
UT_VoxelArrayJSON::ARRAY_COMPRESSIONTYPES
Definition:
UT_VoxelArrayJSON.h:29
UT_VoxelArrayJSON::ARRAY_CONSTARRAY
Definition:
UT_VoxelArrayJSON.h:25
UT
UT_VoxelArrayJSON.h
Generated on Fri Nov 8 2024 03:42:08 for HDK by
1.8.6