FST  openfst-1.8.3
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 ()
 
 ~LifoQueue () 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 ()=default
 
 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 179 of file queue.h.

Member Typedef Documentation

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

Definition at line 181 of file queue.h.

Constructor & Destructor Documentation

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

Definition at line 183 of file queue.h.

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

Member Function Documentation

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

Implements fst::QueueBase< S >.

Definition at line 197 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 191 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 195 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 189 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 187 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 193 of file queue.h.


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