Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

vtkObjectPriorityQueue.h

Go to the documentation of this file.
00001 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
00002  *
00003  * $Id: vtkObjectPriorityQueue.h,v 1.3 2005/06/24 23:17:16 xpxqx Exp $
00004  *
00005  * Copyright (c) 2005 Sean McInerney
00006  * All rights reserved.
00007  *
00008  * See Copyright.txt or http://vtkcontainers.sourceforge.net/Copyright.html
00009  * for details.
00010  *
00011  *    This software is distributed WITHOUT ANY WARRANTY; without even 
00012  *    the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013  *    PURPOSE.  See the above copyright notice for more information.
00014  *
00015  */
00016 #ifndef VTK_OBJECT_PRIORITY_QUEUE_H_
00017 #  define VTK_OBJECT_PRIORITY_QUEUE_H_
00018 #  include "vtkObjectBasePriorityQueue.h"
00019 
00030 class VTK_CONTAINERS_EXPORT vtkObjectPriorityQueue
00031   : public vtkObjectBasePriorityQueue
00032 {
00033 public:
00034   static vtkObjectPriorityQueue* New (void);
00035   vtkTypeRevisionMacro (vtkObjectPriorityQueue,
00036                         vtkObjectBasePriorityQueue);
00037   void PrintSelf (ostream&, vtkIndent);
00038 
00043   virtual int           Swap (vtkObjectPriorityQueue* container)
00044     { return this->Superclass::Swap(container); }
00045 
00050   virtual int           Copy (vtkObjectPriorityQueue* container)
00051     { return this->Superclass::Copy(container); }
00052 
00060   virtual int   Push (vtkObject*        item,
00061                       int               priority = 0)
00062     { return this->Superclass::Push(item, priority); }
00063 
00065   vtkObject*    Top (void) const
00066     { return static_cast<vtkObject*>(this->Superclass::Top()); }
00067 
00068 protected:
00069   vtkObjectPriorityQueue (void);
00070   ~vtkObjectPriorityQueue();
00071 
00072 private:
00073   //BTX
00076   int Swap (vtkObjectBasePriorityQueue* a)
00077     { return this->Superclass::Swap(a); }
00078   int Copy (vtkObjectBasePriorityQueue* a)
00079     { return this->Superclass::Copy(a); }
00080   int Push (vtkObjectBase* object, int priority = 0)
00081     { return this->Superclass::Push(object, priority); }
00083   //ETX
00084 
00085 private:
00091   vtkObjectPriorityQueue (const vtkObjectPriorityQueue&);
00092   void operator= (const vtkObjectPriorityQueue&);
00094 };
00095 
00096 #endif /* VTK_OBJECT_PRIORITY_QUEUE_H_ */
00097 /* 
00098  * End of: $Id: vtkObjectPriorityQueue.h,v 1.3 2005/06/24 23:17:16 xpxqx Exp $.
00099  * 
00100  */

Generated on Thu Jul 14 14:39:40 2005 for vtkContainers by doxygen 1.3.6