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

#include <matcher.h>

Inheritance diagram for fst::HashMatcher< F >:
Inheritance graph
[legend]
Collaboration diagram for fst::HashMatcher< F >:
Collaboration graph
[legend]

Public Types

using FST = F
 
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< F::Arc >
using Arc = F::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 HashMatcher (const FST &fst, MatchType match_type)
 
 HashMatcher (const FST *fst, MatchType match_type)
 
 HashMatcher (const HashMatcher &matcher, bool safe=false)
 
HashMatcherCopy (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
 
const FSTGetFst () const override
 
uint64_t Properties (uint64_t inprops) const override
 
- Public Member Functions inherited from fst::MatcherBase< F::Arc >
virtual ~MatcherBase ()=default
 
virtual uint32_t Flags () const
 
virtual Weight Final (StateId s) const
 
virtual ssize_t Priority (StateId s)
 

Detailed Description

template<class F>
class fst::HashMatcher< F >

Definition at line 424 of file matcher.h.

Member Typedef Documentation

template<class F >
using fst::HashMatcher< F >::Arc = typename FST::Arc

Definition at line 427 of file matcher.h.

template<class F >
using fst::HashMatcher< F >::FST = F

Definition at line 426 of file matcher.h.

template<class F >
using fst::HashMatcher< F >::Label = typename Arc::Label

Definition at line 428 of file matcher.h.

template<class F >
using fst::HashMatcher< F >::StateId = typename Arc::StateId

Definition at line 429 of file matcher.h.

template<class F >
using fst::HashMatcher< F >::Weight = typename Arc::Weight

Definition at line 430 of file matcher.h.

Constructor & Destructor Documentation

template<class F >
fst::HashMatcher< F >::HashMatcher ( const FST fst,
MatchType  match_type 
)
inline

Definition at line 437 of file matcher.h.

template<class F >
fst::HashMatcher< F >::HashMatcher ( const FST fst,
MatchType  match_type 
)
inline

Definition at line 443 of file matcher.h.

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

Definition at line 465 of file matcher.h.

Member Function Documentation

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

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

Definition at line 475 of file matcher.h.

template<class F >
bool fst::HashMatcher< F >::Done ( ) const
inlinefinalvirtual

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

Definition at line 494 of file matcher.h.

template<class F >
bool fst::HashMatcher< F >::Find ( Label  label)
inlinefinalvirtual

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

Definition at line 484 of file matcher.h.

template<class F >
const FST& fst::HashMatcher< F >::GetFst ( ) const
inlineoverridevirtual

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

Definition at line 513 of file matcher.h.

template<class F >
void fst::HashMatcher< F >::Next ( )
inlinefinalvirtual

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

Definition at line 505 of file matcher.h.

template<class F >
uint64_t fst::HashMatcher< F >::Properties ( uint64_t  inprops) const
inlineoverridevirtual

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

Definition at line 515 of file matcher.h.

template<class F >
void fst::HashMatcher< FST >::SetState ( StateId  s)
finalvirtual

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

Definition at line 545 of file matcher.h.

template<class F >
MatchType fst::HashMatcher< F >::Type ( bool  test) const
inlineoverridevirtual

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

Definition at line 480 of file matcher.h.

template<class F >
const Arc& fst::HashMatcher< F >::Value ( ) const
inlinefinalvirtual

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

Definition at line 499 of file matcher.h.


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