VTK
vtkRowQueryToTable.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRowQueryToTable.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 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
43 #ifndef vtkRowQueryToTable_h
44 #define vtkRowQueryToTable_h
45 
46 #include "vtkIOSQLModule.h" // For export macro
47 #include "vtkTableAlgorithm.h"
48 
49 class vtkRowQuery;
50 
52 {
53 public:
54  static vtkRowQueryToTable* New();
56  void PrintSelf(ostream& os, vtkIndent indent);
57 
59 
60  void SetQuery(vtkRowQuery* query);
61  vtkGetObjectMacro(Query, vtkRowQuery);
63 
65  unsigned long GetMTime();
66 
67 protected:
70 
72 
73  int RequestData(
77 
78 private:
79  vtkRowQueryToTable(const vtkRowQueryToTable&); // Not implemented
80  void operator=(const vtkRowQueryToTable&); // Not implemented
81 };
82 
83 #endif
84 
void PrintSelf(ostream &os, vtkIndent indent)
static vtkTableAlgorithm * New()
Store vtkAlgorithm input/output information.
abstract interface for queries that return row-oriented results.
Definition: vtkRowQuery.h:61
virtual unsigned long GetMTime()
a simple class to control print indentation
Definition: vtkIndent.h:38
executes an sql query and retrieves results into a table
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Superclass for algorithms that produce only vtkTables as output.
Store zero or more vtkInformation instances.
#define VTKIOSQL_EXPORT