laFileParser Class Reference

File Parser. More...

#include <laFileParser.h>

Public Member Functions

 laFileParser (char *strFile)
char * getFileName ()
FILE * getFile ()
FILE * fileOpen (char *strFile)
void fileClose ()
FILE * fileGet ()
void ctlHaltOnErrors (M_BOOL bHalt)
void ctlGetSeparators (char *sep)
void ctlSetSeparators (char *sep)
void ctlGetTextSep (char *ts)
void ctlSetTextSep (char *ts)
void ctlGetSectionSep (char *ss)
void ctlSetSectionSep (char *ss)
void readLabel (char *buf=NULL)
void readSectionSeparator (char *buf=NULL)
void readInt (int *var, M_BOOL labeled=M_TRUE)
void readUnsigned (unsigned *var, M_BOOL labeled=M_TRUE)
void readDouble (double *var, M_BOOL labeled=M_TRUE)
void readText (char *var, M_BOOL labeled=M_TRUE)
void readBool (M_BOOL *var, M_BOOL labeled=M_TRUE)
void readObj (laLoadableObj *obj, M_BOOL labeled=M_TRUE)

Protected Attributes

char _strFileName [128]
FILE * _pFile
char _strSeparators [64]
char _cTextSep [2]
char _cSectSep [2]
M_BOOL _bHaltOnErrors

Detailed Description

File Parser.

Copyright (C) 2007-2013 Atanas Laskov, latan.nosp@m.as@g.nosp@m.mail..nosp@m.com

Definition at line 41 of file laFileParser.h.

The documentation for this class was generated from the following files: