VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkPostgreSQLToTableReader.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00025 #ifndef __vtkPostgreSQLToTableReader_h 00026 #define __vtkPostgreSQLToTableReader_h 00027 00028 #include "vtkIOPostgreSQLModule.h" // For export macro 00029 #include "vtkDatabaseToTableReader.h" 00030 00031 class vtkPostgreSQLDatabase; 00032 00033 class VTKIOPOSTGRESQL_EXPORT vtkPostgreSQLToTableReader : 00034 public vtkDatabaseToTableReader 00035 { 00036 public: 00037 static vtkPostgreSQLToTableReader *New(); 00038 vtkTypeMacro(vtkPostgreSQLToTableReader,vtkDatabaseToTableReader); 00039 void PrintSelf(ostream& os, vtkIndent indent); 00040 00041 protected: 00042 vtkPostgreSQLToTableReader(); 00043 ~vtkPostgreSQLToTableReader(); 00044 int RequestData(vtkInformation *, vtkInformationVector **, 00045 vtkInformationVector *); 00046 private: 00047 vtkPostgreSQLToTableReader(const vtkPostgreSQLToTableReader&); // Not implemented. 00048 void operator=(const vtkPostgreSQLToTableReader&); // Not implemented. 00049 }; 00050 00051 #endif