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 
31 #ifndef vtkODBCInternals_h
32 #define vtkODBCInternals_h
33 
34 #include <sql.h>
35 
37  friend class vtkODBCDatabase;
38  friend class vtkODBCQuery;
39 
40 public:
42  : Environment(0), Connection(0)
43  {
44  };
45 
46 private:
47  SQLHANDLE Environment;
48  SQLHANDLE Connection;
49 };
50 
51 #endif
52 // 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:48