VTK
vtkSQLDatabaseTableSource.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSQLDatabaseTableSource.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 -------------------------------------------------------------------------*/
35 #ifndef vtkSQLDatabaseTableSource_h
36 #define vtkSQLDatabaseTableSource_h
37 
38 #include "vtkIOSQLModule.h" // For export macro
39 #include "vtkStdString.h"
40 #include "vtkTableAlgorithm.h"
41 
43 
45 {
46 public:
49  void PrintSelf(ostream& os, vtkIndent indent);
50 
52  void SetURL(const vtkStdString& url);
53 
54  void SetPassword(const vtkStdString& password);
55 
57  void SetQuery(const vtkStdString& query);
58 
60 
62  vtkSetStringMacro(PedigreeIdArrayName);
63  vtkGetStringMacro(PedigreeIdArrayName);
65 
67 
69  vtkSetMacro(GeneratePedigreeIds, bool);
70  vtkGetMacro(GeneratePedigreeIds, bool);
71  vtkBooleanMacro(GeneratePedigreeIds, bool);
73 
74 protected:
77 
82 
83 private:
84  vtkSQLDatabaseTableSource(const vtkSQLDatabaseTableSource&); // Not implemented
85  void operator=(const vtkSQLDatabaseTableSource&); // Not implemented
86 
87  char* PedigreeIdArrayName;
88  bool GeneratePedigreeIds;
89 
92  vtkEventForwarderCommand *EventForwarder;
93 
94 //BTX
95  class implementation;
96  implementation* const Implementation;
97 //ETX
98 };
99 
100 #endif
101 
102 // VTK-HeaderTest-Exclude: vtkSQLDatabaseTableSource.h
vtkStdString.h
vtkgl::query
GLenum query
Definition: vtkgl.h:14432
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkSQLDatabaseTableSource::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkSQLDatabaseTableSource::SetQuery
void SetQuery(const vtkStdString &query)
vtkSQLDatabaseTableSource::vtkSQLDatabaseTableSource
vtkSQLDatabaseTableSource()
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkSQLDatabaseTableSource::SetURL
void SetURL(const vtkStdString &url)
vtkSQLDatabaseTableSource::GetQuery
vtkStdString GetQuery()
vtkSQLDatabaseTableSource
Generates a vtkTable based on an SQL query.
Definition: vtkSQLDatabaseTableSource.h:45
vtkTableAlgorithm
Superclass for algorithms that produce only vtkTables as output.
Definition: vtkTableAlgorithm.h:48
vtkIOSQLModule.h
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkSetStringMacro
#define vtkSetStringMacro(name)
Definition: vtkSetGet.h:104
vtkSQLDatabaseTableSource::SetPassword
void SetPassword(const vtkStdString &password)
vtkX3D::url
@ url
Definition: vtkX3D.h:233
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkGetStringMacro
vtkGetStringMacro(ExtensionsString)
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkSQLDatabaseTableSource::New
static vtkSQLDatabaseTableSource * New()
VTKIOSQL_EXPORT
#define VTKIOSQL_EXPORT
Definition: vtkIOSQLModule.h:15
vtkTableAlgorithm.h
vtkSQLDatabaseTableSource::~vtkSQLDatabaseTableSource
~vtkSQLDatabaseTableSource()
vtkStdString
Wrapper around std::string to keep symbols short.
Definition: vtkStdString.h:48
vtkEventForwarderCommand
a simple event forwarder command
Definition: vtkEventForwarderCommand.h:34
vtkSQLDatabaseTableSource::GetURL
vtkStdString GetURL()
vtkSQLDatabaseTableSource::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)