VTK
vtkTableToPostgreSQLWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTableToPostgreSQLWriter.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 vtkTableToPostgreSQLWriter_h
26 #define vtkTableToPostgreSQLWriter_h
27 
28 #include "vtkIOPostgreSQLModule.h" // For export macro
30 
32 
33 class VTKIOPOSTGRESQL_EXPORT vtkTableToPostgreSQLWriter : public vtkTableToDatabaseWriter
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41 
42  vtkTable* GetInput();
43  vtkTable* GetInput(int port);
45 
46 protected:
49  void WriteData();
50 
52 
54 
55 private:
56  vtkTableToPostgreSQLWriter(const vtkTableToPostgreSQLWriter&); // Not implemented.
57  void operator=(const vtkTableToPostgreSQLWriter&); // Not implemented.
58 };
59 
60 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Store vtkAlgorithm input/output information.
maintain a connection to a PostgreSQL database
virtual void WriteData()=0
a simple class to control print indentation
Definition: vtkIndent.h:38
store a vtkTable in a PostgreSQL database
virtual int FillInputPortInformation(int port, vtkInformation *info)
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:67
static vtkAlgorithm * New()