VTK  9.4.20250509
vtkTableToPostgreSQLWriter.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
14#ifndef vtkTableToPostgreSQLWriter_h
15#define vtkTableToPostgreSQLWriter_h
16
17#include "vtkIOPostgreSQLModule.h" // For export macro
19
20VTK_ABI_NAMESPACE_BEGIN
22
23class VTKIOPOSTGRESQL_EXPORT vtkTableToPostgreSQLWriter : public vtkTableToDatabaseWriter
24{
25public:
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
31
35 vtkTable* GetInput(int port);
37
38protected:
41 void WriteData() override;
42
43 int FillInputPortInformation(int port, vtkInformation* info) override;
44
45private:
47 void operator=(const vtkTableToPostgreSQLWriter&) = delete;
48};
49
50VTK_ABI_NAMESPACE_END
51#endif
a simple class to control print indentation
Definition vtkIndent.h:108
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:169