FST  openfst-1.7.1
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 ()
 
virtual ~TrivialQueue ()=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::TrivialQueue< S >

Definition at line 104 of file queue.h.

Member Typedef Documentation

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

Definition at line 106 of file queue.h.

Constructor & Destructor Documentation

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

Definition at line 108 of file queue.h.

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

Member Function Documentation

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

Implements fst::QueueBase< S >.

Definition at line 122 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 116 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 120 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 114 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 112 of file queue.h.

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

Implements fst::QueueBase< S >.

Definition at line 118 of file queue.h.


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