FST  openfst-1.6.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 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 1399 of file matcher.h.

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

Definition at line 1398 of file matcher.h.

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

Definition at line 1400 of file matcher.h.

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

Definition at line 1401 of file matcher.h.

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

Definition at line 1402 of file matcher.h.

Constructor & Destructor Documentation

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

Definition at line 1404 of file matcher.h.

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

Definition at line 1409 of file matcher.h.

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

Definition at line 1414 of file matcher.h.

Member Function Documentation

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

Definition at line 1418 of file matcher.h.

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

Definition at line 1428 of file matcher.h.

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

Definition at line 1440 of file matcher.h.

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

Definition at line 1426 of file matcher.h.

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

Definition at line 1442 of file matcher.h.

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

Definition at line 1434 of file matcher.h.

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

Definition at line 1432 of file matcher.h.

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

Definition at line 1444 of file matcher.h.

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

Definition at line 1438 of file matcher.h.

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

Definition at line 1424 of file matcher.h.

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

Definition at line 1422 of file matcher.h.

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

Definition at line 1430 of file matcher.h.


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