Open Inventor Reference
SoInputFile Struct Reference

Structure: SoInputFile (internal) More...

#include <Inventor/SoInput.h>

Public Member Functions

 SoInputFile ()
 Too complex for inlining. More...
 

Public Attributes

SbString name
 Name of file. More...
 
SbString fullName
 Name of file with full path. More...
 
FILE * fp
 File pointer. More...
 
void * buffer
 Buffer to read from (or NULL) More...
 
char * curBuf
 Current location in buffer. More...
 
size_t bufSize
 Buffer size. More...
 
int lineNum
 Number of line currently reading. More...
 
bool openedHere
 TRUE if opened by SoInput. More...
 
bool binary
 TRUE if file has binary data. More...
 
bool readHeader
 TRUE if header was checked for A/B. More...
 
bool headerOk
 TRUE if header was read ok. More...
 
SbDictrefDict
 Node/path reference dictionary. More...
 
bool borrowedDict
 TRUE if dict from another SoInput. More...
 
float ivVersion
 Version if standard Inventor file;. More...
 
SbString headerString
 The header string of the input file. More...
 
SoDBHeaderCBpostReadCB
 CB to be called after reading file. More...
 
void * CBData
 User data to pass to the postReadCB. More...
 

Detailed Description

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).

Definition at line 85 of file SoInput.h.

Constructor & Destructor Documentation

◆ SoInputFile()

SoInputFile::SoInputFile ( )

Member Data Documentation

◆ binary

bool SoInputFile::binary

Definition at line 94 of file SoInput.h.

◆ borrowedDict

bool SoInputFile::borrowedDict

Definition at line 98 of file SoInput.h.

◆ buffer

void* SoInputFile::buffer

Definition at line 89 of file SoInput.h.

◆ bufSize

size_t SoInputFile::bufSize

Definition at line 91 of file SoInput.h.

◆ CBData

void* SoInputFile::CBData

Definition at line 102 of file SoInput.h.

◆ curBuf

char* SoInputFile::curBuf

Definition at line 90 of file SoInput.h.

◆ fp

FILE* SoInputFile::fp

Definition at line 88 of file SoInput.h.

◆ fullName

SbString SoInputFile::fullName

Definition at line 87 of file SoInput.h.

◆ headerOk

bool SoInputFile::headerOk

Definition at line 96 of file SoInput.h.

◆ headerString

SbString SoInputFile::headerString

Definition at line 100 of file SoInput.h.

◆ ivVersion

float SoInputFile::ivVersion

Definition at line 99 of file SoInput.h.

◆ lineNum

int SoInputFile::lineNum

Definition at line 92 of file SoInput.h.

◆ name

SbString SoInputFile::name

Definition at line 86 of file SoInput.h.

◆ openedHere

bool SoInputFile::openedHere

Definition at line 93 of file SoInput.h.

◆ postReadCB

SoDBHeaderCB* SoInputFile::postReadCB

Definition at line 101 of file SoInput.h.

◆ readHeader

bool SoInputFile::readHeader

Definition at line 95 of file SoInput.h.

◆ refDict

SbDict* SoInputFile::refDict

Definition at line 97 of file SoInput.h.


The documentation for this struct was generated from the following file: