VTK
vtkTableToSQLiteWriter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTableToSQLiteWriter.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 vtkTableToSQLiteWriter_h
27 #define vtkTableToSQLiteWriter_h
28 
29 #include "vtkIOSQLModule.h" // For export macro
31 
32 class vtkSQLiteDatabase;
33 
34 class VTKIOSQL_EXPORT vtkTableToSQLiteWriter : public vtkTableToDatabaseWriter
35 {
36 public:
37  static vtkTableToSQLiteWriter *New();
39  void PrintSelf(ostream& os, vtkIndent indent);
40 
42 
45  vtkTable* GetInput();
46  vtkTable* GetInput(int port);
48 
49 protected:
52  void WriteData();
53 
55 
57 
58 private:
59  vtkTableToSQLiteWriter(const vtkTableToSQLiteWriter&) VTK_DELETE_FUNCTION;
60  void operator=(const vtkTableToSQLiteWriter&) VTK_DELETE_FUNCTION;
61 };
62 
63 #endif
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
Store vtkAlgorithm input/output information.
maintain a connection to an SQLite database
virtual void WriteData()=0
vtkTable * GetInput()
Get the input to this writer.
a simple class to control print indentation
Definition: vtkIndent.h:39
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
A table, which contains similar-typed columns of data.
Definition: vtkTable.h:68
static vtkAlgorithm * New()
store a vtkTable in an SQLite database