VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
IO
SQL
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
42
class
vtkEventForwarderCommand
;
43
44
class
VTKIOSQL_EXPORT
vtkSQLDatabaseTableSource
:
public
vtkTableAlgorithm
45
{
46
public
:
47
static
vtkSQLDatabaseTableSource
*
New
();
48
vtkTypeMacro(
vtkSQLDatabaseTableSource
,
vtkTableAlgorithm
);
49
void
PrintSelf
(ostream& os,
vtkIndent
indent);
50
51
vtkStdString
GetURL();
52
void
SetURL(
const
vtkStdString
&
url
);
53
54
void
SetPassword(
const
vtkStdString
& password);
55
56
vtkStdString
GetQuery();
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
:
75
vtkSQLDatabaseTableSource
();
76
~
vtkSQLDatabaseTableSource
();
77
78
int
RequestData
(
79
vtkInformation
*,
80
vtkInformationVector
**,
81
vtkInformationVector
*);
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
Generated on Thu May 24 2012 22:22:32 for VTK by
1.8.1