PUMA Library Reference Manual
Puma::LexerBuffer::ConstIterator Class Reference

#include <LexerBuffer.h>

+ Inheritance diagram for Puma::LexerBuffer::ConstIterator:

Public Types

typedef std::forward_iterator_tag iterator_category
 
typedef std::size_t difference_type
 
typedef char value_type
 
typedef char * pointer
 
typedef char & reference
 

Public Member Functions

 ConstIterator (const char *ptr=0)
 
 ConstIterator (const ConstIterator &r)
 
ConstIteratoroperator= (const ConstIterator &r)
 
bool operator== (const ConstIterator &r) const
 
bool operator!= (const ConstIterator &r) const
 
ConstIteratoroperator++ ()
 
ConstIterator operator++ (int)
 
const char & operator* () const
 

Protected Attributes

const char * _ptr
 

Friends

class LexerBuffer
 

Member Typedef Documentation

§ difference_type

§ iterator_category

typedef std::forward_iterator_tag Puma::LexerBuffer::ConstIterator::iterator_category

§ pointer

§ reference

§ value_type

Constructor & Destructor Documentation

§ ConstIterator() [1/2]

Puma::LexerBuffer::ConstIterator::ConstIterator ( const char *  ptr = 0)
inline

§ ConstIterator() [2/2]

Puma::LexerBuffer::ConstIterator::ConstIterator ( const ConstIterator r)
inline

Member Function Documentation

§ operator!=()

bool Puma::LexerBuffer::ConstIterator::operator!= ( const ConstIterator r) const
inline

§ operator*()

const char& Puma::LexerBuffer::ConstIterator::operator* ( ) const
inline

§ operator++() [1/2]

ConstIterator& Puma::LexerBuffer::ConstIterator::operator++ ( )
inline

§ operator++() [2/2]

ConstIterator Puma::LexerBuffer::ConstIterator::operator++ ( int  )
inline

§ operator=()

ConstIterator& Puma::LexerBuffer::ConstIterator::operator= ( const ConstIterator r)
inline

§ operator==()

bool Puma::LexerBuffer::ConstIterator::operator== ( const ConstIterator r) const
inline

Friends And Related Function Documentation

§ LexerBuffer

friend class LexerBuffer
friend

Member Data Documentation

§ _ptr

const char* Puma::LexerBuffer::ConstIterator::_ptr
protected