Oxygine  1
2g game engine
Public Types | Public Member Functions | Public Attributes | List of all members
oxygine::file::buffer Class Reference

#include <file.h>

Public Types

typedef unsigned char uchar
 
typedef std::vector< uchar > buff
 

Public Member Functions

uchar & front ()
 
const uchar & front () const
 
uchar & back ()
 
const uchar & back () const
 
uchar & operator[] (size_t i)
 
const uchar & operator[] (size_t i) const
 
uchar & at (size_t i)
 
const uchar & at (size_t i) const
 
void push_back (uchar v)
 
uchar pop_back ()
 
void reserve (size_t v)
 
void resize (size_t v)
 
size_t size () const
 
bool empty () const
 
const void * getData () const
 
void * getData ()
 
unsigned int getSize () const
 
std::string getString () const
 

Public Attributes

buff data
 

Detailed Description

memory buffer for files IO operations, emulates std::vector


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