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