libosmscout  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups
osmscout::ost::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 = COCO_WCHAR_MAX + 1

Constructor & Destructor Documentation

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

Member Function Documentation

size_t osmscout::ost::Buffer::GetPos ( )

Referenced by Peek().

int osmscout::ost::Buffer::Peek ( )

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

int osmscout::ost::Buffer::Read ( )

References EoF.

Referenced by Peek().

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

Member Data Documentation

const int osmscout::ost::Buffer::EoF = COCO_WCHAR_MAX + 1

Referenced by Read().

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