FST  openfst-1.7.1
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 string &key, const FstClass &fst)
 
bool Error () const
 
const 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 string &filename, const 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 string &  key,
const FstClass fst 
)
inline

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

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

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

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

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

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

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

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

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

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

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

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

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

Friends And Related Function Documentation

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

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


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