Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
SimpleQueue Struct Reference
Inheritance diagram for SimpleQueue:
[legend]
Collaboration diagram for SimpleQueue:
[legend]

Public Member Functions

 SimpleQueue ()
 
void print () const
 
 SimpleQueue ()
 
 SimpleQueue ()
 
void print () const
 

Public Attributes

size_t n = 0
 
ArrayQueue< intq
 
DynListQueue< intq
 
FixedQueue< intq
 

Detailed Description

Definition at line 50 of file arrayqueue.cc.

Constructor & Destructor Documentation

◆ SimpleQueue() [1/3]

SimpleQueue::SimpleQueue ( )
inline

Definition at line 54 of file arrayqueue.cc.

References n, N, Aleph::ArrayQueue< T >::put(), and q.

◆ SimpleQueue() [2/3]

SimpleQueue::SimpleQueue ( )
inline

Definition at line 53 of file dynlistqueue.cc.

References n, N, Aleph::ArrayQueue< T >::put(), and q.

◆ SimpleQueue() [3/3]

SimpleQueue::SimpleQueue ( )
inline

Definition at line 54 of file fixedqueue.cc.

References n, N, Aleph::ArrayQueue< T >::put(), and q.

Member Function Documentation

◆ print() [1/2]

void SimpleQueue::print ( ) const
inline

Definition at line 59 of file arrayqueue.cc.

References FunctionalMethods< Container, T >::for_each(), Aleph::maps(), and q.

◆ print() [2/2]

void SimpleQueue::print ( ) const
inline

Definition at line 59 of file fixedqueue.cc.

References FunctionalMethods< Container, T >::for_each(), Aleph::maps(), and q.

Member Data Documentation

◆ n

size_t SimpleQueue::n = 0

Definition at line 52 of file arrayqueue.cc.

Referenced by SimpleQueue().

◆ q [1/3]

ArrayQueue<int> SimpleQueue::q

Definition at line 53 of file arrayqueue.cc.

Referenced by SimpleQueue(), and print().

◆ q [2/3]

DynListQueue<int> SimpleQueue::q

Definition at line 52 of file dynlistqueue.cc.

◆ q [3/3]

FixedQueue<int> SimpleQueue::q

Definition at line 53 of file fixedqueue.cc.


The documentation for this struct was generated from the following files: