FST  openfst-1.7.0
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< FST > &matcher, bool safe=false)
 
HashMatcher< FST > * 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
 
const FSTGetFst () const override
 
uint64 Properties (uint64 inprops) const override
 
- Public Member Functions inherited from fst::MatcherBase< F::Arc >
virtual ~MatcherBase ()
 
virtual uint32 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 406 of file matcher.h.

Member Typedef Documentation

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

Definition at line 409 of file matcher.h.

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

Definition at line 408 of file matcher.h.

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

Definition at line 410 of file matcher.h.

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

Definition at line 411 of file matcher.h.

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

Definition at line 412 of file matcher.h.

Constructor & Destructor Documentation

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

Definition at line 419 of file matcher.h.

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

Definition at line 425 of file matcher.h.

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

Definition at line 447 of file matcher.h.

Member Function Documentation

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

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

Definition at line 457 of file matcher.h.

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

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

Definition at line 476 of file matcher.h.

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

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

Definition at line 466 of file matcher.h.

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

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

Definition at line 495 of file matcher.h.

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

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

Definition at line 487 of file matcher.h.

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

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

Definition at line 497 of file matcher.h.

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

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

Definition at line 527 of file matcher.h.

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

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

Definition at line 462 of file matcher.h.

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

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

Definition at line 481 of file matcher.h.


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