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

vtkObjectQueue.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: vtkObjectQueue.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_QUEUE_H_
00017 #  define VTK_OBJECT_QUEUE_H_
00018 #  include "vtkObjectBaseQueue.h"
00019 
00030 class VTK_CONTAINERS_EXPORT vtkObjectQueue
00031   : public vtkObjectBaseQueue
00032 {
00033 public:
00034   static vtkObjectQueue* New (void);
00035   vtkTypeRevisionMacro (vtkObjectQueue, vtkObjectBaseQueue);
00036   void PrintSelf (ostream&, vtkIndent);
00037 
00042   virtual int           Swap (vtkObjectQueue* container)
00043     { return this->Superclass::Swap(container); }
00044 
00049   virtual int           Copy (vtkObjectQueue* container)
00050     { return this->Superclass::Copy(container); }
00051 
00058   virtual int   Push (vtkObject* item)
00059     { return this->Superclass::Push(item); }
00060 
00067   vtkObject*    At (vtkIdType position) const
00068     { return static_cast<vtkObject*>(this->Superclass::At(position)); }
00069 
00074   vtkObject*    Front (void) const
00075     { return static_cast<vtkObject*>(this->Superclass::Front()); }
00076 
00081   vtkObject*    Back (void) const
00082     { return static_cast<vtkObject*>(this->Superclass::Back()); }
00083 
00084 protected:
00085   vtkObjectQueue (void);
00086   ~vtkObjectQueue();
00087 
00088 private:
00089   //BTX
00092   int Swap (vtkObjectBaseQueue* a)
00093     { return this->Superclass::Swap(a); }
00094   int Copy (vtkObjectBaseQueue* a)
00095     { return this->Superclass::Copy(a); }
00096   int Push (vtkObjectBase* object)
00097     { return this->Superclass::Push(object); }
00099   //ETX
00100 
00101 private:
00107   vtkObjectQueue (const vtkObjectQueue&);
00108   void operator= (const vtkObjectQueue&);
00110 };
00111 
00112 #endif /* VTK_OBJECT_QUEUE_H_ */
00113 /* 
00114  * End of: $Id: vtkObjectQueue.h,v 1.3 2005/06/24 23:17:16 xpxqx Exp $.
00115  * 
00116  */

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