Open
Graph Drawing
Framework

 v. 2022.02 (Dogwood)
 

Minisat::Internal::Queue< T > Class Template Reference

#include <ogdf/lib/minisat/mtl/Queue.h>

Public Types

using Key = T
 

Public Member Functions

 Queue ()
 
void clear (bool dealloc=false)
 
void insert (T elem)
 
T & operator[] (int index)
 
const T & operator[] (int index) const
 
peek () const
 
void pop ()
 
int size () const
 

Private Attributes

vec< T > buf
 
int end
 
int first
 

Detailed Description

template<class T>
class Minisat::Internal::Queue< T >

Definition at line 31 of file Queue.h.

Member Typedef Documentation

◆ Key

template<class T >
using Minisat::Internal::Queue< T >::Key = T

Definition at line 37 of file Queue.h.

Constructor & Destructor Documentation

◆ Queue()

template<class T >
Minisat::Internal::Queue< T >::Queue ( )
inline

Definition at line 39 of file Queue.h.

Member Function Documentation

◆ clear()

template<class T >
void Minisat::Internal::Queue< T >::clear ( bool  dealloc = false)
inline

Definition at line 41 of file Queue.h.

◆ insert()

template<class T >
void Minisat::Internal::Queue< T >::insert ( elem)
inline

Definition at line 49 of file Queue.h.

◆ operator[]() [1/2]

template<class T >
T& Minisat::Internal::Queue< T >::operator[] ( int  index)
inline

Definition at line 45 of file Queue.h.

◆ operator[]() [2/2]

template<class T >
const T& Minisat::Internal::Queue< T >::operator[] ( int  index) const
inline

Definition at line 44 of file Queue.h.

◆ peek()

template<class T >
T Minisat::Internal::Queue< T >::peek ( ) const
inline

Definition at line 47 of file Queue.h.

◆ pop()

template<class T >
void Minisat::Internal::Queue< T >::pop ( )
inline

Definition at line 48 of file Queue.h.

◆ size()

template<class T >
int Minisat::Internal::Queue< T >::size ( ) const
inline

Definition at line 42 of file Queue.h.

Member Data Documentation

◆ buf

template<class T >
vec<T> Minisat::Internal::Queue< T >::buf
private

Definition at line 32 of file Queue.h.

◆ end

template<class T >
int Minisat::Internal::Queue< T >::end
private

Definition at line 34 of file Queue.h.

◆ first

template<class T >
int Minisat::Internal::Queue< T >::first
private

Definition at line 33 of file Queue.h.


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