HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_Defines.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_Defines.h (C++)
7  *
8  * COMMENTS: Common defines and typedefs for UT_Library
9  *
10  */
11 
12 #ifndef _UT_Defines_
13 #define _UT_Defines_
14 
15 // DEFINES
16 
17 #define UT_GIANTBUF 16384
18 #define UT_BIGBUF 8192
19 #define UT_MIDBUF 4096
20 #define UT_SMALLBUF 1024
21 #define UT_TINYBUF 512
22 // UT_NUMBUF is the maximum number of digits required by itoa()
23 // It is sizeof(int64)*8 + 1 for the terminating '\0'
24 #define UT_NUMBUF 65
25 #define UT_BUFSIZE UT_BIGBUF
26 
27 
28 // A character used for separating the index file path from a section name.
29 #define UT_SECTION_SEPARATOR_CHAR '?'
30 #define UT_SECTION_SEPARATOR_STRING "?"
31 
32 // A file protocol prefix for referencing an OTL library given an operator
33 // type name. Eg, "oplib:/Object/myhda".
34 #define UT_OTL_LIBRARY_PREFIX "oplib:"
35 #define UT_OTL_LIBRARY_PREFIX_LEN 6
36 
37 // A file protocol prefix for referencing an HDA definition given an operator
38 // type name. Eg, "opdef:/Object/myhda".
39 #define UT_HDA_DEFINITION_PREFIX "opdef:"
40 #define UT_HDA_DEFINITION_PREFIX_LEN 6
41 
42 #endif