VTK
dox/IO/SQL/vtkTableToSQLiteWriter.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkTableToSQLiteWriter.h
00005 
00006   Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
00007   All rights reserved.
00008   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00025 #ifndef __vtkTableToSQLiteWriter_h
00026 #define __vtkTableToSQLiteWriter_h
00027 
00028 #include "vtkIOSQLModule.h" // For export macro
00029 #include "vtkTableToDatabaseWriter.h"
00030 
00031 class vtkSQLiteDatabase;
00032 
00033 class VTKIOSQL_EXPORT vtkTableToSQLiteWriter : public vtkTableToDatabaseWriter
00034 {
00035 public:
00036   static vtkTableToSQLiteWriter *New();
00037   vtkTypeMacro(vtkTableToSQLiteWriter,vtkTableToDatabaseWriter);
00038   void PrintSelf(ostream& os, vtkIndent indent);
00039 
00041 
00042   vtkTable* GetInput();
00043   vtkTable* GetInput(int port);
00045 
00046 protected:
00047    vtkTableToSQLiteWriter();
00048   ~vtkTableToSQLiteWriter();
00049   void WriteData();
00050 
00051   virtual int FillInputPortInformation(int port, vtkInformation *info);
00052 
00053   vtkTable *Input;
00054 
00055 private:
00056   vtkTableToSQLiteWriter(const vtkTableToSQLiteWriter&);  // Not implemented.
00057   void operator=(const vtkTableToSQLiteWriter&);  // Not implemented.
00058 };
00059 
00060 #endif