36 #include <dime/Basic.h> 37 #include <dime/util/Array.h> 39 #define DXF_MAXLINELEN 4096 47 bool setFileHandle(FILE *fp);
48 bool setFile(
const char *
const filename);
49 bool setFilePointer(
const int fd);
51 void setCallback(
int (*cb)(
float,
void *),
void *cbdata);
52 float relativePosition();
54 void putBackGroupCode(
const int32 code);
55 bool readGroupCode(int32 &code);
56 bool readInt8(int8 &val);
57 bool readInt16(int16 &val);
58 bool readInt32(int32 &val);
59 bool readFloat(
float &val);
60 bool readDouble(dxfdouble &val);
61 const char *readString();
62 const char *readStringNoSkip();
67 int getFilePosition()
const;
69 bool isBinary()
const;
70 int getVersion()
const;
71 bool isAborted()
const;
88 #endif // ! USE_GZFILE 97 char lineBuf[DXF_MAXLINELEN];
100 int (*callback)(float,
void*);
112 void putBack(
const char c);
113 void putBack(
const char *
const string);
116 bool skipWhiteSpace();
118 bool readInteger(
long &l);
119 bool readUnsignedInteger(
unsigned long &l);
120 bool readUnsignedIntegerString(
char *
const str);
121 int readDigits(
char *
const string);
122 int readHexDigits(
char *
const string);
123 int readChar(
char *
const string,
char charToRead);
124 bool readReal(dxfdouble &d);
128 #endif // ! DIME_INPUT_H
The dimeMemHandler class is a special-purpose memory manager.
Definition: MemHandler.h:38
bool read(dimeInput *const in)
Definition: Model.cpp:189
bool init()
Definition: Model.cpp:164
The dimeModel class organizes a model.
Definition: Model.h:54