PUMA Library Reference Manual
Loading...
Searching...
No Matches
Puma::CLexerBuffer::ConstIterator Class Reference

#include <CLexerBuffer.h>

+ Inheritance diagram for Puma::CLexerBuffer::ConstIterator:

Public Member Functions

 ConstIterator (const char *ptr=0)
 
 ConstIterator (const ConstIterator &r)
 
ConstIteratoroperator++ ()
 
ConstIterator operator++ (int)
 
ConstIteratoradjust ()
 
int continuations () const
 
int lines () const
 
void reset_counters ()
 
- Public Member Functions inherited from Puma::LexerBuffer::ConstIterator
 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
 

Friends

class CLexerBuffer
 

Additional Inherited Members

- Public Types inherited from Puma::LexerBuffer::ConstIterator
typedef std::forward_iterator_tag iterator_category
 
typedef std::size_t difference_type
 
typedef char value_type
 
typedef char * pointer
 
typedef char & reference
 
- Protected Attributes inherited from Puma::LexerBuffer::ConstIterator
const char * _ptr
 

Constructor & Destructor Documentation

◆ ConstIterator() [1/2]

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

◆ ConstIterator() [2/2]

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

Member Function Documentation

◆ adjust()

ConstIterator & Puma::CLexerBuffer::ConstIterator::adjust ( )
inline

◆ continuations()

int Puma::CLexerBuffer::ConstIterator::continuations ( ) const
inline

◆ lines()

int Puma::CLexerBuffer::ConstIterator::lines ( ) const
inline

◆ operator++() [1/2]

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

◆ operator++() [2/2]

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

◆ reset_counters()

void Puma::CLexerBuffer::ConstIterator::reset_counters ( )
inline

Friends And Related Function Documentation

◆ CLexerBuffer

friend class CLexerBuffer
friend