FST  openfst-1.7.1
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::QueueBase< S > Class Template Referenceabstract

#include <queue.h>

Inheritance diagram for fst::QueueBase< S >:
Inheritance graph
[legend]

Public Types

using StateId = S
 

Public Member Functions

virtual ~QueueBase ()
 
 QueueBase (QueueType type)
 
void SetError (bool error)
 
bool Error () const
 
QueueType Type () const
 
virtual StateId Head () const =0
 
virtual void Enqueue (StateId)=0
 
virtual void Dequeue ()=0
 
virtual void Update (StateId)=0
 
virtual bool Empty () const =0
 
virtual void Clear ()=0
 

Detailed Description

template<class S>
class fst::QueueBase< S >

Definition at line 70 of file queue.h.

Member Typedef Documentation

template<class S>
using fst::QueueBase< S >::StateId = S

Definition at line 72 of file queue.h.

Constructor & Destructor Documentation

template<class S>
virtual fst::QueueBase< S >::~QueueBase ( )
inlinevirtual

Definition at line 74 of file queue.h.

template<class S>
fst::QueueBase< S >::QueueBase ( QueueType  type)
inlineexplicit

Definition at line 78 of file queue.h.

Member Function Documentation

template<class S>
virtual void fst::QueueBase< S >::Clear ( )
pure virtual
template<class S>
virtual void fst::QueueBase< S >::Dequeue ( )
pure virtual
template<class S>
virtual bool fst::QueueBase< S >::Empty ( ) const
pure virtual
template<class S>
virtual void fst::QueueBase< S >::Enqueue ( StateId  )
pure virtual
template<class S>
bool fst::QueueBase< S >::Error ( ) const
inline

Definition at line 82 of file queue.h.

template<class S>
virtual StateId fst::QueueBase< S >::Head ( ) const
pure virtual
template<class S>
void fst::QueueBase< S >::SetError ( bool  error)
inline

Definition at line 80 of file queue.h.

template<class S>
QueueType fst::QueueBase< S >::Type ( ) const
inline

Definition at line 84 of file queue.h.

template<class S>
virtual void fst::QueueBase< S >::Update ( StateId  )
pure virtual

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