FST  openfst-1.8.3
OpenFst Library
Public Types | Public Member Functions | Protected Member Functions | List of all members
fst::LookAheadMatcherBase< Arc > Class Template Referenceabstract

#include <lookahead-matcher.h>

Inheritance diagram for fst::LookAheadMatcherBase< Arc >:
Inheritance graph
[legend]
Collaboration diagram for fst::LookAheadMatcherBase< Arc >:
Collaboration graph
[legend]

Public Types

using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 
- Public Types inherited from fst::MatcherBase< Arc >
using Arc = Arc
 
using Label = typename Arc::Label
 
using StateId = typename Arc::StateId
 
using Weight = typename Arc::Weight
 

Public Member Functions

virtual void InitLookAheadFst (const Fst< Arc > &, bool copy=false)=0
 
virtual bool LookAheadFst (const Fst< Arc > &, StateId)=0
 
virtual bool LookAheadLabel (Label) const =0
 
bool LookAheadPrefix (Arc *arc) const
 
Weight LookAheadWeight () const
 
- Public Member Functions inherited from fst::MatcherBase< Arc >
virtual ~MatcherBase ()=default
 
virtual MatcherBaseCopy (bool safe=false) const =0
 
virtual MatchType Type (bool) const =0
 
virtual void SetState (StateId)=0
 
virtual bool Find (Label)=0
 
virtual bool Done () const =0
 
virtual const ArcValue () const =0
 
virtual void Next ()=0
 
virtual const Fst< Arc > & GetFst () const =0
 
virtual uint64_t Properties (uint64_t) const =0
 
virtual uint32_t Flags () const
 
virtual Weight Final (StateId s) const
 
virtual ssize_t Priority (StateId s)
 

Protected Member Functions

void ClearLookAheadWeight ()
 
void SetLookAheadWeight (Weight weight)
 
void ClearLookAheadPrefix ()
 
void SetLookAheadPrefix (Arc arc)
 

Detailed Description

template<class Arc>
class fst::LookAheadMatcherBase< Arc >

Definition at line 146 of file lookahead-matcher.h.

Member Typedef Documentation

template<class Arc>
using fst::LookAheadMatcherBase< Arc >::Label = typename Arc::Label

Definition at line 148 of file lookahead-matcher.h.

template<class Arc>
using fst::LookAheadMatcherBase< Arc >::StateId = typename Arc::StateId

Definition at line 149 of file lookahead-matcher.h.

template<class Arc>
using fst::LookAheadMatcherBase< Arc >::Weight = typename Arc::Weight

Definition at line 150 of file lookahead-matcher.h.

Member Function Documentation

template<class Arc>
void fst::LookAheadMatcherBase< Arc >::ClearLookAheadPrefix ( )
inlineprotected

Definition at line 176 of file lookahead-matcher.h.

template<class Arc>
void fst::LookAheadMatcherBase< Arc >::ClearLookAheadWeight ( )
inlineprotected

Definition at line 172 of file lookahead-matcher.h.

template<class Arc>
virtual void fst::LookAheadMatcherBase< Arc >::InitLookAheadFst ( const Fst< Arc > &  ,
bool  copy = false 
)
pure virtual
template<class Arc>
virtual bool fst::LookAheadMatcherBase< Arc >::LookAheadFst ( const Fst< Arc > &  ,
StateId   
)
pure virtual
template<class Arc>
virtual bool fst::LookAheadMatcherBase< Arc >::LookAheadLabel ( Label  ) const
pure virtual
template<class Arc>
bool fst::LookAheadMatcherBase< Arc >::LookAheadPrefix ( Arc arc) const
inline

Definition at line 158 of file lookahead-matcher.h.

template<class Arc>
Weight fst::LookAheadMatcherBase< Arc >::LookAheadWeight ( ) const
inline

Definition at line 167 of file lookahead-matcher.h.

template<class Arc>
void fst::LookAheadMatcherBase< Arc >::SetLookAheadPrefix ( Arc  arc)
inlineprotected

Definition at line 178 of file lookahead-matcher.h.

template<class Arc>
void fst::LookAheadMatcherBase< Arc >::SetLookAheadWeight ( Weight  weight)
inlineprotected

Definition at line 174 of file lookahead-matcher.h.


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