Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itkMetaDataObjectBase.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkMetaDataObjectBase.h,v $ 00005 Language: C++ 00006 Date: $Date: 2003/09/10 14:29:16 $ 00007 Version: $Revision: 1.7 $ 00008 00009 Copyright (c) Insight Software Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 Portions of this code are covered under the VTK copyright. 00013 See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm for details. 00014 00015 This software is distributed WITHOUT ANY WARRANTY; without even 00016 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00017 PURPOSE. See the above copyright notices for more information. 00018 00019 =========================================================================*/ 00020 #ifndef MetaDataObjectBase_h_h 00021 #define MetaDataObjectBase_h_h 00022 00023 #if defined(_MSC_VER) 00024 #pragma warning ( disable : 4786 ) 00025 #endif 00026 00027 #include <typeinfo> 00028 #include <iostream> 00029 #include "itkLightObject.h" 00030 #include "itkWin32Header.h" 00031 00032 namespace itk { 00041 class ITKCommon_EXPORT MetaDataObjectBase : public LightObject 00042 { 00043 public: 00045 typedef MetaDataObjectBase Self; 00046 typedef LightObject Superclass; 00047 typedef SmartPointer<Self> Pointer; 00048 typedef SmartPointer<const Self> ConstPointer; 00049 00050 00052 itkTypeMacro(MetaDataObjectBase, LightObject); 00053 00058 virtual const char * GetMetaDataObjectTypeName(void) const; 00063 virtual const std::type_info & GetMetaDataObjectTypeInfo(void) const; 00068 virtual void Print(std::ostream& os) const; 00069 protected: 00071 // Should not be able to construct a new MetaDataObjectBase 00072 static Pointer New(void); 00076 virtual ~MetaDataObjectBase(); 00077 MetaDataObjectBase(); 00078 private: 00079 //void * operator new(size_t nothing) {};//purposefully not implemented 00080 MetaDataObjectBase(const Self &);//purposely not implemented 00081 void operator=(const Self&); //purposely not implemented 00082 }; 00083 } 00084 00085 #endif //MetaDataObjectBase_h_h 00086

Generated at Sun Apr 1 02:37:48 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000