VisualIB
1.0
IBExpress library for making use of Borland IBExpress outside of C++Builder
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
vibinlines.h
Go to the documentation of this file.
1
10
#ifndef VIBINLINES_H__
11
#define VIBINLINES_H__
12
13
#include <ibdatabase.hpp>
14
#include <ibcustomdataset.hpp>
15
#include <ibsql.hpp>
16
17
#include "
vibdatabase.h
"
18
#include "
vibtransaction.h
"
19
#include "
vibsql.h
"
20
#include "
vibdataset.h
"
21
27
static
inline
TIBDatabase *
TDBForVDB
(
VIBDatabase
*vdb)
28
{
29
return
static_cast<
TIBDatabase *
>
(vdb->
opaque
);
30
}
31
37
static
inline
TIBTransaction *
TTRForVTR
(
VIBTransaction
*vtr)
38
{
39
return
static_cast<
TIBTransaction *
>
(vtr->
opaque
);
40
}
41
47
static
inline
TIBSQL *
TSQLForVSQL
(
VIBSQL
*vsql)
48
{
49
return
static_cast<
TIBSQL *
>
(vsql->
opaque
);
50
}
51
57
static
inline
TIBDataSet *
TDSForVDS
(
VIBDataSet
*vds)
58
{
59
return
static_cast<
TIBDataSet *
>
(vds->
opaque
);
60
}
61
62
#endif
63
64
// EOF
65
66
vibinlines.h
Generated on Thu Jun 20 2013 10:46:26 for VisualIB by
1.8.2