Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Patented/vtkKitwareObjectFactory.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkKitwareObjectFactory.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
00043 #ifndef __vtkKitwareObjectFactory_h
00044 #define __vtkKitwareObjectFactory_h
00045 
00046 #include "vtkObjectFactory.h"
00047 
00048 class VTK_PATENTED_EXPORT vtkKitwareObjectFactory : public vtkObjectFactory
00049 {
00050 public:
00051   static vtkKitwareObjectFactory *New() {return new vtkKitwareObjectFactory;};
00052   vtkTypeRevisionMacro(vtkKitwareObjectFactory,vtkObjectFactory);
00053   void PrintSelf(ostream& os, vtkIndent indent);  
00054   virtual const char* GetVTKSourceVersion();
00055 protected:
00056   vtkKitwareObjectFactory() {};
00057   virtual vtkObject* CreateObject(const char* vtkclassname );
00058 private:
00059   vtkKitwareObjectFactory(const vtkKitwareObjectFactory&);  // Not implemented.
00060   void operator=(const vtkKitwareObjectFactory&);  // Not implemented.
00061 };
00062 
00063 extern "C" VTK_PATENTED_EXPORT vtkObjectFactory* vtkLoad();
00064 #endif