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