#include <OTC/collctn/ascqueue.hh> template<class T> class OTC_AscendingQueue : public OTC_PriorityQueue<T> {
public:
static os_typespec* get_os_typespec();
~OTC_AscendingQueue();
inline OTC_AscendingQueue(int (*theRankFn)(T const&,T const&)=0);
inline OTC_AscendingQueue(OTC_AscendingQueue<T> const& theQueue);
inline OTC_AscendingQueue<T>& operator=( OTC_AscendingQueue<T> const& theQueue );
};
OTC_PriorityQueue
, ensuring that
the priority queue is of the ascending type.
inline OTC_AscendingQueue(int (*theRankFn)(T const&,T const&)=0);
theRankFn
is an optional comparison
function to be used in preference to
OTC_RankActions
.
inline OTC_AscendingQueue(OTC_AscendingQueue<T> const& theQueue);
theQueue
. If the queue holds pointers,
only the pointers are copied, not what
the pointers point at.
inline OTC_AscendingQueue<T>& operator=(
OTC_AscendingQueue<T> const& theQueue
);
theQueue
. If the queue
holds pointers, only the pointers are
copied, not what the pointers point at.
OTC_PriorityQueue