VTK  9.2.20221001
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
31 
32 VTK_ABI_NAMESPACE_BEGIN
33 class vtkMySQLDatabase;
34 
35 class VTKIOMYSQL_EXPORT vtkTableToMySQLWriter : public vtkTableToDatabaseWriter
36 {
37 public:
40  void PrintSelf(ostream& os, vtkIndent indent) override;
41 
43 
49 
50 protected:
53  void WriteData() override;
54 
56 
57 private:
59  void operator=(const vtkTableToMySQLWriter&) = delete;
60 };
61 
62 VTK_ABI_NAMESPACE_END
63 #endif
a simple class to control print indentation
Definition: vtkIndent.h:120
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.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void WriteData() override
static vtkTableToMySQLWriter * New()
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:184
@ info
Definition: vtkX3D.h:388
@ port
Definition: vtkX3D.h:459