#include <BufferReader.h>
Collaboration diagram for Arxx::BufferReader:

| Public Member Functions | |
| BufferReader (const Arxx::Buffer &Buffer, Arxx::Buffer::size_type stPosition=Arxx::Buffer::Marker::BEGIN) | |
| Arxx::Buffer::size_type | stRead (Arxx::Buffer::size_type stLength, Arxx::Buffer::pointer Buffer) | 
| This functions allows to get more than one byte at a time from the buffer. | |
| 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 | |
| const Arxx::Buffer & | m_Buffer | 
| Arxx::Buffer::Marker | m_Marker | 
| Arxx::BufferReader::BufferReader | ( | const Arxx::Buffer & | Buffer, | |
| Arxx::Buffer::size_type | stPosition = Arxx::Buffer::Marker::BEGIN | |||
| ) | 
libarxx - Advanced Resource files in C++ Copyright (C) 2005 Hagen Möbius
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
| const Arxx::Buffer & Arxx::BufferReader::GetBuffer | ( | void | ) | const | 
Returns the associated Arxx::Buffer object.
| Arxx::Buffer::size_type Arxx::BufferReader::stGetPosition | ( | void | ) | const | 
Returns the marker's position.
| Arxx::Buffer::size_type Arxx::BufferReader::stRead | ( | Arxx::Buffer::size_type | stLength, | |
| Arxx::Buffer::pointer | Buffer | |||
| ) | 
This functions allows to get more than one byte at a time from the buffer.
| stLength | The length of the chunk of data you wish to read from the buffer. | |
| Buffer | Not a Buffer but a buffer, an address of a block of memory. | 
This function does not give you access to the content of the buffer but creates of copy of it.
| void Arxx::BufferReader::vSetPosition | ( | Arxx::Buffer::size_type | stPosition | ) | 
Sets the marker's position.
| const Arxx::Buffer& Arxx::BufferReader::m_Buffer  [private] | 
 1.4.7
 1.4.7