Open Inventor Reference
SoInputFile Struct 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.
 
SbDictrefDict
 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.
 
SoDBHeaderCBpostReadCB
 CB to be called after reading file.
 
void * CBData
 User data to pass to the postReadCB.
 

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: