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.


Constructor & Destructor Documentation

rutz::imembuf::imembuf ( const char *  s  ) 

Create using the given char array as the input buffer.

Definition at line 39 of file cstrstream.cc.

rutz::imembuf::imembuf ( const char *  s,
unsigned int  len 
)

Create using the given char array and length as the input buffer.

Definition at line 49 of file cstrstream.cc.

rutz::imembuf::~imembuf (  )  [virtual]

Destructor.

Definition at line 70 of file cstrstream.cc.


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 75 of file cstrstream.cc.


The documentation for this class was generated from the following files:
Generated on Sun May 8 08:44:43 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3