VTK  9.3.20240419
vtkRowQueryToTable.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
28 #ifndef vtkRowQueryToTable_h
29 #define vtkRowQueryToTable_h
30 
31 #include "vtkIOSQLModule.h" // For export macro
32 #include "vtkTableAlgorithm.h"
33 
34 VTK_ABI_NAMESPACE_BEGIN
35 class vtkRowQuery;
36 
37 class VTKIOSQL_EXPORT vtkRowQueryToTable : public vtkTableAlgorithm
38 {
39 public:
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45 
48  void SetQuery(vtkRowQuery* query);
49  vtkGetObjectMacro(Query, vtkRowQuery);
51 
55  vtkMTimeType GetMTime() override;
56 
57 protected:
59  ~vtkRowQueryToTable() override;
60 
62 
64 
65 private:
66  vtkRowQueryToTable(const vtkRowQueryToTable&) = delete;
67  void operator=(const vtkRowQueryToTable&) = delete;
68 };
69 
70 VTK_ABI_NAMESPACE_END
71 #endif
a simple class to control print indentation
Definition: vtkIndent.h:108
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:48
Superclass for algorithms that produce only vtkTables as output.
vtkTypeUInt32 vtkMTimeType
Definition: vtkType.h:270