FST  openfst-1.6.1
OpenFst Library
Public Member Functions | Static Public Member Functions | List of all members
fst::script::VectorFstClass Class Reference

#include <fst-class.h>

Inheritance diagram for fst::script::VectorFstClass:
Inheritance graph
[legend]
Collaboration diagram for fst::script::VectorFstClass:
Collaboration graph
[legend]

Public Member Functions

 VectorFstClass (FstClassImplBase *impl)
 
 VectorFstClass (const FstClass &other)
 
 VectorFstClass (const string &arc_type)
 
template<class Arc >
 VectorFstClass (const VectorFst< Arc > &fst)
 
- Public Member Functions inherited from fst::script::MutableFstClass
bool AddArc (int64 s, const ArcClass &ac)
 
int64 AddState ()
 
bool DeleteArcs (int64 s, size_t n)
 
bool DeleteArcs (int64 s)
 
bool DeleteStates (const std::vector< int64 > &dstates)
 
void DeleteStates ()
 
SymbolTableMutableInputSymbols ()
 
SymbolTableMutableOutputSymbols ()
 
int64 NumStates () const
 
bool ReserveArcs (int64 s, size_t n)
 
void ReserveStates (int64 s)
 
void SetInputSymbols (SymbolTable *isyms)
 
bool SetFinal (int64 s, const WeightClass &weight)
 
void SetOutputSymbols (SymbolTable *osyms)
 
void SetProperties (uint64 props, uint64 mask)
 
bool SetStart (int64 s)
 
bool ValidStateId (int64 s) const override
 
bool Write (std::ostream &ostr, const FstWriteOptions &opts) const override
 
bool Write (const string &fname) const override
 
template<class Arc >
 MutableFstClass (const MutableFst< Arc > &fst)
 
template<class Arc >
MutableFst< Arc > * GetMutableFst ()
 
- Public Member Functions inherited from fst::script::FstClass
 FstClass ()
 
template<class Arc >
 FstClass (const Fst< Arc > &fst)
 
 FstClass (const FstClass &other)
 
FstClassoperator= (const FstClass &other)
 
WeightClass Final (int64 s) const override
 
const string & ArcType () const override
 
const string & FstType () const override
 
const SymbolTableInputSymbols () const override
 
size_t NumArcs (int64 s) const override
 
size_t NumInputEpsilons (int64 s) const override
 
size_t NumOutputEpsilons (int64 s) const override
 
const SymbolTableOutputSymbols () const override
 
uint64 Properties (uint64 mask, bool test) const override
 
int64 Start () const override
 
const string & WeightType () const override
 
bool WeightTypesMatch (const WeightClass &weight, const string &op_name) const
 
const string WriteToString () const
 
 ~FstClass () override
 
template<class Arc >
const Fst< Arc > * GetFst () const
 
- Public Member Functions inherited from fst::script::FstClassBase
virtual ~FstClassBase ()
 

Static Public Member Functions

static VectorFstClassRead (const string &fname)
 
template<class Arc >
static VectorFstClassRead (std::istream &stream, const FstReadOptions &opts)
 
template<class Arc >
static FstClassImplBaseConvert (const FstClass &other)
 
template<class Arc >
static FstClassImplBaseCreate ()
 
- Static Public Member Functions inherited from fst::script::MutableFstClass
static MutableFstClassRead (const string &fname, bool convert=false)
 
template<class Arc >
static FstClassImplBaseConvert (const FstClass &other)
 
template<class Arc >
static FstClassImplBaseCreate ()
 
template<class Arc >
static MutableFstClassRead (std::istream &stream, const FstReadOptions &opts)
 
- Static Public Member Functions inherited from fst::script::FstClass
static FstClassRead (const string &fname)
 
static FstClassRead (std::istream &istr, const string &source)
 
static FstClassReadFromString (const string &fst_string)
 
template<class Arc >
static FstClassImplBaseConvert (const FstClass &other)
 
template<class Arc >
static FstClassImplBaseCreate ()
 
template<class Arc >
static FstClassRead (std::istream &stream, const FstReadOptions &opts)
 

Additional Inherited Members

- Protected Member Functions inherited from fst::script::MutableFstClass
 MutableFstClass (FstClassImplBase *impl)
 
- Protected Member Functions inherited from fst::script::FstClass
 FstClass (FstClassImplBase *impl)
 
const FstClassImplBaseGetImpl () const
 
FstClassImplBaseGetImpl ()
 
- Static Protected Member Functions inherited from fst::script::FstClass
template<class FstClassT , class UnderlyingT >
static FstClassT * ReadTypedFst (std::istream &stream, const FstReadOptions &opts)
 

Detailed Description

Definition at line 510 of file fst-class.h.

Constructor & Destructor Documentation

fst::script::VectorFstClass::VectorFstClass ( FstClassImplBase impl)
inlineexplicit

Definition at line 512 of file fst-class.h.

fst::script::VectorFstClass::VectorFstClass ( const FstClass other)
explicit

Definition at line 133 of file fst-class.cc.

fst::script::VectorFstClass::VectorFstClass ( const string &  arc_type)
explicit

Definition at line 126 of file fst-class.cc.

template<class Arc >
fst::script::VectorFstClass::VectorFstClass ( const VectorFst< Arc > &  fst)
inlineexplicit

Definition at line 528 of file fst-class.h.

Member Function Documentation

template<class Arc >
static FstClassImplBase* fst::script::VectorFstClass::Convert ( const FstClass other)
inlinestatic

Definition at line 531 of file fst-class.h.

template<class Arc >
static FstClassImplBase* fst::script::VectorFstClass::Create ( )
inlinestatic

Definition at line 537 of file fst-class.h.

VectorFstClass * fst::script::VectorFstClass::Read ( const string &  fname)
static

Definition at line 110 of file fst-class.cc.

template<class Arc >
static VectorFstClass* fst::script::VectorFstClass::Read ( std::istream &  stream,
const FstReadOptions opts 
)
inlinestatic

Definition at line 521 of file fst-class.h.


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