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/04/05 19:17:25 $
00007   Version:   $Revision: 1.8 $
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 {
00036   class ITKCommon_EXPORT MetaDataObjectBase : public LightObject
00037   {
00038     public:
00040       typedef MetaDataObjectBase  Self;
00041       typedef LightObject  Superclass;
00042       typedef SmartPointer<Self>  Pointer;
00043       typedef SmartPointer<const Self>  ConstPointer;
00044 
00045 
00047       itkTypeMacro(MetaDataObjectBase, LightObject);
00048 
00053       virtual const char * GetMetaDataObjectTypeName(void) const;
00058       virtual const std::type_info & GetMetaDataObjectTypeInfo(void) const;
00063       virtual void Print(std::ostream& os) const;
00064     protected:
00066       // Should not be able to construct a new MetaDataObjectBase
00067       static  Pointer New(void);
00071       virtual ~MetaDataObjectBase();
00072       MetaDataObjectBase();
00073     private:
00074       //void * operator new(size_t nothing) {};//purposefully not implemented
00075       MetaDataObjectBase(const Self &);//purposely not implemented
00076       void operator=(const Self&); //purposely not implemented
00077   };
00078 }
00079 
00080 #endif //__itkMetaDataObjectBase_h
00081 

Generated at Tue Aug 30 16:45:18 2005 for ITK by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2000