VTK
vtkTableToMySQLWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTableToMySQLWriter.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 =========================================================================*/
25 #ifndef __vtkTableToMySQLWriter_h
26 #define __vtkTableToMySQLWriter_h
27 
29 
30 class vtkMySQLDatabase;
31 
33 {
34 public:
35  static vtkTableToMySQLWriter *New();
37  void PrintSelf(ostream& os, vtkIndent indent);
38 
40 
41  vtkTable* GetInput();
42  vtkTable* GetInput(int port);
44 
45 protected:
48  void WriteData();
49 
51 
53 
54 private:
55  vtkTableToMySQLWriter(const vtkTableToMySQLWriter&); // Not implemented.
56  void operator=(const vtkTableToMySQLWriter&); // Not implemented.
57 };
58 
59 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Store vtkAlgorithm input/output information.
maintain a connection to a MySQL database
virtual void WriteData()=0
a simple class to control print indentation
Definition: vtkIndent.h:37
virtual int FillInputPortInformation(int port, vtkInformation *info)
store a vtkTable in a MySQL database
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:66
static vtkTableWriter * New()
#define VTK_IO_EXPORT