VTK
dox
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
=========================================================================*/
26
#ifndef vtkTableToPostgreSQLWriter_h
27
#define vtkTableToPostgreSQLWriter_h
28
29
#include "vtkIOPostgreSQLModule.h"
// For export macro
30
#include "
vtkTableToDatabaseWriter.h
"
31
32
class
vtkPostgreSQLDatabase
;
33
34
class
VTKIOPOSTGRESQL_EXPORT
vtkTableToPostgreSQLWriter
:
public
vtkTableToDatabaseWriter
35
{
36
public
:
37
static
vtkTableToPostgreSQLWriter
*
New
();
38
vtkTypeMacro(
vtkTableToPostgreSQLWriter
,
vtkTableToDatabaseWriter
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
40
42
45
vtkTable
*
GetInput
();
46
vtkTable
*
GetInput
(
int
port
);
48
49
protected
:
50
vtkTableToPostgreSQLWriter
();
51
~
vtkTableToPostgreSQLWriter
();
52
void
WriteData
()
override
;
53
54
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
)
override
;
55
56
vtkTable
*
Input
;
57
58
private
:
59
vtkTableToPostgreSQLWriter
(
const
vtkTableToPostgreSQLWriter
&) =
delete
;
60
void
operator=(
const
vtkTableToPostgreSQLWriter
&) =
delete
;
61
};
62
63
#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:68
vtkTableToDatabaseWriter
Definition:
vtkTableToDatabaseWriter.h:34
vtkTableToPostgreSQLWriter::Input
vtkTable * Input
Definition:
vtkTableToPostgreSQLWriter.h:56
vtkPostgreSQLDatabase
maintain a connection to a PostgreSQL database
Definition:
vtkPostgreSQLDatabase.h:60
vtkX3D::port
Definition:
vtkX3D.h:447
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
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:34
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkX3D::info
Definition:
vtkX3D.h:376
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 by
1.8.16