FST  openfst-1.8.2.post1
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 (TokenType token_type=TokenType::BYTE, const SymbolTable *syms=nullptr, bool omit_epsilon=true)
bool operator() (const Fst< Arc > &fst, std::string *str, const std::string &sep=FST_FLAGS_fst_field_separator) const

Detailed Description

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

Definition at line 338 of file string.h.

Member Typedef Documentation

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

Definition at line 340 of file string.h.

Constructor & Destructor Documentation

template<class Arc>
fst::StringPrinter< Arc >::StringPrinter ( TokenType  token_type = TokenType::BYTE,
const SymbolTable syms = nullptr,
bool  omit_epsilon = true 

Definition at line 342 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 = FST_FLAGS_fst_field_separator 
) const

Definition at line 349 of file string.h.

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