dirac::InputStreamBuffer Class Reference

Input Stream Buffer Class. More...

#include <dirac_cppparser.h>

List of all members.

Public Member Functions

 InputStreamBuffer ()
 Constructor.
 ~InputStreamBuffer ()
 Destructor.
std::ios::pos_type Rewind ()
 Rewind buffer to start of data.
std::ios::pos_type Seek (std::ios::pos_type bytes, std::ios::seekdir pos=std::ios::cur)
 Seek to position specified by bytes offset from pos.
std::ios::pos_type Tell ()
 Return the current read position in the buffer.
void Copy (char *start, int bytes)
 Copy data into buffer.
void PurgeProcessedData ()
 Delete all processed data from buffer.


Detailed Description

Input Stream Buffer Class.

Definition at line 54 of file dirac_cppparser.h.


Member Function Documentation

void InputStreamBuffer::Copy char *  start,
int  bytes
 

Copy data into buffer.

Copy take

Parameters:
start memory area start
bytes number of bytes to copy starting from start

Definition at line 93 of file dirac_cppparser.cpp.

Referenced by dirac::DiracParser::SetBuffer().

std::ios::pos_type InputStreamBuffer::Seek std::ios::pos_type  bytes,
std::ios::seekdir  pos = std::ios::cur
 

Seek to position specified by bytes offset from pos.

Seek takes

Parameters:
bytes offset in bytes
pos the position from which the offset is applied

Definition at line 67 of file dirac_cppparser.cpp.

Referenced by dirac::DiracParser::Parse(), and Rewind().


The documentation for this class was generated from the following files:
Generated on Tue Dec 13 14:49:23 2005 for guliverkli by  doxygen 1.4.5