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