Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Ramfile Class Reference

#include <buffer.h>

List of all members.

Public Member Functions

 Ramfile ()
string readline ()
 Assumes the stream represents a text file, and extracts one line up to and including the trailing newline character.


Public Attributes

size_t _pos
string _data


Constructor & Destructor Documentation

Ramfile::Ramfile void   )  [inline]
 

Definition at line 42 of file buffer.I.


Member Function Documentation

string Ramfile::readline  ) 
 

Assumes the stream represents a text file, and extracts one line up to and including the trailing newline character.

Returns empty string when the end of file is reached.

The interface here is intentionally designed to be similar to that for Python's File.readline() function.

Definition at line 78 of file buffer.cxx.


Member Data Documentation

string Ramfile::_data
 

Definition at line 70 of file buffer.h.

size_t Ramfile::_pos
 

Definition at line 69 of file buffer.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:54:33 2003 for Panda by doxygen1.3