FST  openfst-1.7.2
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< string > &filenames)
 
 ~STTableReader ()
 
void Reset ()
 
bool Find (const string &key)
 
bool Done () const
 
void Next ()
 
const string & GetKey () const
 
const T * GetEntry () const
 
bool Error () const
 

Static Public Member Functions

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

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< string > &  filenames)
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 183 of file sttable.h.

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

Definition at line 206 of file sttable.h.

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

Definition at line 175 of file sttable.h.

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

Definition at line 204 of file sttable.h.

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

Definition at line 202 of file sttable.h.

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

Definition at line 185 of file sttable.h.

template<class T, class Reader>
static STTableReader<T, Reader>* fst::STTableReader< T, Reader >::Open ( const string &  filename)
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< string > &  filenames)
inlinestatic

Definition at line 164 of file sttable.h.

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

Definition at line 168 of file sttable.h.


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