FST  openfst-1.7.5
OpenFst Library
Classes | Public Member Functions | Static Public Member Functions | List of all members
fst::STTableReader< T, Reader > Class Template Reference

#include <sttable.h>

Public Member Functions

 STTableReader (const std::vector< std::string > &sources)
 
 ~STTableReader ()
 
void Reset ()
 
bool Find (const std::string &key)
 
bool Done () const
 
void Next ()
 
const std::string & GetKey () const
 
const T * GetEntry () const
 
bool Error () const
 

Static Public Member Functions

static STTableReader< T, Reader > * Open (const std::string &source)
 
static STTableReader< T, Reader > * Open (const std::vector< std::string > &sources)
 

Detailed Description

template<class T, class Reader>
class fst::STTableReader< T, Reader >

Definition at line 95 of file sttable.h.

Constructor & Destructor Documentation

template<class T, class Reader>
fst::STTableReader< T, Reader >::STTableReader ( const std::vector< std::string > &  sources)
inlineexplicit

Definition at line 97 of file sttable.h.

template<class T, class Reader>
fst::STTableReader< T, Reader >::~STTableReader ( )
inline

Definition at line 150 of file sttable.h.

Member Function Documentation

template<class T, class Reader>
bool fst::STTableReader< T, Reader >::Done ( ) const
inline

Definition at line 184 of file sttable.h.

template<class T, class Reader>
bool fst::STTableReader< T, Reader >::Error ( ) const
inline

Definition at line 207 of file sttable.h.

template<class T, class Reader>
bool fst::STTableReader< T, Reader >::Find ( const std::string &  key)
inline

Definition at line 176 of file sttable.h.

template<class T, class Reader>
const T* fst::STTableReader< T, Reader >::GetEntry ( ) const
inline

Definition at line 205 of file sttable.h.

template<class T, class Reader>
const std::string& fst::STTableReader< T, Reader >::GetKey ( ) const
inline

Definition at line 203 of file sttable.h.

template<class T, class Reader>
void fst::STTableReader< T, Reader >::Next ( )
inline

Definition at line 186 of file sttable.h.

template<class T, class Reader>
static STTableReader<T, Reader>* fst::STTableReader< T, Reader >::Open ( const std::string &  source)
inlinestatic

Definition at line 154 of file sttable.h.

template<class T, class Reader>
static STTableReader<T, Reader>* fst::STTableReader< T, Reader >::Open ( const std::vector< std::string > &  sources)
inlinestatic

Definition at line 164 of file sttable.h.

template<class T, class Reader>
void fst::STTableReader< T, Reader >::Reset ( )
inline

Definition at line 169 of file sttable.h.


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