VTK
vtkDatabaseToTableReader.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDatabaseToTableReader.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
22 #ifndef __vtkDatabaseToTableReader_h
23 #define __vtkDatabaseToTableReader_h
24 
25 #include <vtkstd/string> // STL Header
26 #include "vtkTableReader.h"
27 
28 class vtkSQLDatabase;
29 class vtkStringArray;
30 
32 {
33 public:
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38  bool SetDatabase(vtkSQLDatabase *db);
39 
42  bool SetTableName(const char *name);
43 
45  bool CheckIfTableExists();
46 
47  vtkSQLDatabase *GetDatabase() { return this->Database; }
48 
49 protected:
53  vtkInformationVector *) = 0;
55  //BTX
57  //ETX
58 private:
59  vtkDatabaseToTableReader(const vtkDatabaseToTableReader&); // Not implemented.
60  void operator=(const vtkDatabaseToTableReader&); // Not implemented.
61 };
62 
63 #endif