VTK  9.1.0
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=========================================================================*/
23#ifndef vtkTableToPostgreSQLWriter_h
24#define vtkTableToPostgreSQLWriter_h
25
26#include "vtkIOPostgreSQLModule.h" // For export macro
28
30
31class VTKIOPOSTGRESQL_EXPORT vtkTableToPostgreSQLWriter : public vtkTableToDatabaseWriter
32{
33public:
36 void PrintSelf(ostream& os, vtkIndent indent) override;
37
39
45
46protected:
49 void WriteData() override;
50
52
53private:
55 void operator=(const vtkTableToPostgreSQLWriter&) = delete;
56};
57
58#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
Store vtkAlgorithm input/output information.
maintain a connection to a PostgreSQL database
store a vtkTable in a PostgreSQL database
vtkTable * GetInput()
Get the input to this writer.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTable * GetInput(int port)
Get the input to this writer.
void WriteData() override
~vtkTableToPostgreSQLWriter() override
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
static vtkTableToPostgreSQLWriter * New()
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:172
@ info
Definition: vtkX3D.h:382
@ port
Definition: vtkX3D.h:453