Public Types | Public Member Functions

fst::MatcherBase< A > Class Template Reference

#include <fst/matcher.h>

Inherited by fst::LookAheadMatcherBase< A >.

List of all members.

Public Types

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

Public Member Functions

virtual ~MatcherBase ()
virtual MatcherBase< A > * Copy (bool safe=false) const =0
virtual MatchType Type (bool test) const =0
void SetState (StateId s)
bool Find (Label label)
bool Done () const
const A & Value () const
void Next ()
virtual const Fst< A > & GetFst () const =0
virtual uint64 Properties (uint64 props) const =0
virtual uint32 Flags () const

Detailed Description

template<class A>
class fst::MatcherBase< A >

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

Definition at line 92 of file matcher.h.


Member Typedef Documentation

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

Constructor & Destructor Documentation

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

Definition at line 99 of file matcher.h.


Member Function Documentation

template<class A>
virtual MatcherBase<A>* fst::MatcherBase< A >::Copy ( bool  safe = false  )  const [pure virtual]
template<class A>
bool fst::MatcherBase< A >::Done (  )  const [inline]
template<class A>
bool fst::MatcherBase< A >::Find ( Label  label  )  [inline]

Definition at line 104 of file matcher.h.

template<class A>
virtual uint32 fst::MatcherBase< A >::Flags (  )  const [inline, virtual]
template<class A>
virtual const Fst<A>& fst::MatcherBase< A >::GetFst (  )  const [pure virtual]
template<class A>
void fst::MatcherBase< A >::Next (  )  [inline]
template<class A>
virtual uint64 fst::MatcherBase< A >::Properties ( uint64  props  )  const [pure virtual]
template<class A>
void fst::MatcherBase< A >::SetState ( StateId  s  )  [inline]

Definition at line 103 of file matcher.h.

template<class A>
virtual MatchType fst::MatcherBase< A >::Type ( bool  test  )  const [pure virtual]
template<class A>
const A& fst::MatcherBase< A >::Value (  )  const [inline]

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