FST  openfst-1.7.6
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) final
 
int64 AddState () final
 
void AddStates (size_t n) final
 
const std::string & ArcType () const final
 
FstClassImplCopy () final
 
bool DeleteArcs (int64 s, size_t n) final
 
bool DeleteArcs (int64 s) final
 
bool DeleteStates (const std::vector< int64 > &dstates) final
 
void DeleteStates () final
 
WeightClass Final (int64 s) const final
 
const std::string & FstType () const final
 
const SymbolTableInputSymbols () const final
 
SymbolTableMutableInputSymbols () final
 
SymbolTableMutableOutputSymbols () final
 
size_t NumArcs (int64 s) const final
 
size_t NumInputEpsilons (int64 s) const final
 
size_t NumOutputEpsilons (int64 s) const final
 
int64 NumStates () const final
 
uint64 Properties (uint64 mask, bool test) const final
 
bool ReserveArcs (int64 s, size_t n) final
 
void ReserveStates (int64 n) final
 
const SymbolTableOutputSymbols () const final
 
void SetInputSymbols (const SymbolTable *isyms) final
 
bool SetFinal (int64 s, const WeightClass &weight) final
 
void SetOutputSymbols (const SymbolTable *osyms) final
 
void SetProperties (uint64 props, uint64 mask) final
 
bool SetStart (int64 s) final
 
int64 Start () const final
 
bool ValidStateId (int64 s) const final
 
const std::string & WeightType () const final
 
bool Write (const std::string &source) const final
 
bool Write (std::ostream &ostr, const std::string &source) const final
 
 ~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 85 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 87 of file fst-class.h.

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

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

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

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

Member Function Documentation

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassImplBase.

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

template<class Arc>
void fst::script::FstClassImpl< Arc >::AddStates ( size_t  n)
inlinefinalvirtual

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassBase.

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

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassBase.

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

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

Implements fst::script::FstClassBase.

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

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

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

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

Implements fst::script::FstClassBase.

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

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassBase.

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

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

Implements fst::script::FstClassBase.

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

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

Implements fst::script::FstClassBase.

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

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassBase.

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

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

Implements fst::script::FstClassBase.

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

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

Implements fst::script::FstClassImplBase.

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

template<class Arc>
void fst::script::FstClassImpl< Arc >::ReserveStates ( int64  n)
inlinefinalvirtual

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassImplBase.

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

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

Implements fst::script::FstClassBase.

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

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

Implements fst::script::FstClassBase.

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

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

Implements fst::script::FstClassBase.

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

template<class Arc>
bool fst::script::FstClassImpl< Arc >::Write ( const std::string &  source) const
inlinefinalvirtual

Implements fst::script::FstClassBase.

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

template<class Arc>
bool fst::script::FstClassImpl< Arc >::Write ( std::ostream &  ostr,
const std::string &  source 
) const
inlinefinalvirtual

Implements fst::script::FstClassBase.

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


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