VTK  9.1.0
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-------------------------------------------------------------------------*/
38#ifndef vtkRowQueryToTable_h
39#define vtkRowQueryToTable_h
40
41#include "vtkIOSQLModule.h" // For export macro
42#include "vtkTableAlgorithm.h"
43
44class vtkRowQuery;
45
46class VTKIOSQL_EXPORT vtkRowQueryToTable : public vtkTableAlgorithm
47{
48public:
51 void PrintSelf(ostream& os, vtkIndent indent) override;
52
54
57 void SetQuery(vtkRowQuery* query);
58 vtkGetObjectMacro(Query, vtkRowQuery);
60
65
66protected:
69
71
73
74private:
76 void operator=(const vtkRowQueryToTable&) = delete;
77};
78
79#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
executes an sql query and retrieves results into a table
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetQuery(vtkRowQuery *query)
The query to execute.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkMTimeType GetMTime() override
Update the modified time based on the query.
static vtkRowQueryToTable * New()
~vtkRowQueryToTable() override
abstract interface for queries that return row-oriented results.
Definition: vtkRowQuery.h:63
Superclass for algorithms that produce only vtkTables as output.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:287