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

#include <queue.h>

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

Public Types

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

Public Member Functions

 TrivialQueue ()
 
 ~TrivialQueue () 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::TrivialQueue< S >

Definition at line 125 of file queue.h.

Member Typedef Documentation

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

Definition at line 127 of file queue.h.

Constructor & Destructor Documentation

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

Definition at line 129 of file queue.h.

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

Member Function Documentation

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

Implements fst::QueueBase< S >.

Definition at line 143 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 137 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 141 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 135 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 133 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 139 of file queue.h.


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