FST  openfst-1.7.3
OpenFst Library
Public Member Functions | Static Public Member Functions | Friends | List of all members
fst::script::FarWriterClass Class Reference

#include <far-class.h>

Public Member Functions

bool Add (const std::string &key, const FstClass &fst)
 
bool Error () const
 
const std::string & ArcType () const
 
FarType Type () const
 
template<class Arc >
const FarWriter< Arc > * GetFarWriter () const
 
template<class Arc >
FarWriter< Arc > * GetFarWriter ()
 

Static Public Member Functions

static FarWriterClassCreate (const std::string &filename, const std::string &arc_type, FarType type=FAR_DEFAULT)
 

Friends

template<class Arc >
void CreateFarWriterClass (CreateFarWriterClassArgs *args)
 

Detailed Description

Definition at line 204 of file far-class.h.

Member Function Documentation

bool fst::script::FarWriterClass::Add ( const std::string &  key,
const FstClass fst 
)
inline

Definition at line 210 of file far-class.h.

const std::string& fst::script::FarWriterClass::ArcType ( ) const
inline

Definition at line 218 of file far-class.h.

FarWriterClass * fst::script::FarWriterClass::Create ( const std::string &  filename,
const std::string &  arc_type,
FarType  type = FAR_DEFAULT 
)
static

Definition at line 41 of file far-class.cc.

bool fst::script::FarWriterClass::Error ( ) const
inline

Definition at line 216 of file far-class.h.

template<class Arc >
const FarWriter<Arc>* fst::script::FarWriterClass::GetFarWriter ( ) const
inline

Definition at line 223 of file far-class.h.

template<class Arc >
FarWriter<Arc>* fst::script::FarWriterClass::GetFarWriter ( )
inline

Definition at line 231 of file far-class.h.

FarType fst::script::FarWriterClass::Type ( ) const
inline

Definition at line 220 of file far-class.h.

Friends And Related Function Documentation

template<class Arc >
void CreateFarWriterClass ( CreateFarWriterClassArgs args)
friend

Definition at line 251 of file far-class.h.


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