FST  openfst-1.6.1
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::ComposeFstMatcher< CacheStore, Filter, StateTable > Class Template Reference

#include <compose.h>

Inheritance diagram for fst::ComposeFstMatcher< CacheStore, Filter, StateTable >:
Inheritance graph
[legend]
Collaboration diagram for fst::ComposeFstMatcher< CacheStore, Filter, StateTable >:
Collaboration graph
[legend]

Public Types

using Arc = typename CacheStore::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using Matcher1 = typename Filter::Matcher1
 
using Matcher2 = typename Filter::Matcher2
 
using FilterState = typename Filter::FilterState
 
using StateTuple = typename StateTable::StateTuple
 
- Public Types inherited from fst::MatcherBase< CacheStore::Arc >
using Arc = CacheStore::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 ComposeFstMatcher (const ComposeFst< Arc, CacheStore > &fst, const internal::ComposeFstImpl< CacheStore, Filter, StateTable > *impl, MatchType match_type)
 
 ComposeFstMatcher (const ComposeFstMatcher< CacheStore, Filter, StateTable > &matcher, bool safe=false)
 
ComposeFstMatcher< CacheStore, Filter, StateTable > * Copy (bool safe=false) const override
 
MatchType Type (bool test) const override
 
const Fst< Arc > & GetFst () const override
 
uint64 Properties (uint64 inprops) 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
 
- Public Member Functions inherited from fst::MatcherBase< CacheStore::Arc >
virtual ~MatcherBase ()
 
virtual uint32 Flags () const
 
virtual Weight Final (StateId s) const
 

Detailed Description

template<class CacheStore, class Filter, class StateTable>
class fst::ComposeFstMatcher< CacheStore, Filter, StateTable >

Definition at line 56 of file compose.h.

Member Typedef Documentation

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Arc = typename CacheStore::Arc

Definition at line 717 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::FilterState = typename Filter::FilterState

Definition at line 724 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Label = typename Arc::Label

Definition at line 718 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Matcher1 = typename Filter::Matcher1

Definition at line 722 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Matcher2 = typename Filter::Matcher2

Definition at line 723 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::StateId = typename Arc::StateId

Definition at line 719 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::StateTuple = typename StateTable::StateTuple

Definition at line 726 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Weight = typename Arc::Weight

Definition at line 720 of file compose.h.

Constructor & Destructor Documentation

template<class CacheStore, class Filter, class StateTable>
fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::ComposeFstMatcher ( const ComposeFst< Arc, CacheStore > &  fst,
const internal::ComposeFstImpl< CacheStore, Filter, StateTable > *  impl,
MatchType  match_type 
)
inline

Definition at line 728 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::ComposeFstMatcher ( const ComposeFstMatcher< CacheStore, Filter, StateTable > &  matcher,
bool  safe = false 
)
inline

Definition at line 744 of file compose.h.

Member Function Documentation

template<class CacheStore, class Filter, class StateTable>
ComposeFstMatcher<CacheStore, Filter, StateTable>* fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Copy ( bool  safe = false) const
inlineoverridevirtual

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

Definition at line 763 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
bool fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Done ( ) const
inlinefinalvirtual

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

Definition at line 820 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
bool fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Find ( Label  label)
inlinefinalvirtual

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

Definition at line 805 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
const Fst<Arc>& fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::GetFst ( ) const
inlineoverridevirtual

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

Definition at line 788 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
void fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Next ( )
inlinefinalvirtual

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

Definition at line 826 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
ssize_t fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Priority ( StateId  s)
inlinefinalvirtual

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

Definition at line 836 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
uint64 fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Properties ( uint64  inprops) const
inlineoverridevirtual

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

Definition at line 790 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
void fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::SetState ( StateId  s)
inlinefinalvirtual

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

Definition at line 796 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
MatchType fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Type ( bool  test) const
inlineoverridevirtual

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

Definition at line 768 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
const Arc& fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Value ( ) const
inlinefinalvirtual

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

Definition at line 824 of file compose.h.


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