FST  openfst-1.7.5
OpenFst Library
Public Types | Public Member Functions | Friends | List of all members
fst::SymbolTableIterator Class Reference

#include <symbol-table.h>

Public Types

using iterator_category = std::input_iterator_tag
 
using value_type = internal::SymbolTableIteratorItem
 
using difference_type = std::ptrdiff_t
 
using pointer = const value_type *const
 
using reference = const value_type &
 

Public Member Functions

 SymbolTableIterator (const SymbolTable &table)
 
 ~SymbolTableIterator ()
 
bool Done () const
 
int64 Value () const
 
std::string Symbol () const
 
void Next ()
 
SymbolTableIteratoroperator++ ()
 
SymbolTableIterator operator++ (int)
 
bool operator== (const SymbolTableIterator &other) const
 
bool operator!= (const SymbolTableIterator &other) const
 
reference operator* ()
 
pointer operator-> () const
 
void Reset ()
 

Friends

class SymbolTable
 

Detailed Description

Definition at line 501 of file symbol-table.h.

Member Typedef Documentation

Definition at line 505 of file symbol-table.h.

using fst::SymbolTableIterator::iterator_category = std::input_iterator_tag

Definition at line 503 of file symbol-table.h.

Definition at line 506 of file symbol-table.h.

Definition at line 507 of file symbol-table.h.

Definition at line 504 of file symbol-table.h.

Constructor & Destructor Documentation

fst::SymbolTableIterator::SymbolTableIterator ( const SymbolTable table)
inlineexplicit

Definition at line 509 of file symbol-table.h.

fst::SymbolTableIterator::~SymbolTableIterator ( )
inline

Definition at line 512 of file symbol-table.h.

Member Function Documentation

bool fst::SymbolTableIterator::Done ( ) const
inline

Definition at line 515 of file symbol-table.h.

void fst::SymbolTableIterator::Next ( )
inline

Definition at line 524 of file symbol-table.h.

bool fst::SymbolTableIterator::operator!= ( const SymbolTableIterator other) const
inline

Definition at line 544 of file symbol-table.h.

reference fst::SymbolTableIterator::operator* ( )
inline

Definition at line 548 of file symbol-table.h.

SymbolTableIterator& fst::SymbolTableIterator::operator++ ( )
inline

Definition at line 529 of file symbol-table.h.

SymbolTableIterator fst::SymbolTableIterator::operator++ ( int  )
inline

Definition at line 534 of file symbol-table.h.

pointer fst::SymbolTableIterator::operator-> ( ) const
inline

Definition at line 550 of file symbol-table.h.

bool fst::SymbolTableIterator::operator== ( const SymbolTableIterator other) const
inline

Definition at line 540 of file symbol-table.h.

void fst::SymbolTableIterator::Reset ( )
inline

Definition at line 553 of file symbol-table.h.

std::string fst::SymbolTableIterator::Symbol ( ) const
inline

Definition at line 521 of file symbol-table.h.

int64 fst::SymbolTableIterator::Value ( ) const
inline

Definition at line 518 of file symbol-table.h.

Friends And Related Function Documentation

friend class SymbolTable
friend

Definition at line 561 of file symbol-table.h.


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