Open Inventor Reference
|
Structure: SoInputFile (internal) More...
#include <Inventor/SoInput.h>
Public Member Functions | |
SoInputFile () | |
Too complex for inlining. | |
Public Attributes | |
SbString | name |
Name of file. | |
SbString | fullName |
Name of file with full path. | |
FILE * | fp |
File pointer. | |
void * | buffer |
Buffer to read from (or NULL) | |
char * | curBuf |
Current location in buffer. | |
size_t | bufSize |
Buffer size. | |
int | lineNum |
Number of line currently reading. | |
bool | openedHere |
TRUE if opened by SoInput. | |
bool | binary |
TRUE if file has binary data. | |
bool | readHeader |
TRUE if header was checked for A/B. | |
bool | headerOk |
TRUE if header was read ok. | |
SbDict * | refDict |
Node/path reference dictionary. | |
bool | borrowedDict |
TRUE if dict from another SoInput. | |
float | ivVersion |
Version if standard Inventor file;. | |
SbString | headerString |
The header string of the input file. | |
SoDBHeaderCB * | postReadCB |
CB to be called after reading file. | |
void * | CBData |
User data to pass to the postReadCB. | |
This structure holds info about an opened file for use in the SoInput class.
One of the items is a dictionary that correlates reference names in files to nodes and paths (SoBase instances).
SoInputFile::SoInputFile | ( | ) |
SoDBHeaderCB* SoInputFile::postReadCB |