FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::LinearFstMatcherTpl< F > Class Template Reference

#include <linear-fst.h>

Inheritance diagram for fst::LinearFstMatcherTpl< F >:
Inheritance graph
[legend]
Collaboration diagram for fst::LinearFstMatcherTpl< F >:
Collaboration graph
[legend]

Public Types

typedef F::Arc Arc
 
typedef Arc::Label Label
 
typedef Arc::Weight Weight
 
typedef Arc::StateId StateId
 
typedef F FST
 
- Public Types inherited from fst::MatcherBase< F::Arc >
using Arc = F::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 LinearFstMatcherTpl (const FST &fst, MatchType match_type)
 
 LinearFstMatcherTpl (const FST *fst, MatchType match_type)
 
 LinearFstMatcherTpl (const LinearFstMatcherTpl< F > &matcher, bool safe=false)
 
LinearFstMatcherTpl< F > * Copy (bool safe=false) const override
 
MatchType Type (bool) const override
 
void SetState (StateId s) final
 
bool Find (Label label) final
 
bool Done () const final
 
const ArcValue () const final
 
void Next () final
 
ssize_t Priority (StateId s) final
 
const FSTGetFst () const override
 
uint64_t Properties (uint64_t props) const override
 
uint32_t Flags () const override
 
- Public Member Functions inherited from fst::MatcherBase< F::Arc >
virtual ~MatcherBase ()=default
 
virtual void SetState (StateId)=0
 
virtual bool Find (Label)=0
 
virtual Weight Final (StateId s) const
 
virtual ssize_t Priority (StateId s)
 

Detailed Description

template<class F>
class fst::LinearFstMatcherTpl< F >

Definition at line 58 of file linear-fst.h.

Member Typedef Documentation

template<class F>
typedef F::Arc fst::LinearFstMatcherTpl< F >::Arc

Definition at line 1054 of file linear-fst.h.

template<class F>
typedef F fst::LinearFstMatcherTpl< F >::FST

Definition at line 1058 of file linear-fst.h.

template<class F>
typedef Arc::Label fst::LinearFstMatcherTpl< F >::Label

Definition at line 1055 of file linear-fst.h.

template<class F>
typedef Arc::StateId fst::LinearFstMatcherTpl< F >::StateId

Definition at line 1057 of file linear-fst.h.

template<class F>
typedef Arc::Weight fst::LinearFstMatcherTpl< F >::Weight

Definition at line 1056 of file linear-fst.h.

Constructor & Destructor Documentation

template<class F>
fst::LinearFstMatcherTpl< F >::LinearFstMatcherTpl ( const FST fst,
MatchType  match_type 
)
inline

Definition at line 1061 of file linear-fst.h.

template<class F>
fst::LinearFstMatcherTpl< F >::LinearFstMatcherTpl ( const FST fst,
MatchType  match_type 
)
inline

Definition at line 1083 of file linear-fst.h.

template<class F>
fst::LinearFstMatcherTpl< F >::LinearFstMatcherTpl ( const LinearFstMatcherTpl< F > &  matcher,
bool  safe = false 
)
inline

Definition at line 1104 of file linear-fst.h.

Member Function Documentation

template<class F>
LinearFstMatcherTpl<F>* fst::LinearFstMatcherTpl< F >::Copy ( bool  safe = false) const
inlineoverridevirtual

Implements fst::MatcherBase< F::Arc >.

Definition at line 1114 of file linear-fst.h.

template<class F>
bool fst::LinearFstMatcherTpl< F >::Done ( ) const
inlinefinalvirtual

Implements fst::MatcherBase< F::Arc >.

Definition at line 1147 of file linear-fst.h.

template<class F>
bool fst::LinearFstMatcherTpl< F >::Find ( Label  label)
inlinefinal

Definition at line 1134 of file linear-fst.h.

template<class F>
uint32_t fst::LinearFstMatcherTpl< F >::Flags ( ) const
inlineoverridevirtual

Reimplemented from fst::MatcherBase< F::Arc >.

Definition at line 1171 of file linear-fst.h.

template<class F>
const FST& fst::LinearFstMatcherTpl< F >::GetFst ( ) const
inlineoverridevirtual

Implements fst::MatcherBase< F::Arc >.

Definition at line 1164 of file linear-fst.h.

template<class F>
void fst::LinearFstMatcherTpl< F >::Next ( )
inlinefinalvirtual

Implements fst::MatcherBase< F::Arc >.

Definition at line 1155 of file linear-fst.h.

template<class F>
ssize_t fst::LinearFstMatcherTpl< F >::Priority ( StateId  s)
inlinefinal

Definition at line 1162 of file linear-fst.h.

template<class F>
uint64_t fst::LinearFstMatcherTpl< F >::Properties ( uint64_t  props) const
inlineoverridevirtual

Implements fst::MatcherBase< F::Arc >.

Definition at line 1166 of file linear-fst.h.

template<class F>
void fst::LinearFstMatcherTpl< F >::SetState ( StateId  s)
inlinefinal

Definition at line 1123 of file linear-fst.h.

template<class F>
MatchType fst::LinearFstMatcherTpl< F >::Type ( bool  ) const
inlineoverridevirtual

Implements fst::MatcherBase< F::Arc >.

Definition at line 1118 of file linear-fst.h.

template<class F>
const Arc& fst::LinearFstMatcherTpl< F >::Value ( ) const
inlinefinalvirtual

Implements fst::MatcherBase< F::Arc >.

Definition at line 1151 of file linear-fst.h.


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