FST  openfst-1.6.1
OpenFst Library
Public Member Functions | List of all members
fst::script::FstClassImpl< Arc > Class Template Reference

#include <fst-class.h>

Inheritance diagram for fst::script::FstClassImpl< Arc >:
Inheritance graph
[legend]
Collaboration diagram for fst::script::FstClassImpl< Arc >:
Collaboration graph
[legend]

Public Member Functions

 FstClassImpl (Fst< Arc > *impl, bool should_own=false)
 
 FstClassImpl (const Fst< Arc > &impl)
 
bool AddArc (int64 s, const ArcClass &ac) override
 
int64 AddState () override
 
const string & ArcType () const override
 
FstClassImplCopy () override
 
bool DeleteArcs (int64 s, size_t n) override
 
bool DeleteArcs (int64 s) override
 
bool DeleteStates (const std::vector< int64 > &dstates) override
 
void DeleteStates () override
 
WeightClass Final (int64 s) const override
 
const string & FstType () const override
 
const SymbolTableInputSymbols () const override
 
SymbolTableMutableInputSymbols () override
 
SymbolTableMutableOutputSymbols () override
 
size_t NumArcs (int64 s) const override
 
size_t NumInputEpsilons (int64 s) const override
 
size_t NumOutputEpsilons (int64 s) const override
 
int64 NumStates () const override
 
uint64 Properties (uint64 mask, bool test) const override
 
bool ReserveArcs (int64 s, size_t n) override
 
void ReserveStates (int64 s) override
 
const SymbolTableOutputSymbols () const override
 
void SetInputSymbols (SymbolTable *isyms) override
 
bool SetFinal (int64 s, const WeightClass &weight) override
 
void SetOutputSymbols (SymbolTable *osyms) override
 
void SetProperties (uint64 props, uint64 mask) override
 
bool SetStart (int64 s) override
 
int64 Start () const override
 
bool ValidStateId (int64 s) const override
 
const string & WeightType () const override
 
bool Write (const string &fname) const override
 
bool Write (std::ostream &ostr, const FstWriteOptions &opts) const override
 
 ~FstClassImpl () override
 
Fst< Arc > * GetImpl () const
 
- Public Member Functions inherited from fst::script::FstClassImplBase
 ~FstClassImplBase () override
 
- Public Member Functions inherited from fst::script::FstClassBase
virtual ~FstClassBase ()
 

Detailed Description

template<class Arc>
class fst::script::FstClassImpl< Arc >

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

Constructor & Destructor Documentation

template<class Arc>
fst::script::FstClassImpl< Arc >::FstClassImpl ( Fst< Arc > *  impl,
bool  should_own = false 
)
inlineexplicit

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

template<class Arc>
fst::script::FstClassImpl< Arc >::FstClassImpl ( const Fst< Arc > &  impl)
inlineexplicit

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

template<class Arc>
fst::script::FstClassImpl< Arc >::~FstClassImpl ( )
inlineoverride

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

Member Function Documentation

template<class Arc>
bool fst::script::FstClassImpl< Arc >::AddArc ( int64  s,
const ArcClass ac 
)
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
int64 fst::script::FstClassImpl< Arc >::AddState ( )
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
const string& fst::script::FstClassImpl< Arc >::ArcType ( ) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
FstClassImpl* fst::script::FstClassImpl< Arc >::Copy ( )
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
bool fst::script::FstClassImpl< Arc >::DeleteArcs ( int64  s,
size_t  n 
)
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
bool fst::script::FstClassImpl< Arc >::DeleteArcs ( int64  s)
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
bool fst::script::FstClassImpl< Arc >::DeleteStates ( const std::vector< int64 > &  dstates)
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
void fst::script::FstClassImpl< Arc >::DeleteStates ( )
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
WeightClass fst::script::FstClassImpl< Arc >::Final ( int64  s) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
const string& fst::script::FstClassImpl< Arc >::FstType ( ) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
Fst<Arc>* fst::script::FstClassImpl< Arc >::GetImpl ( ) const
inline

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

template<class Arc>
const SymbolTable* fst::script::FstClassImpl< Arc >::InputSymbols ( ) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
SymbolTable* fst::script::FstClassImpl< Arc >::MutableInputSymbols ( )
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
SymbolTable* fst::script::FstClassImpl< Arc >::MutableOutputSymbols ( )
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
size_t fst::script::FstClassImpl< Arc >::NumArcs ( int64  s) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
size_t fst::script::FstClassImpl< Arc >::NumInputEpsilons ( int64  s) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
size_t fst::script::FstClassImpl< Arc >::NumOutputEpsilons ( int64  s) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
int64 fst::script::FstClassImpl< Arc >::NumStates ( ) const
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
const SymbolTable* fst::script::FstClassImpl< Arc >::OutputSymbols ( ) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
uint64 fst::script::FstClassImpl< Arc >::Properties ( uint64  mask,
bool  test 
) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
bool fst::script::FstClassImpl< Arc >::ReserveArcs ( int64  s,
size_t  n 
)
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
void fst::script::FstClassImpl< Arc >::ReserveStates ( int64  s)
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
bool fst::script::FstClassImpl< Arc >::SetFinal ( int64  s,
const WeightClass weight 
)
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
void fst::script::FstClassImpl< Arc >::SetInputSymbols ( SymbolTable isyms)
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
void fst::script::FstClassImpl< Arc >::SetOutputSymbols ( SymbolTable osyms)
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
void fst::script::FstClassImpl< Arc >::SetProperties ( uint64  props,
uint64  mask 
)
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
bool fst::script::FstClassImpl< Arc >::SetStart ( int64  s)
inlineoverridevirtual

Implements fst::script::FstClassImplBase.

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

template<class Arc>
int64 fst::script::FstClassImpl< Arc >::Start ( ) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
bool fst::script::FstClassImpl< Arc >::ValidStateId ( int64  s) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
const string& fst::script::FstClassImpl< Arc >::WeightType ( ) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
bool fst::script::FstClassImpl< Arc >::Write ( const string &  fname) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
bool fst::script::FstClassImpl< Arc >::Write ( std::ostream &  ostr,
const FstWriteOptions opts 
) const
inlineoverridevirtual

Implements fst::script::FstClassBase.

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


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