PUMA Library Reference Manual
Puma::LexerBuffer Class Reference

#include <LexerBuffer.h>

+ Inheritance diagram for Puma::LexerBuffer:

Classes

class  ConstIterator
 

Public Member Functions

 LexerBuffer ()
 
 LexerBuffer (const char *str, int l=0)
 
void init (const char *str, int l=0)
 
ConstIterator begin () const
 
ConstIterator end () const
 

Protected Attributes

const char * _buffer
 
int _buffer_size
 

Constructor & Destructor Documentation

◆ LexerBuffer() [1/2]

Puma::LexerBuffer::LexerBuffer ( )
inline

◆ LexerBuffer() [2/2]

Puma::LexerBuffer::LexerBuffer ( const char *  str,
int  l = 0 
)
inline

Member Function Documentation

◆ begin()

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

◆ end()

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

◆ init()

void Puma::LexerBuffer::init ( const char *  str,
int  l = 0 
)
inline

Member Data Documentation

◆ _buffer

const char* Puma::LexerBuffer::_buffer
protected

◆ _buffer_size

int Puma::LexerBuffer::_buffer_size
protected