Public Member Functions

ots::ExpandingMemoryStream Class Reference

#include <ots-memory-stream.h>

Inheritance diagram for ots::ExpandingMemoryStream:
Collaboration diagram for ots::ExpandingMemoryStream:

List of all members.

Public Member Functions

 ExpandingMemoryStream (size_t initial, size_t limit)
 ~ExpandingMemoryStream ()
void * get () const
bool WriteRaw (const void *data, size_t length)
bool Seek (off_t position)
off_t Tell () const

Constructor & Destructor Documentation

ots::ExpandingMemoryStream::ExpandingMemoryStream ( size_t  initial,
size_t  limit 
) [inline]
ots::ExpandingMemoryStream::~ExpandingMemoryStream (  )  [inline]

Member Function Documentation

void* ots::ExpandingMemoryStream::get (  )  const [inline]
bool ots::ExpandingMemoryStream::Seek ( off_t  position  )  [inline, virtual]

Implements ots::OTSStream.

off_t ots::ExpandingMemoryStream::Tell (  )  const [inline, virtual]

Implements ots::OTSStream.

bool ots::ExpandingMemoryStream::WriteRaw ( const void *  data,
size_t  length 
) [inline, virtual]

Implements ots::OTSStream.

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