KSquare Utilities
KKQueue.h File Reference
#include <assert.h>
#include <ctype.h>
#include <stdlib.h>
#include <memory>
#include <vector>
#include <algorithm>
#include <functional>
#include <iostream>
#include "KKBaseTypes.h"
#include "RandomNumGenerator.h"

Go to the source code of this file.

Classes

class  KKB::KKQueue< Entry >
 A typed container class/template that keeps track of entries via pointers only. More...
 

Namespaces

 KKB
 KKB The namespace for KKBase Library supporting general functionality needed by almost any application.
 

Detailed Description

*
Developed By: Kurt A. Kramer *
*
Date: Way back in history *
*
A KKQueue template. Makes it quick and easy to create Container objects. *
*
Based off the vector<> template, but consists of only pointers to objects of *
type 'Entry'. *
*
Can act as a 'Array', 'Queue', or 'Stack'. *
*
'owner' - When you create an instance of 'KKQueue' you specify weather it will *
own its contents or not. If 'KKQueue' owns its contents then it will delete *
them when it is deleted. That is 'KKQueue' will be responsible for calling *
the destructor for each 'entry' it contains. *
*
*

Definition in file KKQueue.h.