antlr3filestream.h File Reference

#include <antlr3defs.h>

Include dependency graph for antlr3filestream.h:

This graph shows which files directly or indirectly include this file:


Functions

ANTLR3_API void antlr3Fclose (ANTLR3_FDSC fd)
 Close an operating system file and free any handles etc.
ANTLR3_API ANTLR3_FDSC antlr3Fopen (pANTLR3_UINT8 filename, const char *mode)
 Open an operating system file and return the descriptor We just use the common open() and related functions here.
ANTLR3_API ANTLR3_UINT32 antlr3Fread (ANTLR3_FDSC fdsc, ANTLR3_UINT32 count, void *data)
ANTLR3_API ANTLR3_UINT32 antlr3Fsize (pANTLR3_UINT8 filename)
ANTLR3_API ANTLR3_UINT32 antlr3read8Bit (pANTLR3_INPUT_STREAM input, pANTLR3_UINT8 fileName)

Function Documentation

ANTLR3_API void antlr3Fclose ( ANTLR3_FDSC  fd  ) 

Close an operating system file and free any handles etc.

Referenced by antlr3read8Bit().

Here is the caller graph for this function:

ANTLR3_API ANTLR3_FDSC antlr3Fopen ( pANTLR3_UINT8  filename,
const char *  mode 
)

Open an operating system file and return the descriptor We just use the common open() and related functions here.

Later we might find better ways on systems such as Windows and OpenVMS for instance. But the idea is to read the while file at once anyway, so it may be irrelevant.

Referenced by antlr3read8Bit().

Here is the caller graph for this function:

ANTLR3_API ANTLR3_UINT32 antlr3Fread ( ANTLR3_FDSC  fdsc,
ANTLR3_UINT32  count,
void *  data 
)

Referenced by antlr3read8Bit().

Here is the caller graph for this function:

ANTLR3_API ANTLR3_UINT32 antlr3Fsize ( pANTLR3_UINT8  filename  ) 

References _stat.

Referenced by antlr3read8Bit().

Here is the caller graph for this function:

ANTLR3_API ANTLR3_UINT32 antlr3read8Bit ( pANTLR3_INPUT_STREAM  input,
pANTLR3_UINT8  fileName 
)


Generated on Mon Nov 29 17:23:10 2010 for ANTLR3C by  doxygen 1.5.5