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

vtkAdaptorContainer.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: vtkAdaptorContainer.h,v 1.2 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_ADAPTOR_CONTAINER_H_
00017 #  define VTK_ADAPTOR_CONTAINER_H_
00018 #  include "vtkContainer.h"
00019 
00028 class VTK_CONTAINERS_EXPORT vtkAdaptorContainer
00029   : public vtkContainer
00030 {
00031 public:
00032   vtkTypeRevisionMacro (vtkAdaptorContainer, vtkContainer);
00033   void PrintSelf (ostream&, vtkIndent);
00034 
00039   virtual int   Swap (vtkAdaptorContainer* container) = 0;
00040 
00045   virtual int   Copy (vtkAdaptorContainer* container) = 0;
00046 
00047 protected:
00048   vtkAdaptorContainer (void);
00049   ~vtkAdaptorContainer();
00050 
00051 private:
00052   //BTX
00055   int Swap (vtkContainer* a)
00056     { return this->Swap(static_cast<vtkAdaptorContainer*>(a)); }
00057   int Copy (vtkContainer* a)
00058     { return this->Copy(static_cast<vtkAdaptorContainer*>(a)); }
00059   vtkIterator* CreateIterator (void);
00061   //ETX
00062 
00063 private:
00069   vtkAdaptorContainer (const vtkAdaptorContainer&);
00070   void operator= (const vtkAdaptorContainer&);
00072 };
00073 
00074 #endif /* VTK_ADAPTOR_CONTAINER_H_ */
00075 /* 
00076  * End of: $Id: vtkAdaptorContainer.h,v 1.2 2005/06/24 23:17:16 xpxqx Exp $.
00077  * 
00078  */

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