FST  openfst-1.6.8
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 ()
 
virtual ~StateOrderQueue ()=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 360 of file queue.h.

Member Typedef Documentation

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

Definition at line 362 of file queue.h.

Constructor & Destructor Documentation

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

Definition at line 364 of file queue.h.

template<class S>
virtual fst::StateOrderQueue< S >::~StateOrderQueue ( )
virtualdefault

Member Function Documentation

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

Implements fst::QueueBase< S >.

Definition at line 392 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 383 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 390 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 371 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 369 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 388 of file queue.h.


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