FST  openfst-1.8.2.post1
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 1240 of file matcher.h.

Member Typedef Documentation

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

Definition at line 1243 of file matcher.h.

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

Definition at line 1242 of file matcher.h.

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

Definition at line 1244 of file matcher.h.

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

Definition at line 1245 of file matcher.h.

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

Definition at line 1246 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 1249 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 1259 of file matcher.h.

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

Definition at line 1269 of file matcher.h.

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

Definition at line 1278 of file matcher.h.

Member Function Documentation

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

Definition at line 1334 of file matcher.h.

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

Definition at line 1350 of file matcher.h.

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

Definition at line 1282 of file matcher.h.

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

Definition at line 1295 of file matcher.h.

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

Definition at line 1328 of file matcher.h.

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

Definition at line 1381 of file matcher.h.

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

Definition at line 1330 of file matcher.h.

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

Definition at line 1320 of file matcher.h.

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

Definition at line 1326 of file matcher.h.

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

Definition at line 1299 of file matcher.h.

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

Definition at line 1332 of file matcher.h.

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

Definition at line 1322 of file matcher.h.

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

Definition at line 1342 of file matcher.h.

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

Definition at line 1288 of file matcher.h.

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

Definition at line 1286 of file matcher.h.

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

Definition at line 1297 of file matcher.h.


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