BufferInputStream Class Reference

#include <memstream.h>

Inheritance diagram for BufferInputStream:
Inheritance graph
[legend]
Collaboration diagram for BufferInputStream:
Collaboration graph
[legend]

Public Member Functions

 BufferInputStream (const char *buffer, std::size_t length)
 BufferInputStream (const std::string &buffer)
std::size_t read (char *buffer, std::size_t length)

Private Attributes

const char * m_read
const char * m_end

Detailed Description

Definition at line 55 of file memstream.h.


Constructor & Destructor Documentation

BufferInputStream::BufferInputStream ( const char *  buffer,
std::size_t  length 
) [inline]

Definition at line 59 of file memstream.h.

BufferInputStream::BufferInputStream ( const std::string buffer  )  [inline]

Definition at line 63 of file memstream.h.


Member Function Documentation

std::size_t BufferInputStream::read ( char *  buffer,
std::size_t  length 
) [inline]

Definition at line 66 of file memstream.h.

References count, m_end, and m_read.


Field Documentation

const char* BufferInputStream::m_end [private]

Definition at line 57 of file memstream.h.

Referenced by read().

const char* BufferInputStream::m_read [private]

Definition at line 56 of file memstream.h.

Referenced by read().


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

Generated by  doxygen 1.6.2