ARB
Public Member Functions | List of all members
PrefixIterator Class Reference

#include <PT_prefixIter.h>

Public Member Functions

void reset ()
 
 PrefixIterator (PT_base low_, PT_base high_, int len_)
 
 PrefixIterator (const PrefixIterator &other)
 
 DECLARE_ASSIGNMENT_OPERATOR (PrefixIterator)
 
 ~PrefixIterator ()
 
const charprefix () const
 
size_t length () const
 
size_t max_length () const
 
charcopy () const
 
bool done () const
 
const PrefixIteratoroperator++ ()
 
size_t steps () const
 
bool matches_at (const char *probe) const
 

Detailed Description

Definition at line 15 of file PT_prefixIter.h.

Constructor & Destructor Documentation

PrefixIterator::PrefixIterator ( PT_base  low_,
PT_base  high_,
int  len_ 
)
inline

Definition at line 66 of file PT_prefixIter.h.

References reset().

PrefixIterator::PrefixIterator ( const PrefixIterator other)
inline

Definition at line 74 of file PT_prefixIter.h.

PrefixIterator::~PrefixIterator ( )
inline

Definition at line 84 of file PT_prefixIter.h.

Member Function Documentation

void PrefixIterator::reset ( )
inline

Definition at line 55 of file PT_prefixIter.h.

References PT_QU.

Referenced by PrefixIterator().

PrefixIterator::DECLARE_ASSIGNMENT_OPERATOR ( PrefixIterator  )
const char* PrefixIterator::prefix ( ) const
inline
size_t PrefixIterator::length ( ) const
inline
size_t PrefixIterator::max_length ( ) const
inline

Definition at line 90 of file PT_prefixIter.h.

char* PrefixIterator::copy ( ) const
inline

Definition at line 92 of file PT_prefixIter.h.

References done(), pt_assert, and result.

bool PrefixIterator::done ( ) const
inline
const PrefixIterator& PrefixIterator::operator++ ( )
inline

Definition at line 102 of file PT_prefixIter.h.

References done(), and pt_assert.

size_t PrefixIterator::steps ( ) const
inline

Definition at line 108 of file PT_prefixIter.h.

References PT_QU.

Referenced by decide_passes_to_use(), and PrefixProbabilities::PrefixProbabilities().

bool PrefixIterator::matches_at ( const char probe) const
inline

Definition at line 123 of file PT_prefixIter.h.


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