VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkMySQLToTableReader.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 __vtkMySQLToTableReader_h 00026 #define __vtkMySQLToTableReader_h 00027 00028 #include "vtkIOMySQLModule.h" // For export macro 00029 #include "vtkDatabaseToTableReader.h" 00030 00031 class vtkMySQLDatabase; 00032 00033 class VTKIOMYSQL_EXPORT vtkMySQLToTableReader : 00034 public vtkDatabaseToTableReader 00035 { 00036 public: 00037 static vtkMySQLToTableReader *New(); 00038 vtkTypeMacro(vtkMySQLToTableReader,vtkDatabaseToTableReader); 00039 void PrintSelf(ostream& os, vtkIndent indent); 00040 00041 protected: 00042 vtkMySQLToTableReader(); 00043 ~vtkMySQLToTableReader(); 00044 int RequestData(vtkInformation *, vtkInformationVector **, 00045 vtkInformationVector *); 00046 private: 00047 vtkMySQLToTableReader(const vtkMySQLToTableReader&); // Not implemented. 00048 void operator=(const vtkMySQLToTableReader&); // Not implemented 00049 00050 }; 00051 00052 #endif