FST  openfst-1.8.3
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< std::string > &sources)
 
 ~STListReader ()
 
void Reset ()
 
bool Find (std::string_view key)
 
bool Done () const
 
void Next ()
 
const std::string & GetKey () const
 
const T * GetEntry () const
 
bool Error () const
 

Static Public Member Functions

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

Detailed Description

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

Definition at line 118 of file stlist.h.

Constructor & Destructor Documentation

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

Definition at line 120 of file stlist.h.

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

Definition at line 181 of file stlist.h.

Member Function Documentation

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

Definition at line 209 of file stlist.h.

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

Definition at line 238 of file stlist.h.

template<class T , class Reader >
bool fst::STListReader< T, Reader >::Find ( std::string_view  key)
inline

Definition at line 203 of file stlist.h.

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

Definition at line 236 of file stlist.h.

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

Definition at line 234 of file stlist.h.

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

Definition at line 211 of file stlist.h.

template<class T , class Reader >
static STListReader<T, Reader>* fst::STListReader< T, Reader >::Open ( std::string_view  source)
inlinestatic

Definition at line 187 of file stlist.h.

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

Definition at line 193 of file stlist.h.

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

Definition at line 198 of file stlist.h.


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