libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::oss::Buffer Class Reference

#include <Scanner.h>

Public Member Functions

 Buffer (const unsigned char *buf, size_t len)
 
size_t GetPos ()
 
int Peek ()
 
int Read ()
 
void SetPos (size_t value)
 
virtual ~Buffer ()
 

Static Public Attributes

static const int EoF = 65535 + 1
 

Constructor & Destructor Documentation

osmscout::oss::Buffer::Buffer ( const unsigned char *  buf,
size_t  len 
)
osmscout::oss::Buffer::~Buffer ( )
virtual

Member Function Documentation

size_t osmscout::oss::Buffer::GetPos ( )

Referenced by Peek().

int osmscout::oss::Buffer::Peek ( )

References GetPos(), Read(), and SetPos().

int osmscout::oss::Buffer::Read ( )

References EoF.

Referenced by Peek().

void osmscout::oss::Buffer::SetPos ( size_t  value)

Member Data Documentation

const int osmscout::oss::Buffer::EoF = 65535 + 1
static

Referenced by Read().


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