FST  openfst-1.7.2
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 ()
 
virtual MatcherBase< Arc > * Copy (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 Properties (uint64) const =0
 
virtual uint32 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 124 of file lookahead-matcher.h.

Member Typedef Documentation

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

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

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

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

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

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

Member Function Documentation

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

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

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

Definition at line 150 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 136 of file lookahead-matcher.h.

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

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

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

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

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

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


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