Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

rutz::imembuf Class Reference

#include <rutz/cstrstream.h>

List of all members.


Detailed Description

An input streambuf that reads from memory.

Definition at line 49 of file cstrstream.h.

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.


Constructor & Destructor Documentation

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

Create using the given char array as the input buffer.

Definition at line 38 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 48 of file cstrstream.cc.

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

Destructor.

Definition at line 69 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 74 of file cstrstream.cc.


The documentation for this class was generated from the following files:
Generated on Mon Nov 23 15:57:24 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4