FST  openfst-1.6.9
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< M > &matcher, bool safe=false)
 
ExplicitMatcher< M > * Copy (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 Properties (uint64 inprops) const override
 
const M * GetMatcher () const
 
uint32 Flags () const override
 
- Public Member Functions inherited from fst::MatcherBase< M::Arc >
virtual ~MatcherBase ()
 

Detailed Description

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

Definition at line 1408 of file matcher.h.

Member Typedef Documentation

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

Definition at line 1411 of file matcher.h.

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

Definition at line 1410 of file matcher.h.

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

Definition at line 1412 of file matcher.h.

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

Definition at line 1413 of file matcher.h.

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

Definition at line 1414 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 1417 of file matcher.h.

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

Definition at line 1423 of file matcher.h.

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

Definition at line 1429 of file matcher.h.

Member Function Documentation

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

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

Definition at line 1434 of file matcher.h.

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

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

Definition at line 1448 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 1457 of file matcher.h.

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

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

Definition at line 1442 of file matcher.h.

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

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

Definition at line 1469 of file matcher.h.

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

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

Definition at line 1461 of file matcher.h.

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

Definition at line 1467 of file matcher.h.

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

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

Definition at line 1452 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 1459 of file matcher.h.

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

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

Definition at line 1463 of file matcher.h.

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

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

Definition at line 1440 of file matcher.h.

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

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

Definition at line 1438 of file matcher.h.

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

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

Definition at line 1450 of file matcher.h.


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