FST  openfst-1.8.3
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 &matcher, bool safe=false)
 
void InitMatchers ()
 
ReplaceFstMatcherCopy (bool safe=false) const override
 
MatchType Type (bool test) const override
 
const Fst< Arc > & GetFst () const override
 
uint64_t Properties (uint64_t 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 ()=default
 
virtual uint32_t 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 423 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 1288 of file replace.h.

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

Definition at line 1284 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 1289 of file replace.h.

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

Definition at line 1285 of file replace.h.

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

Definition at line 1291 of file replace.h.

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

Definition at line 1286 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 1294 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 1311 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 1327 of file replace.h.

Member Function Documentation

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

Implements fst::MatcherBase< Arc >.

Definition at line 1361 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 1427 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 1408 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 1381 of file replace.h.

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

Definition at line 1346 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 1442 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 1454 of file replace.h.

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

Implements fst::MatcherBase< Arc >.

Definition at line 1383 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 1386 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 1365 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 1431 of file replace.h.


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