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

#include <queue.h>

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

Public Types

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

Public Member Functions

 LifoQueue ()
 
virtual ~LifoQueue ()=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::LifoQueue< S >

Definition at line 158 of file queue.h.

Member Typedef Documentation

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

Definition at line 160 of file queue.h.

Constructor & Destructor Documentation

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

Definition at line 162 of file queue.h.

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

Member Function Documentation

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

Implements fst::QueueBase< S >.

Definition at line 176 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 170 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 174 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 168 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 166 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 172 of file queue.h.


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