vtkObjectFactory.h.in 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /*=========================================================================
  2. Program: Visualization Toolkit
  3. Module: @_vtk_object_factory_library_name@ObjectFactory.h
  4. Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
  5. All rights reserved.
  6. See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
  7. This software is distributed WITHOUT ANY WARRANTY; without even
  8. the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
  9. PURPOSE. See the above copyright notice for more information.
  10. =========================================================================*/
  11. #ifndef @_vtk_object_factory_library_name@ObjectFactory_h
  12. #define @_vtk_object_factory_library_name@ObjectFactory_h
  13. #include "@_vtk_object_factory_library_name@Module.h" // For export macro
  14. #include "vtkObjectFactory.h"
  15. class @_vtk_object_factory_configure_EXPORT_MACRO@ @_vtk_object_factory_library_name@ObjectFactory : public vtkObjectFactory
  16. {
  17. public:
  18. static @_vtk_object_factory_library_name@ObjectFactory * New();
  19. vtkTypeMacro(@_vtk_object_factory_library_name@ObjectFactory, vtkObjectFactory);
  20. const char * GetDescription() override { return "@_vtk_object_factory_library_name@ factory overrides."; }
  21. const char * GetVTKSourceVersion() override;
  22. void PrintSelf(ostream &os, vtkIndent indent) override;
  23. protected:
  24. @_vtk_object_factory_library_name@ObjectFactory();
  25. private:
  26. @_vtk_object_factory_library_name@ObjectFactory(const @_vtk_object_factory_library_name@ObjectFactory&) = delete;
  27. void operator=(const @_vtk_object_factory_library_name@ObjectFactory&) = delete;
  28. };
  29. #endif // @_vtk_object_factory_library_name@ObjectFactory_h