BufferOutputStream Class Reference

#include <memstream.h>

Public Member Functions

std::size_t write (const char *buffer, std::size_t length)
const char * data () const
std::size_t size () const
void clear ()

Private Attributes

std::vector< char > m_buffer

Detailed Description

Definition at line 30 of file memstream.h.


Member Function Documentation

void BufferOutputStream::clear (  )  [inline]

Definition at line 43 of file memstream.h.

References m_buffer, and std::swap().

const char* BufferOutputStream::data (  )  const [inline]

Definition at line 37 of file memstream.h.

References m_buffer.

std::size_t BufferOutputStream::size (  )  const [inline]

Definition at line 40 of file memstream.h.

References m_buffer.

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

Definition at line 33 of file memstream.h.

References m_buffer.


Field Documentation

std::vector<char> BufferOutputStream::m_buffer [private]

Definition at line 31 of file memstream.h.

Referenced by clear(), data(), size(), and write().


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

Generated by  doxygen 1.6.2