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

#include <fst-decl.h>

Public Types

using FST = F
 
using Arc = typename F::Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

 Matcher (const FST &fst, MatchType match_type)
 
 Matcher (const FST *fst, MatchType match_type)
 
 Matcher (const Matcher &matcher, bool safe=false)
 
 Matcher (MatcherBase< Arc > *base_matcher)
 
MatcherCopy (bool safe=false) const
 
MatchType Type (bool test) const
 
void SetState (StateId s)
 
bool Find (Label label)
 
bool Done () const
 
const ArcValue () const
 
void Next ()
 
const FSTGetFst () const
 
uint64_t Properties (uint64_t props) const
 
Weight Final (StateId s) const
 
uint32_t Flags () const
 
ssize_t Priority (StateId s)
 

Detailed Description

template<class F>
class fst::Matcher< F >

Definition at line 263 of file fst-decl.h.

Member Typedef Documentation

template<class F>
using fst::Matcher< F >::Arc = typename F::Arc

Definition at line 1525 of file matcher.h.

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

Definition at line 1524 of file matcher.h.

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

Definition at line 1526 of file matcher.h.

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

Definition at line 1527 of file matcher.h.

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

Definition at line 1528 of file matcher.h.

Constructor & Destructor Documentation

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

Definition at line 1531 of file matcher.h.

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

Definition at line 1539 of file matcher.h.

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

Definition at line 1545 of file matcher.h.

template<class F>
fst::Matcher< F >::Matcher ( MatcherBase< Arc > *  base_matcher)
inlineexplicit

Definition at line 1549 of file matcher.h.

Member Function Documentation

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

Definition at line 1551 of file matcher.h.

template<class F>
bool fst::Matcher< F >::Done ( ) const
inline

Definition at line 1559 of file matcher.h.

template<class F>
Weight fst::Matcher< F >::Final ( StateId  s) const
inline

Definition at line 1569 of file matcher.h.

template<class F>
bool fst::Matcher< F >::Find ( Label  label)
inline

Definition at line 1557 of file matcher.h.

template<class F>
uint32_t fst::Matcher< F >::Flags ( ) const
inline

Definition at line 1571 of file matcher.h.

template<class F>
const FST& fst::Matcher< F >::GetFst ( ) const
inline

Definition at line 1565 of file matcher.h.

template<class F>
void fst::Matcher< F >::Next ( )
inline

Definition at line 1563 of file matcher.h.

template<class F>
ssize_t fst::Matcher< F >::Priority ( StateId  s)
inline

Definition at line 1573 of file matcher.h.

template<class F>
uint64_t fst::Matcher< F >::Properties ( uint64_t  props) const
inline

Definition at line 1567 of file matcher.h.

template<class F>
void fst::Matcher< F >::SetState ( StateId  s)
inline

Definition at line 1555 of file matcher.h.

template<class F>
MatchType fst::Matcher< F >::Type ( bool  test) const
inline

Definition at line 1553 of file matcher.h.

template<class F>
const Arc& fst::Matcher< F >::Value ( ) const
inline

Definition at line 1561 of file matcher.h.


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