VTK  9.1.0
vtkODBCInternals.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkODBCInternals.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
31#ifndef vtkODBCInternals_h
32#define vtkODBCInternals_h
33
34#include <sql.h>
35
37{
38 friend class vtkODBCDatabase;
39 friend class vtkODBCQuery;
40
41public:
43 : Environment(0)
44 , Connection(0)
45 {
46 }
47
48private:
49 SQLHANDLE Environment;
50 SQLHANDLE Connection;
51};
52
53#endif
54// VTK-HeaderTest-Exclude: vtkODBCInternals.h
maintain an ODBC connection to a SQL database
Simple class to hide ODBC structures.
vtkSQLQuery implementation for ODBC connections to databases
Definition: vtkODBCQuery.h:49