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

vtkContainer.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: vtkContainer.h,v 1.10 2004/06/03 18:58:28 xpxqx Exp $ 00004 * 00005 * Copyright (c) 2004 Sean McInerney 00006 * All rights reserved. 00007 * 00008 * See Copyright.txt or http://vtkextensions.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_CONTAINER_H_ 00017 # define VTK_CONTAINER_H_ 00018 # include "vtkExtensionsContainersConfigure.h" 00019 # include "vtkExtensionsTypes.h" 00020 # include "vtkExtensionsExceptions.h" 00021 # include "vtkExtensionsObject.h" 00022 00023 VTK_EXTENSIONS_CONTAINERS_NAMESPACE_BEGIN 00024 00025 class vtkIterator; 00026 00036 class VTK_EXTENSIONS_CONTAINERS_EXPORT vtkContainer 00037 : public vtkExtensionsObject 00038 { 00039 public: 00040 vtkTypeRevisionMacro (vtkContainer, vtkExtensionsObject); 00041 void PrintSelf (ostream&, vtkIndent); 00042 00044 virtual vtkIdType GetSize (void) const; 00045 00047 virtual int IsEmpty (void) const; 00048 00050 virtual vtkIdType GetMaxSize (void) const; 00051 00053 virtual void Clear (void) = 0; 00054 00059 virtual int Swap (vtkContainer* container) = 0; 00060 00068 virtual vtkObjectBase* Front (void) const; 00069 00075 virtual vtkObjectBase* Back (void) const; 00079 virtual vtkIterator* CreateIterator (void) = 0; 00080 00081 protected: 00082 vtkContainer (void) {} 00083 ~vtkContainer() {} 00084 00085 private: 00091 vtkContainer (const vtkContainer&); 00092 void operator= (const vtkContainer&); 00094 }; 00095 00096 VTK_EXTENSIONS_CONTAINERS_NAMESPACE_END 00097 00098 #endif /* VTK_CONTAINER_H_ */ 00099 /* 00100 * End of: $Id: vtkContainer.h,v 1.10 2004/06/03 18:58:28 xpxqx Exp $. 00101 * 00102 */

Generated on Tue Aug 10 03:37:04 2004 for vtkExtensions by doxygen 1.3.7