VTK: IO/PostgreSQL/vtkTableToPostgreSQLWriter.h Source File

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