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

#include <replace.h>

Inheritance diagram for fst::ReplaceFstMatcher< Arc, StateTable, CacheStore >:
Inheritance graph
[legend]
Collaboration diagram for fst::ReplaceFstMatcher< Arc, StateTable, CacheStore >:
Collaboration graph
[legend]

Public Types

using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
using FST = ReplaceFst< Arc, StateTable, CacheStore >
 
using LocalMatcher = MultiEpsMatcher< Matcher< Fst< Arc >>>
 
using StateTuple = typename StateTable::StateTuple
 
- Public Types inherited from fst::MatcherBase< Arc >
using Arc = Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 ReplaceFstMatcher (const ReplaceFst< Arc, StateTable, CacheStore > &fst, MatchType match_type)
 
 ReplaceFstMatcher (const ReplaceFst< Arc, StateTable, CacheStore > *fst, MatchType match_type)
 
 ReplaceFstMatcher (const ReplaceFstMatcher< Arc, StateTable, CacheStore > &matcher, bool safe=false)
 
void InitMatchers ()
 
ReplaceFstMatcher< Arc, StateTable, CacheStore > * Copy (bool safe=false) const override
 
MatchType Type (bool test) const override
 
const Fst< Arc > & GetFst () const override
 
uint64 Properties (uint64 props) 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< Arc >
virtual ~MatcherBase ()
 
virtual uint32 Flags () const
 
virtual Weight Final (StateId s) const
 

Detailed Description

template<class Arc, class StateTable, class CacheStore>
class fst::ReplaceFstMatcher< Arc, StateTable, CacheStore >

Definition at line 378 of file replace.h.

Member Typedef Documentation

template<class Arc, class StateTable, class CacheStore>
using fst::ReplaceFstMatcher< Arc, StateTable, CacheStore >::FST = ReplaceFst<Arc, StateTable, CacheStore>

Definition at line 1245 of file replace.h.

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

Definition at line 1241 of file replace.h.

template<class Arc, class StateTable, class CacheStore>
using fst::ReplaceFstMatcher< Arc, StateTable, CacheStore >::LocalMatcher = MultiEpsMatcher<Matcher<Fst<Arc>>>

Definition at line 1246 of file replace.h.

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

Definition at line 1242 of file replace.h.

template<class Arc, class StateTable, class CacheStore>
using fst::ReplaceFstMatcher< Arc, StateTable, CacheStore >::StateTuple = typename StateTable::StateTuple

Definition at line 1248 of file replace.h.

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

Definition at line 1243 of file replace.h.

Constructor & Destructor Documentation

template<class Arc, class StateTable, class CacheStore>
fst::ReplaceFstMatcher< Arc, StateTable, CacheStore >::ReplaceFstMatcher ( const ReplaceFst< Arc, StateTable, CacheStore > &  fst,
MatchType  match_type 
)
inline

Definition at line 1251 of file replace.h.

template<class Arc, class StateTable, class CacheStore>
fst::ReplaceFstMatcher< Arc, StateTable, CacheStore >::ReplaceFstMatcher ( const ReplaceFst< Arc, StateTable, CacheStore > *  fst,
MatchType  match_type 
)
inline

Definition at line 1268 of file replace.h.

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

Definition at line 1284 of file replace.h.

Member Function Documentation

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

Implements fst::MatcherBase< Arc >.

Definition at line 1320 of file replace.h.

template<class Arc, class StateTable, class CacheStore>
bool fst::ReplaceFstMatcher< Arc, StateTable, CacheStore >::Done ( ) const
inlinefinalvirtual

Implements fst::MatcherBase< Arc >.

Definition at line 1387 of file replace.h.

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

Implements fst::MatcherBase< Arc >.

Definition at line 1368 of file replace.h.

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

Implements fst::MatcherBase< Arc >.

Definition at line 1341 of file replace.h.

template<class Arc, class StateTable, class CacheStore>
void fst::ReplaceFstMatcher< Arc, StateTable, CacheStore >::InitMatchers ( )
inline

Definition at line 1305 of file replace.h.

template<class Arc, class StateTable, class CacheStore>
void fst::ReplaceFstMatcher< Arc, StateTable, CacheStore >::Next ( )
inlinefinalvirtual

Implements fst::MatcherBase< Arc >.

Definition at line 1402 of file replace.h.

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

Reimplemented from fst::MatcherBase< Arc >.

Definition at line 1414 of file replace.h.

template<class Arc, class StateTable, class CacheStore>
uint64 fst::ReplaceFstMatcher< Arc, StateTable, CacheStore >::Properties ( uint64  props) const
inlineoverridevirtual

Implements fst::MatcherBase< Arc >.

Definition at line 1343 of file replace.h.

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

Implements fst::MatcherBase< Arc >.

Definition at line 1346 of file replace.h.

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

Implements fst::MatcherBase< Arc >.

Definition at line 1325 of file replace.h.

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

Implements fst::MatcherBase< Arc >.

Definition at line 1391 of file replace.h.


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