Introduction

Getting Started

Programming Guides

API Reference

Additional Resources

HStream.h
Go to the documentation of this file.
1 // Copyright (c) Tech Soft 3D
2 //
3 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc.,
4 // and considered a trade secret as defined under civil and criminal statutes.
5 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of
6 // unauthorized use or misappropriation of its trade secrets. Use of this information
7 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under
8 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use.
9 
11 
16 #ifndef HBINFILETKHEADER
17 #define HBINFILETKHEADER
18 
19 #ifndef __cplusplus
20 #error C++ compiler required
21 #endif
22 
23 #ifndef DOXYGEN_SHOULD_SKIP_THIS
24 
25 #ifdef _MSC_VER
26  #ifndef HSTREAM_STATIC_LIB
27  #ifdef HBINFILETK_EXPORTS
28  #define HBINFILETK_API2 __declspec (dllexport)
29  #else
30  #define HBINFILETK_API2 __declspec (dllimport)
31  #endif
32  #else
33  #ifndef BSTREAM_STATIC_LIB
34  #define BSTREAM_STATIC_LIB
35  #endif
36  #define HBINFILETK_API2
37  #endif
38 #else
39  #define HBINFILETK_API2
40 #endif
41 
42 #ifdef LINUX_SYSTEM
43  #ifndef HSTREAM_STATIC_LIB
44  #ifdef HBINFILETK_EXPORTS
45  #define HBINFILETK_API2 __attribute__ ((visibility ("default")))
46  #else
47  #define HBINFILETK_API2
48  #endif
49  #else
50  #ifndef BSTREAM_STATIC_LIB
51  #define BSTREAM_STATIC_LIB
52  #endif
53  #define HBINFILETK_API2
54  #endif
55 #endif
56 
57 #ifdef TEST_RIG_1
58  #define HBINFILETK_API
59 #else
60  #define HBINFILETK_API HBINFILETK_API2
61 #endif
62 
63 
64 #ifdef HSTREAM_READONLY
65  #ifndef BSTREAM_READONLY
66  #define BSTREAM_READONLY
67  #endif
68 #endif
69 
70 
71 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
72 
73 #include "BStream.h"
74 #include "hc.h"
75 
76 #include "HOpcodeHandler.h"
77 #include "HStreamFileToolkit.h"
78 
79 //#include "utf_utils.h"
80 
85 
94 #ifndef SWIG
95 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, HStreamFileToolkit * tk);
96 #endif
97 
99 
106 #ifndef SWIG
107 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, int flags = 0);
108 #endif
109 
110 
112 
118 TK_Status HBINFILETK_API HTK_Read_Stream_File (__wchar_t const * filename, HStreamFileToolkit * tk);
119 #ifdef _MSC_VER
120 TK_Status HBINFILETK_API HTK_Read_Stream_File (unsigned short const * filename, HStreamFileToolkit * tk);
121 #endif
122 
124 
131 TK_Status HBINFILETK_API HTK_Read_Stream_File (__wchar_t const * filename, int flags = 0);
132 #ifdef _MSC_VER
133 TK_Status HBINFILETK_API HTK_Read_Stream_File (unsigned short const * filename, int flags = 0);
134 #endif
135 
136 
138 
143 #ifndef SWIG
144 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, int flags, HStreamFileToolkit * tk);
145 #endif
146 
155 
164 #ifndef SWIG
165 TK_Status HBINFILETK_API HTK_Write_Stream_File (char const * filename, HStreamFileToolkit * tk);
166 #endif
167 
168 
169 
171 
178 #ifndef SWIG
179 TK_Status HBINFILETK_API HTK_Write_Stream_File (char const * filename, int flags = 0);
180 #endif
181 
182 
183 
185 
193 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (__wchar_t const * filename, HStreamFileToolkit * tk);
194 #ifdef _MSC_VER
195 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (unsigned short const * filename, HStreamFileToolkit * tk);
196 #endif
197 
198 
200 
207 TK_Status HBINFILETK_API HTK_Write_Stream_File (__wchar_t const * filename, int flags = 0);
208 #ifdef _MSC_VER
209 TK_Status HBINFILETK_API HTK_Write_Stream_File (unsigned short const * filename, int flags = 0);
210 #endif
211 
212 
213 
215 
220 #ifndef SWIG
221 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (char const * filename, int flags, HStreamFileToolkit * tk);
222 #endif
223 
224 #endif
225 
The HStreamFileToolkit class provides support for exporting/importing HOOPS Stream File information f...
Definition: HStreamFileToolkit.h:138
TK_Status
Codes which can be either passed to various toolkit functions, or indicate the result of a toolkit fu...
Definition: BStream.h:254
Contains definitions of global variables, functions and enumerated types.
TK_Status HBINFILETK_API HTK_Write_Stream_File(char const *filename, HStreamFileToolkit *tk)
Exports the HOOPS/3dGS scene-graph to a HOOPS Stream File.
TK_Status HBINFILETK_API HTK_Read_Stream_File(char const *filename, HStreamFileToolkit *tk)
Reads a HOOPS Stream File and map it to the HOOPS/3dGS scene-graph.