#include <BufferWriter.h>
Collaboration diagram for Arxx::BufferWriter:
Public Member Functions | |
BufferWriter (Arxx::Buffer &Buffer, Arxx::Buffer::size_type stPosition=Arxx::Buffer::Marker::END) | |
The BufferWriter constructor. | |
void | vWrite (Arxx::Buffer::size_type stDataLength, Arxx::Buffer::const_pointer Data=0) |
Write a block of data at the writer's position in the buffer. | |
Arxx::Buffer & | GetBuffer (void) |
Returns the associated Arxx::Buffer object. | |
const Arxx::Buffer & | GetBuffer (void) const |
Returns the associated Arxx::Buffer object. | |
Arxx::Buffer::size_type | stGetPosition (void) const |
Returns the marker's position. | |
void | vSetPosition (Arxx::Buffer::size_type stPosition) |
Sets the marker's position. | |
Private Attributes | |
Arxx::Buffer & | m_Buffer |
Arxx::Buffer::Marker | m_Marker |
Arxx::BufferWriter::BufferWriter | ( | Arxx::Buffer & | Buffer, | |
Arxx::Buffer::size_type | stPosition = Arxx::Buffer::Marker::END | |||
) |
const Arxx::Buffer & Arxx::BufferWriter::GetBuffer | ( | void | ) | const |
Arxx::Buffer & Arxx::BufferWriter::GetBuffer | ( | void | ) |
Arxx::Buffer::size_type Arxx::BufferWriter::stGetPosition | ( | void | ) | const |
Returns the marker's position.
void Arxx::BufferWriter::vSetPosition | ( | Arxx::Buffer::size_type | stPosition | ) |
Sets the marker's position.
void Arxx::BufferWriter::vWrite | ( | Arxx::Buffer::size_type | stDataLength, | |
Arxx::Buffer::const_pointer | Data = 0 | |||
) |
Arxx::Buffer& Arxx::BufferWriter::m_Buffer [private] |