Alphabetical Class Index   Class Hierarchy   Compound Members   File Members   File List  

HStream.h
Go to the documentation of this file.
1 // Copyright (c) 1998-2014 by 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 
43 #ifdef TEST_RIG_1
44  #define HBINFILETK_API
45 #else
46  #define HBINFILETK_API HBINFILETK_API2
47 #endif
48 
49 
50 #ifdef HSTREAM_READONLY
51  #ifndef BSTREAM_READONLY
52  #define BSTREAM_READONLY
53  #endif
54 #endif
55 
56 
57 #endif /* DOXYGEN_SHOULD_SKIP_THIS */
58 
59 #include "BStream.h"
60 #include "hc.h"
61 
62 #include "HOpcodeHandler.h"
63 #include "HStreamFileToolkit.h"
64 
65 //#include "utf_utils.h"
66 
71 
80 #ifndef SWIG
81 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, HStreamFileToolkit * tk);
82 #endif
83 
85 
92 #ifndef SWIG
93 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, int flags = 0);
94 #endif
95 
96 
98 
104 TK_Status HBINFILETK_API HTK_Read_Stream_File (__wchar_t const * filename, HStreamFileToolkit * tk);
105 #ifdef _MSC_VER
106 TK_Status HBINFILETK_API HTK_Read_Stream_File (unsigned short const * filename, HStreamFileToolkit * tk);
107 #endif
108 
110 
117 TK_Status HBINFILETK_API HTK_Read_Stream_File (__wchar_t const * filename, int flags = 0);
118 #ifdef _MSC_VER
119 TK_Status HBINFILETK_API HTK_Read_Stream_File (unsigned short const * filename, int flags = 0);
120 #endif
121 
122 
124 
129 #ifndef SWIG
130 TK_Status HBINFILETK_API HTK_Read_Stream_File (char const * filename, int flags, HStreamFileToolkit * tk);
131 #endif
132 
141 
150 #ifndef SWIG
151 TK_Status HBINFILETK_API HTK_Write_Stream_File (char const * filename, HStreamFileToolkit * tk);
152 #endif
153 
154 
155 
157 
164 #ifndef SWIG
165 TK_Status HBINFILETK_API HTK_Write_Stream_File (char const * filename, int flags = 0);
166 #endif
167 
168 
169 
171 
179 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (__wchar_t const * filename, HStreamFileToolkit * tk);
180 #ifdef _MSC_VER
181 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (unsigned short const * filename, HStreamFileToolkit * tk);
182 #endif
183 
184 
186 
193 TK_Status HBINFILETK_API HTK_Write_Stream_File (__wchar_t const * filename, int flags = 0);
194 #ifdef _MSC_VER
195 TK_Status HBINFILETK_API HTK_Write_Stream_File (unsigned short const * filename, int flags = 0);
196 #endif
197 
198 
199 
201 
206 #ifndef SWIG
207 TK_Status HBINFILETK_API2 HTK_Write_Stream_File (char const * filename, int flags, HStreamFileToolkit * tk);
208 #endif
209 
210 #endif
211 
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:242
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.