VTK  9.3.1
vtkTableToSQLiteWriter.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 vtkTableToSQLiteWriter_h
15 #define vtkTableToSQLiteWriter_h
16 
17 #include "vtkIOSQLModule.h" // For export macro
19 
20 VTK_ABI_NAMESPACE_BEGIN
21 class vtkSQLiteDatabase;
22 
23 class VTKIOSQL_EXPORT vtkTableToSQLiteWriter : public vtkTableToDatabaseWriter
24 {
25 public:
26  static vtkTableToSQLiteWriter* New();
28  void PrintSelf(ostream& os, vtkIndent indent) override;
29 
31 
34  vtkTable* GetInput();
35  vtkTable* GetInput(int port);
37 
38 protected:
40  ~vtkTableToSQLiteWriter() override;
41  void WriteData() override;
42 
44 
45 private:
47  void operator=(const vtkTableToSQLiteWriter&) = 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.
maintain a connection to an SQLite database
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkTable * GetInput()
Get the input to this writer.
a simple class to control print indentation
Definition: vtkIndent.h:28
void WriteData() override=0
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:58
static vtkAlgorithm * New()
store a vtkTable in an SQLite database