Functions

GUIDOParse.h File Reference

Go to the source code of this file.

Functions

GuidoParser * GuidoOpenParser ()
 Creates a new parser.
GuidoErrCode GuidoCloseParser (GuidoParser *p)
 Close a guido parser and releases all the associated ressources.
const char * GuidoGetStream (GuidoStream *gStream)
 returns the string of the GuidoStream
ARHandler GuidoFile2AR (GuidoParser *p, const char *file)
 Parse a file and create the corresponding AR.
ARHandler GuidoString2AR (GuidoParser *p, const char *str)
 Parse a string and create the corresponding AR.
ARHandler GuidoStream2AR (GuidoParser *p, GuidoStream *stream)
 Parse a GuidoStream and create the corresponding AR.
GuidoErrCode GuidoParserGetErrorCode (GuidoParser *p, int &line, int &col, const char **msg)
 Get the error syntax line/column.
GuidoStream * GuidoOpenStream ()
 Open a guido stream.
GuidoErrCode GuidoCloseStream (GuidoStream *s)
 Close a guido stream.
GuidoErrCode GuidoWriteStream (GuidoStream *s, const char *str)
 Write data to the stream.
GuidoErrCode GuidoResetStream (GuidoStream *s)
 Erase all stream content in order to reuse it.