
Contains definitions of global variables, functions and enumerated types. More...
#include <cmath>#include <cstring>#include <cstdio>#include "BOpcodeHandler.h"#include "BStreamFileToolkit.h"Go to the source code of this file.
Macros | |
| #define | __wchar_t wchar_t |
| #define | alter |
| complementary to const, indicates we thought about it instead of a forgotten "const" | |
| #define | BBINFILETK_API BBINFILETK_API2 |
| #define | BBINFILETK_API2 |
| #define | ID_Key long |
| #define | TK_DEFAULT_BUFFER_SIZE 32768 |
| default amount of the internal memory buffer used for file processing | |
| #define | TK_File_Format_Version 2065 |
Functions | |
| template<typename T > | |
| void | Swap (T &a, T &b) |
| TK_Status BBINFILETK_API | TK_Read_Stream_File (char const *filename, BStreamFileToolkit *tk) |
| Reads a HOOPS Stream File. More... | |
| TK_Status BBINFILETK_API | TK_Read_Stream_File (char const *filename, int flags=0) |
| Reads a HOOPS Stream File. More... | |
| TK_Status BBINFILETK_API | TK_Read_Stream_File (__wchar_t const *filename, BStreamFileToolkit *tk) |
| TK_Status BBINFILETK_API | TK_Read_Stream_File (__wchar_t const *filename, int flags=0) |
| TK_Status BBINFILETK_API | TK_Read_Stream_File (char const *filename, int flags, BStreamFileToolkit *tk) |
| Deprecated; reads a HOOPS Stream File More... | |
Variables | |
| BBINFILETK_API int | TK_File_Format_History [] |
| Table of format changes, commented values are informational (were never included in a release,. | |
Contains definitions of global variables, functions and enumerated types.
The HOOPS/Stream Toolkit utilizes several global enumerated types. The functions which black box support for writing and reading HOOPS Stream Files are also global, and are defined in BStream.h
| #define ID_Key long |
ID_Key is just a pointer sized long integer by which it is assumed that the graphics system can uniquely identify its contents. Declared as 64-bit on win64 systems because a long is not big enough to store a pointer there (unlike all other 64-bit systems we have supported in the past
| #define TK_File_Format_Version 2065 |
the HSF specification version that this toolkit supports (along with any previous versions)
Referenced by BStreamFileToolkit::SetTargetVersion().
| enum TK_File_Read_Options |
Options which control how the HOOPS Stream File is read
Options which control how the HOOPS Stream File is generated.
An HSF file has a variety of properties, and the toolkit utilizes default logic when generating a file. This enumerated type gives the user high-level control over file compression, tagging and content. These options are set by calling BStreamFileToolkit::SetWriteFlags
| enum TK_General_Flags |