VTK  9.3.1
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 
20 VTK_ABI_NAMESPACE_BEGIN
22 
23 class VTKIOPOSTGRESQL_EXPORT vtkTableToPostgreSQLWriter : public vtkTableToDatabaseWriter
24 {
25 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
31 
34  vtkTable* GetInput();
35  vtkTable* GetInput(int port);
37 
38 protected:
40  ~vtkTableToPostgreSQLWriter() override;
41  void WriteData() override;
42 
44 
45 private:
47  void operator=(const vtkTableToPostgreSQLWriter&) = delete;
48 };
49 
50 VTK_ABI_NAMESPACE_END
51 #endif
Store vtkAlgorithm input/output information.
maintain a connection to a PostgreSQL database
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkTable * GetInput()
Get the input to this writer.
a simple class to control print indentation
Definition: vtkIndent.h:28
store a vtkTable in a PostgreSQL database
void WriteData() override=0
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:58
static vtkAlgorithm * New()