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: 2005/10/31 22:16:10 $
00007   Version:   $Revision: 1.9 $
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 __itkMetaDataObjectBase_h
00021 #define __itkMetaDataObjectBase_h
00022 
00023 #include "itkLightObject.h"
00024 #include <typeinfo>
00025 #include <iostream>
00026 
00027 namespace itk {
00038   class ITKCommon_EXPORT MetaDataObjectBase : public LightObject
00039   {
00040     public:
00042       typedef MetaDataObjectBase  Self;
00043       typedef LightObject  Superclass;
00044       typedef SmartPointer<Self>  Pointer;
00045       typedef SmartPointer<const Self>  ConstPointer;
00046 
00047 
00049       itkTypeMacro(MetaDataObjectBase, LightObject);
00050 
00055       virtual const char * GetMetaDataObjectTypeName(void) const;
00060       virtual const std::type_info & GetMetaDataObjectTypeInfo(void) const;
00065       virtual void Print(std::ostream& os) const;
00066     protected:
00068       // Should not be able to construct a new MetaDataObjectBase
00069       static  Pointer New(void);
00073       virtual ~MetaDataObjectBase();
00074       MetaDataObjectBase();
00075     private:
00076       //void * operator new(size_t nothing) {};//purposefully not implemented
00077       MetaDataObjectBase(const Self &);//purposely not implemented
00078       void operator=(const Self&); //purposely not implemented
00079   };
00080 }
00081 
00082 #endif //__itkMetaDataObjectBase_h
00083 

Generated at Wed May 24 23:40:25 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000