FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::internal::StringReader< Arc > Class Template Reference

#include <compile-strings.h>

Public Types

using Label = typename Arc::Label
 
using Weight = typename Arc::Weight
 

Public Member Functions

 StringReader (std::istream &istrm, const std::string &source, FarEntryType entry_type, TokenType token_type, const SymbolTable *syms=nullptr, Label unknown_label=kNoStateId)
 
bool Done ()
 
void Next ()
 
VectorFst< Arc > * GetVectorFst (bool keep_symbols=false)
 
CompactStringFst< Arc > * GetCompactFst (bool keep_symbols=false)
 

Detailed Description

template<class Arc>
class fst::internal::StringReader< Arc >

Definition at line 58 of file compile-strings.h.

Member Typedef Documentation

template<class Arc >
using fst::internal::StringReader< Arc >::Label = typename Arc::Label

Definition at line 60 of file compile-strings.h.

template<class Arc >
using fst::internal::StringReader< Arc >::Weight = typename Arc::Weight

Definition at line 61 of file compile-strings.h.

Constructor & Destructor Documentation

template<class Arc >
fst::internal::StringReader< Arc >::StringReader ( std::istream &  istrm,
const std::string &  source,
FarEntryType  entry_type,
TokenType  token_type,
const SymbolTable syms = nullptr,
Label  unknown_label = kNoStateId 
)
inline

Definition at line 63 of file compile-strings.h.

Member Function Documentation

template<class Arc >
bool fst::internal::StringReader< Arc >::Done ( )
inline

Definition at line 78 of file compile-strings.h.

template<class Arc >
CompactStringFst<Arc>* fst::internal::StringReader< Arc >::GetCompactFst ( bool  keep_symbols = false)
inline

Definition at line 115 of file compile-strings.h.

template<class Arc >
VectorFst<Arc>* fst::internal::StringReader< Arc >::GetVectorFst ( bool  keep_symbols = false)
inline

Definition at line 102 of file compile-strings.h.

template<class Arc >
void fst::internal::StringReader< Arc >::Next ( )
inline

Definition at line 80 of file compile-strings.h.


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