Marsyas  0.5.0-beta1
Public Member Functions | Static Public Attributes
Buffer Class Reference

#include <ExScanner.h>

Inherited by UTF8Buffer.

Public Member Functions

 Buffer (FILE *s, bool isUserStream)
 Buffer (const char *s)
 Buffer (Buffer *b)
virtual void Close ()
virtual int GetPos ()
virtual char * GetString (int beg, int end)
virtual int Peek ()
virtual int Read ()
virtual void SetPos (int value)
virtual ~Buffer ()

Static Public Attributes

static const int EoF = 65535 + 1

Detailed Description

Definition at line 79 of file ExScanner.h.

Constructor & Destructor Documentation

Buffer ( FILE *  s,
bool  isUserStream 

Definition at line 180 of file ExScanner.cpp.

Buffer ( const char *  s)

Definition at line 166 of file ExScanner.cpp.

Buffer ( Buffer b)

Definition at line 191 of file ExScanner.cpp.

~Buffer ( ) [virtual]

Definition at line 203 of file ExScanner.cpp.

Member Function Documentation

void Close ( ) [virtual]

Definition at line 211 of file ExScanner.cpp.

int GetPos ( ) [virtual]

Definition at line 246 of file ExScanner.cpp.

char * GetString ( int  beg,
int  end 
) [virtual]

Definition at line 236 of file ExScanner.cpp.

int Peek ( ) [virtual]

Definition at line 229 of file ExScanner.cpp.

int Read ( ) [virtual]

Reimplemented in UTF8Buffer.

Definition at line 218 of file ExScanner.cpp.

void SetPos ( int  value) [virtual]

Definition at line 250 of file ExScanner.cpp.

Field Documentation

const int EoF = 65535 + 1 [static]

Definition at line 90 of file ExScanner.h.

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