24 #ifndef FXPARSEBUFFER_H 25 #include "FXParseBuffer.h" 90 Error saveVariant(
const FXVariant& section);
91 Error saveSection(
const FXString& str);
93 Error saveString(
const FXString& str);
95 static const FXchar *
const errors[];
110 FXINI(FXchar* buffer,FXuval sz=8192,Direction d=Load);
116 FXbool open(FXchar* buffer,FXuval sz=8192,Direction d=Load);
156 FXuchar getNumericPrecision()
const {
return prec; }
169 FXuchar getNumericFormat()
const {
return fmt; }
178 FXuchar getEscapeMode()
const {
return esc; }
Expected closing quote.
Definition: FXINI.h:74
Expected comma ','.
Definition: FXINI.h:70
A Variant type can hold any kind of object, be it a boolean, integer, real, string, or even array of Variants or dictionaries of variants.
Definition: FXVariant.h:44
Expected closing brace.
Definition: FXINI.h:72
Expected closing quotes.
Definition: FXINI.h:73
Expected closing bracket.
Definition: FXINI.h:71
FXint getLine() const
Return current line number.
Definition: FXINI.h:121
void setEscapeMode(FXuchar e)
Change string escape mode; 0=don't escape unicode in strings; 1=escape unicode as ...
Definition: FXINI.h:177
Unable to save.
Definition: FXINI.h:66
FXint getColumn() const
Return current column number.
Definition: FXINI.h:126
static const FXchar * getError(Error err)
Returns error code for given error.
Definition: FXINI.h:148
Expected colon ':'.
Definition: FXINI.h:69
Unable to load.
Definition: FXINI.h:67
void setNumericPrecision(FXuchar p)
Floating point output precision control.
Definition: FXINI.h:155
Definition: FX4Splitter.h:28
The FXINI class loads or saves an FXVariant to an .INI text file.
Definition: FXINI.h:61
Illegal token.
Definition: FXINI.h:68
void setNumericFormat(FXuchar f)
Floating point output format control.
Definition: FXINI.h:168
Error
Definition: FXINI.h:63
FXParseBuffer manages pointers to a buffer for various file format parsers.
Definition: FXParseBuffer.h:34
FXlong getOffset() const
Return offset from begin of file.
Definition: FXINI.h:131
No errors.
Definition: FXINI.h:65
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42