FST  openfst-1.8.1
OpenFst Library
Public Types | Public Member Functions | List of all members
fst::StateOrderQueue< S > Class Template Reference

#include <queue.h>

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

Public Types

using StateId = S
 
- Public Types inherited from fst::QueueBase< S >
using StateId = S
 

Public Member Functions

 StateOrderQueue ()
 
 ~StateOrderQueue () override=default
 
StateId Head () const final
 
void Enqueue (StateId s) final
 
void Dequeue () final
 
void Update (StateId) final
 
bool Empty () const final
 
void Clear () final
 
- Public Member Functions inherited from fst::QueueBase< S >
virtual ~QueueBase ()
 
 QueueBase (QueueType type)
 
void SetError (bool error)
 
bool Error () const
 
QueueType Type () const
 

Detailed Description

template<class S>
class fst::StateOrderQueue< S >

Definition at line 485 of file queue.h.

Member Typedef Documentation

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

Definition at line 487 of file queue.h.

Constructor & Destructor Documentation

template<class S>
fst::StateOrderQueue< S >::StateOrderQueue ( )
inline

Definition at line 489 of file queue.h.

template<class S>
fst::StateOrderQueue< S >::~StateOrderQueue ( )
overridedefault

Member Function Documentation

template<class S>
void fst::StateOrderQueue< S >::Clear ( )
inlinefinalvirtual

Implements fst::QueueBase< S >.

Definition at line 517 of file queue.h.

template<class S>
void fst::StateOrderQueue< S >::Dequeue ( )
inlinefinalvirtual

Implements fst::QueueBase< S >.

Definition at line 508 of file queue.h.

template<class S>
bool fst::StateOrderQueue< S >::Empty ( ) const
inlinefinalvirtual

Implements fst::QueueBase< S >.

Definition at line 515 of file queue.h.

template<class S>
void fst::StateOrderQueue< S >::Enqueue ( StateId  s)
inlinefinalvirtual

Implements fst::QueueBase< S >.

Definition at line 496 of file queue.h.

template<class S>
StateId fst::StateOrderQueue< S >::Head ( ) const
inlinefinalvirtual

Implements fst::QueueBase< S >.

Definition at line 494 of file queue.h.

template<class S>
void fst::StateOrderQueue< S >::Update ( StateId  )
inlinefinalvirtual

Implements fst::QueueBase< S >.

Definition at line 513 of file queue.h.


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