FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::ExplicitMatcher< M > Class Template Reference

#include <matcher.h>

Inheritance diagram for fst::ExplicitMatcher< M >:
Inheritance graph
[legend]
Collaboration diagram for fst::ExplicitMatcher< M >:
Collaboration graph
[legend]

Public Types

using FST = typename M::FST
 
using Arc = typename FST::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
- Public Types inherited from fst::MatcherBase< M::Arc >
using Arc = M::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 ExplicitMatcher (const FST &fst, MatchType match_type, M *matcher=nullptr)
 
 ExplicitMatcher (const FST *fst, MatchType match_type, M *matcher=nullptr)
 
 ExplicitMatcher (const ExplicitMatcher &matcher, bool safe=false)
 
ExplicitMatcherCopy (bool safe=false) const override
 
MatchType Type (bool test) const override
 
void SetState (StateId s) final
 
bool Find (Label label) final
 
bool Done () const final
 
const ArcValue () const final
 
void Next () final
 
Weight Final (StateId s) const final
 
ssize_t Priority (StateId s) final
 
const FSTGetFst () const final
 
uint64_t Properties (uint64_t inprops) const override
 
const M * GetMatcher () const
 
uint32_t Flags () const override
 
- Public Member Functions inherited from fst::MatcherBase< M::Arc >
virtual ~MatcherBase ()=default
 

Detailed Description

template<class M>
class fst::ExplicitMatcher< M >

Definition at line 1431 of file matcher.h.

Member Typedef Documentation

template<class M >
using fst::ExplicitMatcher< M >::Arc = typename FST::Arc

Definition at line 1434 of file matcher.h.

template<class M >
using fst::ExplicitMatcher< M >::FST = typename M::FST

Definition at line 1433 of file matcher.h.

template<class M >
using fst::ExplicitMatcher< M >::Label = typename Arc::Label

Definition at line 1435 of file matcher.h.

template<class M >
using fst::ExplicitMatcher< M >::StateId = typename Arc::StateId

Definition at line 1436 of file matcher.h.

template<class M >
using fst::ExplicitMatcher< M >::Weight = typename Arc::Weight

Definition at line 1437 of file matcher.h.

Constructor & Destructor Documentation

template<class M >
fst::ExplicitMatcher< M >::ExplicitMatcher ( const FST fst,
MatchType  match_type,
M *  matcher = nullptr 
)
inline

Definition at line 1440 of file matcher.h.

template<class M >
fst::ExplicitMatcher< M >::ExplicitMatcher ( const FST fst,
MatchType  match_type,
M *  matcher = nullptr 
)
inline

Definition at line 1446 of file matcher.h.

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

Definition at line 1452 of file matcher.h.

Member Function Documentation

template<class M >
ExplicitMatcher* fst::ExplicitMatcher< M >::Copy ( bool  safe = false) const
inlineoverridevirtual

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

Definition at line 1457 of file matcher.h.

template<class M >
bool fst::ExplicitMatcher< M >::Done ( ) const
inlinefinalvirtual

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

Definition at line 1471 of file matcher.h.

template<class M >
Weight fst::ExplicitMatcher< M >::Final ( StateId  s) const
inlinefinalvirtual

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

Definition at line 1480 of file matcher.h.

template<class M >
bool fst::ExplicitMatcher< M >::Find ( Label  label)
inlinefinalvirtual

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

Definition at line 1465 of file matcher.h.

template<class M >
uint32_t fst::ExplicitMatcher< M >::Flags ( ) const
inlineoverridevirtual

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

Definition at line 1492 of file matcher.h.

template<class M >
const FST& fst::ExplicitMatcher< M >::GetFst ( ) const
inlinefinalvirtual

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

Definition at line 1484 of file matcher.h.

template<class M >
const M* fst::ExplicitMatcher< M >::GetMatcher ( ) const
inline

Definition at line 1490 of file matcher.h.

template<class M >
void fst::ExplicitMatcher< M >::Next ( )
inlinefinalvirtual

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

Definition at line 1475 of file matcher.h.

template<class M >
ssize_t fst::ExplicitMatcher< M >::Priority ( StateId  s)
inlinefinalvirtual

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

Definition at line 1482 of file matcher.h.

template<class M >
uint64_t fst::ExplicitMatcher< M >::Properties ( uint64_t  inprops) const
inlineoverridevirtual

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

Definition at line 1486 of file matcher.h.

template<class M >
void fst::ExplicitMatcher< M >::SetState ( StateId  s)
inlinefinalvirtual

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

Definition at line 1463 of file matcher.h.

template<class M >
MatchType fst::ExplicitMatcher< M >::Type ( bool  test) const
inlineoverridevirtual

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

Definition at line 1461 of file matcher.h.

template<class M >
const Arc& fst::ExplicitMatcher< M >::Value ( ) const
inlinefinalvirtual

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

Definition at line 1473 of file matcher.h.


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