NAME

OTC_DescendingQueue - Implements a descending priority queue.

SYNOPSIS


#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
    );
};

CLASS TYPE

Concrete

DESCRIPTION

This class derives from OTC_PriorityQueue, ensuring that the priority queue is of the descending type.

INITIALISATION

inline OTC_DescendingQueue(int (*theRankFn)(T const&,T const&)=0);
inline OTC_DescendingQueue(OTC_DescendingQueue<T> const& theQueue);

ASSIGNMENT

inline OTC_DescendingQueue<T>& operator=(
  OTC_DescendingQueue<T> const& theQueue
);

SEE ALSO

OTC_PriorityQueue

LIBRARY

OTC

AUTHOR(S)

Graham Dumpleton

COPYRIGHT

Copyright 1992 1993 OTC LIMITED
Copyright 1994 DUMPLETON SOFTWARE CONSULTING PTY LIMITED