FST  openfst-1.7.5
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
 
using Impl = internal::ComposeFstImpl< CacheStore, Filter, StateTable >
 
- 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, MatchType match_type)
 
 ComposeFstMatcher (const ComposeFst< Arc, CacheStore > *fst, MatchType match_type)
 
 ComposeFstMatcher (const ComposeFstMatcher< CacheStore, Filter, StateTable > &matcher, bool safe=false)
 
ComposeFstMatcherCopy (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 59 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 715 of file compose.h.

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

Definition at line 722 of file compose.h.

template<class CacheStore, class Filter, class StateTable>
using fst::ComposeFstMatcher< CacheStore, Filter, StateTable >::Impl = internal::ComposeFstImpl<CacheStore, Filter, StateTable>

Definition at line 725 of file compose.h.

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

Definition at line 716 of file compose.h.

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

Definition at line 720 of file compose.h.

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

Definition at line 721 of file compose.h.

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

Definition at line 717 of file compose.h.

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

Definition at line 724 of file compose.h.

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

Definition at line 718 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,
MatchType  match_type 
)
inline

Definition at line 729 of file compose.h.

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

Definition at line 745 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 759 of file compose.h.

Member Function Documentation

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

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

Definition at line 774 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 828 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 813 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 798 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 834 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 844 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 800 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 804 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 778 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 832 of file compose.h.


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