VTK
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 
30 #ifndef vtkODBCInternals_h
31 #define vtkODBCInternals_h
32 
33 #include <sql.h>
34 
36  friend class vtkODBCDatabase;
37  friend class vtkODBCQuery;
38 
39 public:
41  : Environment(0), Connection(0)
42  {
43  };
44 
45 private:
46  SQLHANDLE Environment;
47  SQLHANDLE Connection;
48 };
49 
50 #endif
51 // VTK-HeaderTest-Exclude: vtkODBCInternals.h
Simple class to hide ODBC structures.
maintain an ODBC connection to a SQL database
vtkSQLQuery implementation for ODBC connections to databases
Definition: vtkODBCQuery.h:47