VTK
dox
IO
MySQL
vtkTableToMySQLWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTableToMySQLWriter.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 vtkTableToMySQLWriter_h
27
#define vtkTableToMySQLWriter_h
28
29
#include "vtkIOMySQLModule.h"
// For export macro
30
#include "
vtkTableToDatabaseWriter.h
"
31
32
class
vtkMySQLDatabase
;
33
34
class
VTKIOMYSQL_EXPORT
vtkTableToMySQLWriter
:
public
vtkTableToDatabaseWriter
35
{
36
public
:
37
static
vtkTableToMySQLWriter
*
New
();
38
vtkTypeMacro(
vtkTableToMySQLWriter
,
vtkTableToDatabaseWriter
);
39
void
PrintSelf
(ostream& os,
vtkIndent
indent);
40
42
45
vtkTable
*
GetInput
();
46
vtkTable
*
GetInput
(
int
port
);
48
49
protected
:
50
vtkTableToMySQLWriter
();
51
~vtkTableToMySQLWriter
();
52
void
WriteData
();
53
54
virtual
int
FillInputPortInformation
(
int
port
,
vtkInformation
*
info
);
55
56
vtkTable
*
Input
;
57
58
private
:
59
vtkTableToMySQLWriter
(
const
vtkTableToMySQLWriter
&) VTK_DELETE_FUNCTION;
60
void
operator=(
const
vtkTableToMySQLWriter
&) VTK_DELETE_FUNCTION;
61
};
62
63
#endif
vtkTableToMySQLWriter::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
vtkTable
A table, which contains similar-typed columns of data.
Definition:
vtkTable.h:69
vtkTableToMySQLWriter::vtkTableToMySQLWriter
vtkTableToMySQLWriter()
vtkTableToDatabaseWriter
in a SQL database.
Definition:
vtkTableToDatabaseWriter.h:35
vtkMySQLDatabase
maintain a connection to a MySQL database
Definition:
vtkMySQLDatabase.h:51
vtkTableToMySQLWriter::Input
vtkTable * Input
Definition:
vtkTableToMySQLWriter.h:56
vtkX3D::port
@ port
Definition:
vtkX3D.h:447
vtkTableToMySQLWriter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkTableToMySQLWriter
store a vtkTable in a MySQL database
Definition:
vtkTableToMySQLWriter.h:35
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:40
vtkTableToMySQLWriter::New
static vtkTableToMySQLWriter * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:87
vtkTableToMySQLWriter::~vtkTableToMySQLWriter
~vtkTableToMySQLWriter()
vtkX3D::info
@ info
Definition:
vtkX3D.h:376
vtkTableToMySQLWriter::GetInput
vtkTable * GetInput()
Get the input to this writer.
vtkTableToDatabaseWriter.h
vtkTableToMySQLWriter::GetInput
vtkTable * GetInput(int port)
vtkTableToMySQLWriter::WriteData
void WriteData()
Generated by
1.8.20