FST  openfst-1.7.1
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< FST > &matcher, bool safe=false)
 
 Matcher (MatcherBase< Arc > *base_matcher)
 
Matcher< FST > * Copy (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 Properties (uint64 props) const
 
Weight Final (StateId s) const
 
uint32 Flags () const
 
ssize_t Priority (StateId s)
 

Detailed Description

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

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

Member Typedef Documentation

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

Definition at line 1513 of file matcher.h.

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

Definition at line 1512 of file matcher.h.

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

Definition at line 1514 of file matcher.h.

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

Definition at line 1515 of file matcher.h.

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

Definition at line 1516 of file matcher.h.

Constructor & Destructor Documentation

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

Definition at line 1519 of file matcher.h.

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

Definition at line 1527 of file matcher.h.

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

Definition at line 1533 of file matcher.h.

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

Definition at line 1537 of file matcher.h.

Member Function Documentation

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

Definition at line 1540 of file matcher.h.

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

Definition at line 1550 of file matcher.h.

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

Definition at line 1562 of file matcher.h.

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

Definition at line 1548 of file matcher.h.

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

Definition at line 1564 of file matcher.h.

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

Definition at line 1556 of file matcher.h.

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

Definition at line 1554 of file matcher.h.

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

Definition at line 1566 of file matcher.h.

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

Definition at line 1560 of file matcher.h.

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

Definition at line 1546 of file matcher.h.

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

Definition at line 1544 of file matcher.h.

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

Definition at line 1552 of file matcher.h.


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