Alphabetical Class Index   Class Hierarchy   Compound Members   File Members   File List  

HStream.h
Go to the documentation of this file.
1 //
2 // Copyright (c) 2000 by Tech Soft 3D, LLC.
3 // The information contained herein is confidential and proprietary to
4 // Tech Soft 3D, LLC., and considered a trade secret as defined under
5 // civil and criminal statutes. Tech Soft 3D shall pursue its civil
6 // and criminal remedies in the event of unauthorized use or misappropriation
7 // of its trade secrets. Use of this information by anyone other than
8 // authorized employees of Tech Soft 3D, LLC. is granted only under a
9 // written non-disclosure agreement, expressly prescribing the scope and
10 // manner of such use.
11 //
12 // $Id: 5dd7ddfa9ffdb6921c77117af6a16708a32234da $
13 //
14 
16 
21 #ifndef HBINFILETKHEADER
22 #define HBINFILETKHEADER
23 
24 #ifndef __cplusplus
25 #error C++ compiler required
26 #endif
27 
28 #ifndef DOXYGEN_SHOULD_SKIP_THIS
29 
30 #ifdef _MSC_VER
31  #ifndef HSTREAM_STATIC_LIB
32  #ifdef HBINFILETK_EXPORTS
33  #define HBINFILETK_API2 __declspec (dllexport)
34  #else
35  #define HBINFILETK_API2 __declspec (dllimport)
36  #endif
37  #else
38  #ifndef BSTREAM_STATIC_LIB
39  #define BSTREAM_STATIC_LIB
40  #endif
41  #define HBINFILETK_API2
42  #endif
43 #else
44  #define HBINFILETK_API2
45 #endif
46 
47 
48 #ifdef TEST_RIG_1
49  #define HBINFILETK_API
50 #else
51  #define HBINFILETK_API HBINFILETK_API2
52 #endif
53 
54 
55 #ifdef HSTREAM_READONLY
56  #ifndef BSTREAM_READONLY
57  #define BSTREAM_READONLY
58  #endif
59 #endif
60 
61 
62 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
63 
64 #include "BStream.h"
65 #include "hc.h"
66 
67 #include "HOpcodeHandler.h"
68 #include "HStreamFileToolkit.h"
69 
70 //#include "utf_utils.h"
71 
76 
85 #ifndef SWIG
86 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, HStreamFileToolkit * tk);
87 #endif
88 
90 
97 #ifndef SWIG
98 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, int flags = 0);
99 #endif
100 
101 
103 
109 TK_Status HBINFILETK_API HTK_Read_Stream_File (__wchar_t const * filename, HStreamFileToolkit * tk);
110 #ifdef H_USHORT_OVERLOAD
111 TK_Status HBINFILETK_API HTK_Read_Stream_File (unsigned short const * filename, HStreamFileToolkit * tk);
112 #endif
113 
115 
122 TK_Status HBINFILETK_API HTK_Read_Stream_File (__wchar_t const * filename, int flags = 0);
123 #ifdef _MSC_VER
124 TK_Status HBINFILETK_API HTK_Read_Stream_File (unsigned short const * filename, int flags = 0);
125 #endif
126 
127 
129 
134 #ifndef SWIG
135 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, int flags, HStreamFileToolkit * tk);
136 #endif
137 
146 
155 #ifndef SWIG
156 TK_Status HBINFILETK_API HTK_Write_Stream_File (char const * filename, HStreamFileToolkit * tk);
157 #endif
158 
159 
160 
162 
169 #ifndef SWIG
170 TK_Status HBINFILETK_API HTK_Write_Stream_File (char const * filename, int flags = 0);
171 #endif
172 
173 
174 
176 
184 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (__wchar_t const * filename, HStreamFileToolkit * tk);
185 #ifdef H_USHORT_OVERLOAD
186 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (unsigned short const * filename, HStreamFileToolkit * tk);
187 #endif
188 
189 
191 
198 TK_Status HBINFILETK_API HTK_Write_Stream_File (__wchar_t const * filename, int flags = 0);
199 #ifdef H_USHORT_OVERLOAD
200 TK_Status HBINFILETK_API HTK_Write_Stream_File (unsigned short const * filename, int flags = 0);
201 #endif
202 
203 
204 
206 
211 #ifndef SWIG
212 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (char const * filename, int flags, HStreamFileToolkit * tk);
213 #endif
214 
215 #endif
216 
The HStreamFileToolkit class provides support for exporting/importing HOOPS Stream File information f...
Definition: HStreamFileToolkit.h:141
TK_Status
Codes which can be either passed to various toolkit functions, or indicate the result of a toolkit fu...
Definition: BStream.h:237
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.