Public Types | Public Member Functions | Protected Member Functions

fst::LookAheadMatcherBase< A > Class Template Reference

#include <fst/lookahead-matcher.h>

Inherits fst::MatcherBase< A >.

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

List of all members.

Public Types

typedef A Arc
typedef A::StateId StateId
typedef A::Label Label
typedef A::Weight Weight

Public Member Functions

 LookAheadMatcherBase ()
virtual ~LookAheadMatcherBase ()
bool LookAheadLabel (Label label) const
bool LookAheadFst (const Fst< Arc > &fst, StateId s)
Weight LookAheadWeight () const
bool LookAheadPrefix (Arc *arc) const
virtual void InitLookAheadFst (const Fst< Arc > &fst, bool copy=false)=0

Protected Member Functions

void SetLookAheadWeight (const Weight &w)
void SetLookAheadPrefix (const Arc &arc)
void ClearLookAheadPrefix ()

Detailed Description

template<class A>
class fst::LookAheadMatcherBase< A >

LookAhead Matcher interface, templated on the Arc definition; used for lookahead matcher specializations that are returned by the InitMatcher() Fst method.

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


Member Typedef Documentation

template<class A>
typedef A fst::LookAheadMatcherBase< A >::Arc
template<class A>
typedef A::Label fst::LookAheadMatcherBase< A >::Label
template<class A>
typedef A::StateId fst::LookAheadMatcherBase< A >::StateId
template<class A>
typedef A::Weight fst::LookAheadMatcherBase< A >::Weight

Constructor & Destructor Documentation

template<class A>
fst::LookAheadMatcherBase< A >::LookAheadMatcherBase (  )  [inline]

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

template<class A>
virtual fst::LookAheadMatcherBase< A >::~LookAheadMatcherBase (  )  [inline, virtual]

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


Member Function Documentation

template<class A>
void fst::LookAheadMatcherBase< A >::ClearLookAheadPrefix (  )  [inline, protected]

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

template<class A>
virtual void fst::LookAheadMatcherBase< A >::InitLookAheadFst ( const Fst< Arc > &  fst,
bool  copy = false 
) [pure virtual]
template<class A>
bool fst::LookAheadMatcherBase< A >::LookAheadFst ( const Fst< Arc > &  fst,
StateId  s 
) [inline]

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

template<class A>
bool fst::LookAheadMatcherBase< A >::LookAheadLabel ( Label  label  )  const [inline]

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

template<class A>
bool fst::LookAheadMatcherBase< A >::LookAheadPrefix ( Arc arc  )  const [inline]

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

template<class A>
Weight fst::LookAheadMatcherBase< A >::LookAheadWeight (  )  const [inline]

Reimplemented in fst::TrivialLookAheadMatcher< M >.

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

template<class A>
void fst::LookAheadMatcherBase< A >::SetLookAheadPrefix ( const Arc arc  )  [inline, protected]

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

template<class A>
void fst::LookAheadMatcherBase< A >::SetLookAheadWeight ( const Weight w  )  [inline, protected]

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines