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

#include <stlist.h>

Public Member Functions

 STListReader (const std::vector< string > &filenames)
 
 ~STListReader ()
 
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 STListReader< T, Reader > * Open (const string &filename)
 
static STListReader< T, Reader > * Open (const std::vector< string > &filenames)
 

Detailed Description

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

Definition at line 95 of file stlist.h.

Constructor & Destructor Documentation

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

Definition at line 97 of file stlist.h.

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

Definition at line 152 of file stlist.h.

Member Function Documentation

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

Definition at line 179 of file stlist.h.

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

Definition at line 208 of file stlist.h.

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

Definition at line 173 of file stlist.h.

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

Definition at line 206 of file stlist.h.

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

Definition at line 204 of file stlist.h.

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

Definition at line 181 of file stlist.h.

template<class T, class Reader>
static STListReader<T, Reader>* fst::STListReader< T, Reader >::Open ( const string &  filename)
inlinestatic

Definition at line 158 of file stlist.h.

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

Definition at line 164 of file stlist.h.

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

Definition at line 168 of file stlist.h.


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