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

#include <string.h>

Public Types

using Label = typename Arc::Label
 

Public Member Functions

 StringPrinter (StringTokenType token_type=BYTE, const SymbolTable *syms=nullptr, EpsilonSymbolPrintType eps_sym_print_type=EpsilonSymbolPrintType::NONEPS_SYMBOLS)
 
bool operator() (const Fst< Arc > &fst, std::string *str, const std::string &sep=FLAGS_fst_field_separator) const
 

Detailed Description

template<class Arc>
class fst::StringPrinter< Arc >

Definition at line 317 of file string.h.

Member Typedef Documentation

template<class Arc>
using fst::StringPrinter< Arc >::Label = typename Arc::Label

Definition at line 319 of file string.h.

Constructor & Destructor Documentation

template<class Arc>
fst::StringPrinter< Arc >::StringPrinter ( StringTokenType  token_type = BYTE,
const SymbolTable syms = nullptr,
EpsilonSymbolPrintType  eps_sym_print_type = EpsilonSymbolPrintType::NONEPS_SYMBOLS 
)
inlineexplicit

Definition at line 321 of file string.h.

Member Function Documentation

template<class Arc>
bool fst::StringPrinter< Arc >::operator() ( const Fst< Arc > &  fst,
std::string *  str,
const std::string &  sep = FLAGS_fst_field_separator 
) const
inline

Definition at line 331 of file string.h.


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