VTK  9.2.20221001
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 
36 VTK_ABI_NAMESPACE_BEGIN
38 {
39  friend class vtkODBCDatabase;
40  friend class vtkODBCQuery;
41 
42 public:
44  : Environment(0)
45  , Connection(0)
46  {
47  }
48 
49 private:
50  SQLHANDLE Environment;
51  SQLHANDLE Connection;
52 };
53 
54 VTK_ABI_NAMESPACE_END
55 #endif
56 // 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:50