rutz::imembuf Class Reference

An input streambuf that reads from memory. More...

#include <rutz/cstrstream.h>

List of all members.

Public Member Functions

 imembuf (const char *s)
 Create using the given char array as the input buffer.
 imembuf (const char *s, unsigned int len)
 Create using the given char array and length as the input buffer.
void make_owning ()
virtual ~imembuf ()
 Destructor.
virtual int underflow ()
 Underflow operation.


Detailed Description

An input streambuf that reads from memory.

Definition at line 49 of file cstrstream.h.


Member Function Documentation

int rutz::imembuf::underflow (  )  [virtual]

Underflow operation.

Since there's no "external data source", if we've come to the end of our current buffer, then we're just plain out of data.

Definition at line 74 of file cstrstream.cc.


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

The software described here is Copyright (c) 1998-2005, Rob Peters.
This page was generated Wed Dec 3 06:56:32 2008 by Doxygen version 1.5.5.