VTK
dox/IO/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 "vtkTableToDatabaseWriter.h"
00029 
00030 class vtkSQLiteDatabase;
00031 
00032 class VTK_IO_EXPORT vtkTableToSQLiteWriter : public vtkTableToDatabaseWriter
00033 {
00034 public:
00035   static vtkTableToSQLiteWriter *New();
00036   vtkTypeMacro(vtkTableToSQLiteWriter,vtkTableToDatabaseWriter);
00037   void PrintSelf(ostream& os, vtkIndent indent);
00038 
00040 
00041   vtkTable* GetInput();
00042   vtkTable* GetInput(int port);
00044 
00045 protected:
00046    vtkTableToSQLiteWriter();
00047   ~vtkTableToSQLiteWriter();
00048   void WriteData();
00049 
00050   virtual int FillInputPortInformation(int port, vtkInformation *info);
00051 
00052   vtkTable *Input;
00053 
00054 private:
00055   vtkTableToSQLiteWriter(const vtkTableToSQLiteWriter&);  // Not implemented.
00056   void operator=(const vtkTableToSQLiteWriter&);  // Not implemented.
00057 };
00058 
00059 #endif