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

#include <matcher.h>

Inheritance diagram for fst::SortedMatcher< F >:
Inheritance graph
[legend]
Collaboration diagram for fst::SortedMatcher< 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

 SortedMatcher (const FST &fst, MatchType match_type, Label binary_label=1)
 
 SortedMatcher (const FST *fst, MatchType match_type, Label binary_label=1)
 
 SortedMatcher (const SortedMatcher &matcher, bool safe=false)
 
 ~SortedMatcher () override
 
SortedMatcherCopy (bool safe=false) const override
 
MatchType Type (bool test) const override
 
void SetState (StateId s) final
 
bool Find (Label match_label) final
 
void LowerBound (Label label)
 
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 override
 
uint64 Properties (uint64 inprops) const override
 
size_t Position () const
 
- Public Member Functions inherited from fst::MatcherBase< F::Arc >
virtual ~MatcherBase ()
 
virtual uint32 Flags () const
 

Detailed Description

template<class F>
class fst::SortedMatcher< F >

Definition at line 167 of file matcher.h.

Member Typedef Documentation

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

Definition at line 170 of file matcher.h.

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

Definition at line 169 of file matcher.h.

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

Definition at line 171 of file matcher.h.

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

Definition at line 172 of file matcher.h.

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

Definition at line 173 of file matcher.h.

Constructor & Destructor Documentation

template<class F>
fst::SortedMatcher< F >::SortedMatcher ( const FST fst,
MatchType  match_type,
Label  binary_label = 1 
)
inline

Definition at line 181 of file matcher.h.

template<class F>
fst::SortedMatcher< F >::SortedMatcher ( const FST fst,
MatchType  match_type,
Label  binary_label = 1 
)
inline

Definition at line 189 of file matcher.h.

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

Definition at line 215 of file matcher.h.

template<class F>
fst::SortedMatcher< F >::~SortedMatcher ( )
inlineoverride

Definition at line 228 of file matcher.h.

Member Function Documentation

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

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

Definition at line 230 of file matcher.h.

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

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

Definition at line 295 of file matcher.h.

template<class F>
Weight fst::SortedMatcher< F >::Final ( StateId  s) const
inlinefinalvirtual

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

Definition at line 319 of file matcher.h.

template<class F>
bool fst::SortedMatcher< F >::Find ( Label  match_label)
inlinefinalvirtual

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

Definition at line 264 of file matcher.h.

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

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

Definition at line 323 of file matcher.h.

template<class F>
void fst::SortedMatcher< F >::LowerBound ( Label  label)
inline

Definition at line 282 of file matcher.h.

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

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

Definition at line 311 of file matcher.h.

template<class F>
size_t fst::SortedMatcher< F >::Position ( ) const
inline

Definition at line 329 of file matcher.h.

template<class F>
ssize_t fst::SortedMatcher< F >::Priority ( StateId  s)
inlinefinalvirtual

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

Definition at line 321 of file matcher.h.

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

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

Definition at line 325 of file matcher.h.

template<class F>
void fst::SortedMatcher< F >::SetState ( StateId  s)
inlinefinalvirtual

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

Definition at line 250 of file matcher.h.

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

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

Definition at line 234 of file matcher.h.

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

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

Definition at line 305 of file matcher.h.


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