27#include <Inventor/system/inttypes.h>
28#include <Inventor/SbBasic.h>
29#include <Inventor/lists/SbList.h>
33 #include <Inventor/SoDB.h>
34 #include <Inventor/SbDict.h>
36 #define COIN_ALLOW_SBDICT
37 #include <Inventor/SbDict.h>
38 #undef COIN_ALLOW_SBDICT
48class SoInput_FileInfo;
74 virtual SbBool
openFile(
const char * fileName, SbBool okIfNotFound = FALSE);
75 virtual SbBool
pushFile(
const char * fileName);
81 virtual void setBuffer(
void * bufpointer,
size_t bufsize);
88 virtual SbBool
get(
char & c);
91 virtual SbBool
readHex(uint32_t & l);
92 virtual SbBool
read(
char & c);
93 virtual SbBool
read(
char & c, SbBool skip);
95 virtual SbBool
read(
SbName & n, SbBool validIdent = FALSE);
96 virtual SbBool
read(
int & i);
97 virtual SbBool
read(
unsigned int & i);
98 virtual SbBool
read(
short & s);
99 virtual SbBool
read(
unsigned short & s);
100 virtual SbBool
read(
float & f);
101 virtual SbBool
read(
double & d);
108 virtual SbBool
eof(
void)
const;
115 virtual void putBack(
const char c);
116 virtual void putBack(
const char * str);
118 SbBool addToGlobalDict = TRUE);
125 const char * separator =
":\t ");
127 const char * separator =
":\t ");
132 static void init(
void);
150 SbBool
checkHeader(SbBool bValidateBufferHeader = FALSE);
160 int readChar(
char * str,
char charToRead);
172 char *
URLToFile(
char * out_buf,
const char * in_buf);
173 SbBool
IsURL(
const char * c_strng);
179 friend class SoInputP;
181 static void clean(
void);
182 void constructorsCommon(
void);
184 static void addDirectoryIdx(
const int idx,
const char * dirName);
185 static void addEnvDirectoriesIdx(
int startidx,
const char * envVarName,
186 const char * separator);
190 SoInput_FileInfo * getTopOfStack(
void)
const {
191 return this->filestack[0];
The SbDict class organizes a dictionary of keys and values.
Definition SbDict.h:47
The SbList class is a template container class for lists.
Definition SbList.h:47
The SbName class stores strings by reference.
Definition SbName.h:31
The SbStringList class is a container for arrays of SbString pointers.
Definition SbStringList.h:31
The SbString class is a string class with convenience functions for string operations.
Definition SbString.h:42
The SbTime class instances represents time values.
Definition SbTime.h:41
The SoBase class is the top-level superclass for a number of class-hierarchies.
Definition SoBase.h:41
The SoFieldContainer class is a base class for all classes that contain fields.
Definition SoFieldContainer.h:35
The SoField class is the top-level abstract base class for fields.
Definition SoField.h:38