VTK  9.3.20241007
vtkODBCInternals.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
3
19#ifndef vtkODBCInternals_h
20#define vtkODBCInternals_h
21
22#include <sql.h>
23
24VTK_ABI_NAMESPACE_BEGIN
26{
27 friend class vtkODBCDatabase;
28 friend class vtkODBCQuery;
29
30public:
32 : Environment(nullptr)
33 , Connection(nullptr)
34 {
35 }
36
37private:
38 SQLHANDLE Environment;
39 SQLHANDLE Connection;
40};
41
42VTK_ABI_NAMESPACE_END
43#endif
44// 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