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

#include <matcher.h>

Public Types

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

Public Member Functions

 MultiEpsMatcher (const FST &fst, MatchType match_type, uint32_t flags=(kMultiEpsLoop|kMultiEpsList), M *matcher=nullptr, bool own_matcher=true)
 
 MultiEpsMatcher (const FST *fst, MatchType match_type, uint32_t flags=(kMultiEpsLoop|kMultiEpsList), M *matcher=nullptr, bool own_matcher=true)
 
 MultiEpsMatcher (const MultiEpsMatcher &matcher, bool safe=false)
 
 ~MultiEpsMatcher ()
 
MultiEpsMatcherCopy (bool safe=false) const
 
MatchType Type (bool test) const
 
void SetState (StateId state)
 
bool Find (Label label)
 
bool Done () const
 
const ArcValue () const
 
void Next ()
 
const FSTGetFst () const
 
uint64_t Properties (uint64_t props) const
 
const M * GetMatcher () const
 
Weight Final (StateId s) const
 
uint32_t Flags () const
 
ssize_t Priority (StateId s)
 
void AddMultiEpsLabel (Label label)
 
void RemoveMultiEpsLabel (Label label)
 
void ClearMultiEpsLabels ()
 

Detailed Description

template<class M>
class fst::MultiEpsMatcher< M >

Definition at line 1247 of file matcher.h.

Member Typedef Documentation

template<class M>
using fst::MultiEpsMatcher< M >::Arc = typename FST::Arc

Definition at line 1250 of file matcher.h.

template<class M>
using fst::MultiEpsMatcher< M >::FST = typename M::FST

Definition at line 1249 of file matcher.h.

template<class M>
using fst::MultiEpsMatcher< M >::Label = typename Arc::Label

Definition at line 1251 of file matcher.h.

template<class M>
using fst::MultiEpsMatcher< M >::StateId = typename Arc::StateId

Definition at line 1252 of file matcher.h.

template<class M>
using fst::MultiEpsMatcher< M >::Weight = typename Arc::Weight

Definition at line 1253 of file matcher.h.

Constructor & Destructor Documentation

template<class M>
fst::MultiEpsMatcher< M >::MultiEpsMatcher ( const FST fst,
MatchType  match_type,
uint32_t  flags = (kMultiEpsLoop | kMultiEpsList),
M *  matcher = nullptr,
bool  own_matcher = true 
)
inline

Definition at line 1256 of file matcher.h.

template<class M>
fst::MultiEpsMatcher< M >::MultiEpsMatcher ( const FST fst,
MatchType  match_type,
uint32_t  flags = (kMultiEpsLoop | kMultiEpsList),
M *  matcher = nullptr,
bool  own_matcher = true 
)
inline

Definition at line 1266 of file matcher.h.

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

Definition at line 1276 of file matcher.h.

template<class M>
fst::MultiEpsMatcher< M >::~MultiEpsMatcher ( )
inline

Definition at line 1285 of file matcher.h.

Member Function Documentation

template<class M>
void fst::MultiEpsMatcher< M >::AddMultiEpsLabel ( Label  label)
inline

Definition at line 1341 of file matcher.h.

template<class M>
void fst::MultiEpsMatcher< M >::ClearMultiEpsLabels ( )
inline

Definition at line 1357 of file matcher.h.

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

Definition at line 1289 of file matcher.h.

template<class M>
bool fst::MultiEpsMatcher< M >::Done ( ) const
inline

Definition at line 1302 of file matcher.h.

template<class M>
Weight fst::MultiEpsMatcher< M >::Final ( StateId  s) const
inline

Definition at line 1335 of file matcher.h.

template<class M >
bool fst::MultiEpsMatcher< M >::Find ( Label  label)
inline

Definition at line 1388 of file matcher.h.

template<class M>
uint32_t fst::MultiEpsMatcher< M >::Flags ( ) const
inline

Definition at line 1337 of file matcher.h.

template<class M>
const FST& fst::MultiEpsMatcher< M >::GetFst ( ) const
inline

Definition at line 1327 of file matcher.h.

template<class M>
const M* fst::MultiEpsMatcher< M >::GetMatcher ( ) const
inline

Definition at line 1333 of file matcher.h.

template<class M>
void fst::MultiEpsMatcher< M >::Next ( )
inline

Definition at line 1306 of file matcher.h.

template<class M>
ssize_t fst::MultiEpsMatcher< M >::Priority ( StateId  s)
inline

Definition at line 1339 of file matcher.h.

template<class M>
uint64_t fst::MultiEpsMatcher< M >::Properties ( uint64_t  props) const
inline

Definition at line 1329 of file matcher.h.

template<class M>
void fst::MultiEpsMatcher< M >::RemoveMultiEpsLabel ( Label  label)
inline

Definition at line 1349 of file matcher.h.

template<class M>
void fst::MultiEpsMatcher< M >::SetState ( StateId  state)
inline

Definition at line 1295 of file matcher.h.

template<class M>
MatchType fst::MultiEpsMatcher< M >::Type ( bool  test) const
inline

Definition at line 1293 of file matcher.h.

template<class M>
const Arc& fst::MultiEpsMatcher< M >::Value ( ) const
inline

Definition at line 1304 of file matcher.h.


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