HStream.h
Go to the documentation of this file.
1 // Copyright (c) Tech Soft 3D, Inc.
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 #define HBINFILETK_API HBINFILETK_API2
58 
59 #ifdef HSTREAM_READONLY
60  #ifndef BSTREAM_READONLY
61  #define BSTREAM_READONLY
62  #endif
63 #endif
64 
65 
66 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
67 
68 #include "BStream.h"
69 #include "hc.h"
70 
71 #include "HOpcodeHandler.h"
72 #include "HStreamFileToolkit.h"
73 
74 //#include "utf_utils.h"
75 
80 
89 #ifndef SWIG
90 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, HStreamFileToolkit * tk);
91 #endif
92 
94 
101 #ifndef SWIG
102 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, int flags = 0);
103 #endif
104 
105 
107 
113 TK_Status HBINFILETK_API HTK_Read_Stream_File (__wchar_t const * filename, HStreamFileToolkit * tk);
114 #ifdef _MSC_VER
115 TK_Status HBINFILETK_API HTK_Read_Stream_File (unsigned short const * filename, HStreamFileToolkit * tk);
116 #endif
117 
119 
126 TK_Status HBINFILETK_API HTK_Read_Stream_File (__wchar_t const * filename, int flags = 0);
127 #ifdef _MSC_VER
128 TK_Status HBINFILETK_API HTK_Read_Stream_File (unsigned short const * filename, int flags = 0);
129 #endif
130 
131 
133 
138 #ifndef SWIG
139 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, int flags, HStreamFileToolkit * tk);
140 #endif
141 
150 
159 #ifndef SWIG
160 TK_Status HBINFILETK_API HTK_Write_Stream_File (char const * filename, HStreamFileToolkit * tk);
161 #endif
162 
163 
164 
166 
173 #ifndef SWIG
174 TK_Status HBINFILETK_API HTK_Write_Stream_File (char const * filename, int flags = 0);
175 #endif
176 
177 
178 
180 
188 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (__wchar_t const * filename, HStreamFileToolkit * tk);
189 #ifdef _MSC_VER
190 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (unsigned short const * filename, HStreamFileToolkit * tk);
191 #endif
192 
193 
195 
202 TK_Status HBINFILETK_API HTK_Write_Stream_File (__wchar_t const * filename, int flags = 0);
203 #ifdef _MSC_VER
204 TK_Status HBINFILETK_API HTK_Write_Stream_File (unsigned short const * filename, int flags = 0);
205 #endif
206 
207 
208 
210 
215 #ifndef SWIG
216 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (char const * filename, int flags, HStreamFileToolkit * tk);
217 #endif
218 
219 #endif
220 
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:277
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.