FST  openfst-1.7.5
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 Properties (uint64 props) const override
 
uint32 Flags () const override
 
- Public Member Functions inherited from fst::MatcherBase< F::Arc >
virtual ~MatcherBase ()
 
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 30 of file linear-fst.h.

Member Typedef Documentation

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

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

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

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

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

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

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

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

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

Definition at line 1039 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 1044 of file linear-fst.h.

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

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

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

Definition at line 1087 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 1097 of file linear-fst.h.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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