VTK
9.0.1
IO
PostgreSQL
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
27
#include "
vtkTableToDatabaseWriter.h
"
28
29
class
vtkPostgreSQLDatabase
;
30
31
class
VTKIOPOSTGRESQL_EXPORT
vtkTableToPostgreSQLWriter
:
public
vtkTableToDatabaseWriter
32
{
33
public
:
34
static
vtkTableToPostgreSQLWriter
*
New
();
35
vtkTypeMacro(
vtkTableToPostgreSQLWriter
,
vtkTableToDatabaseWriter
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
37
39
42
vtkTable
*
GetInput
();
43
vtkTable
*
GetInput
(
int
port
);
45
46
protected
:
47
vtkTableToPostgreSQLWriter
();
48
~
vtkTableToPostgreSQLWriter
()
override
;
49
void
WriteData
()
override
;
50
51
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
)
override
;
52
53
private
:
54
vtkTableToPostgreSQLWriter
(
const
vtkTableToPostgreSQLWriter
&) =
delete
;
55
void
operator=(
const
vtkTableToPostgreSQLWriter
&) =
delete
;
56
};
57
58
#endif
vtkTableToDatabaseWriter::GetInput
vtkTable * GetInput()
Get the input to this writer.
vtkTableToDatabaseWriter::WriteData
void WriteData() override=0
vtkTable
A table, which contains similar-typed columns of data.
Definition:
vtkTable.h:62
vtkTableToDatabaseWriter
Definition:
vtkTableToDatabaseWriter.h:34
vtkPostgreSQLDatabase
maintain a connection to a PostgreSQL database
Definition:
vtkPostgreSQLDatabase.h:57
vtkX3D::port
@ port
Definition:
vtkX3D.h:453
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkTableToDatabaseWriter::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkTableToPostgreSQLWriter
store a vtkTable in a PostgreSQL database
Definition:
vtkTableToPostgreSQLWriter.h:31
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:73
vtkX3D::info
@ info
Definition:
vtkX3D.h:382
vtkAlgorithm::New
static vtkAlgorithm * New()
vtkTableToDatabaseWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTableToDatabaseWriter.h
Generated on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17