FST  openfst-1.8.2.post1
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 260 of file fst-decl.h.

Member Typedef Documentation

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

Definition at line 1518 of file matcher.h.

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

Definition at line 1517 of file matcher.h.

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

Definition at line 1519 of file matcher.h.

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

Definition at line 1520 of file matcher.h.

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

Definition at line 1521 of file matcher.h.

Constructor & Destructor Documentation

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

Definition at line 1524 of file matcher.h.

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

Definition at line 1532 of file matcher.h.

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

Definition at line 1538 of file matcher.h.

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

Definition at line 1542 of file matcher.h.

Member Function Documentation

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

Definition at line 1544 of file matcher.h.

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

Definition at line 1552 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 1550 of file matcher.h.

template<class F>
uint32_t 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 1558 of file matcher.h.

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

Definition at line 1556 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_t fst::Matcher< F >::Properties ( uint64_t  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 1548 of file matcher.h.

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

Definition at line 1546 of file matcher.h.

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

Definition at line 1554 of file matcher.h.


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