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