Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
p6dbcresultset.h
Go to the documentation of this file.
1 
10 #ifndef P6DBCRESULTSET_H__
11 #define P6DBCRESULTSET_H__ 1
12 
13 #include "p6com.h"
14 #include "p6datastream.h"
15 
16 
17 #ifdef __cplusplus
18 namespace P6R {
19 extern "C" {
20 #endif
21 
27 #undef INTERFACE
28 #define INTERFACE p6IDBCResultSet
30 {
45  P6DECLCOMMETHOD(getInteger)(P6THIS_ P6UINT32 index, P6INT32* pValue ) P6PURE;
46 
61  P6DECLCOMMETHOD(getUnsigned)(P6THIS_ P6UINT32 index, P6UINT32* pValue ) P6PURE;
62 
77  P6DECLCOMMETHOD(getLong)(P6THIS_ P6UINT32 index, P6INT64* pValue ) P6PURE;
78 
93  P6DECLCOMMETHOD(getUnsignedLong)(P6THIS_ P6UINT32 index, P6UINT64* pValue ) P6PURE;
94 
109  P6DECLCOMMETHOD(getDouble)(P6THIS_ P6UINT32 index, P6FLOAT* pValue ) P6PURE;
110 
130  P6DECLCOMMETHOD(getString)(P6THIS_ P6UINT32 index, P6WCHAR* pString, P6UINT32 cBuffer, P6UINT32* pWritten ) P6PURE;
131 
151  P6DECLCOMMETHOD(getDate)(P6THIS_ P6UINT32 index, P6TIME* pTime ) P6PURE;
152 
175  P6DECLCOMMETHOD(getBlob)(P6THIS_ P6UINT32 index, P6UINT8* pBlob, P6UINT32 cBuffer, P6UINT32* pWritten ) P6PURE;
176 
187 
198  P6DECLCOMMETHOD(reset)(P6THIS) P6PURE;
199 
215  P6DECLCOMMETHOD(toXML)(P6THIS_ p6IDataStream* pOutput, const P6WCHAR* pTopElement ) P6PURE;
216 
233  P6DECLCOMMETHOD(toJSON)(P6THIS_ p6IDataStream* pOutput, const P6WCHAR* pTopElement ) P6PURE;
234 };
235 
236 // {BE522EE9-A422-40fc-AAFB-D914D50DFB42}
237 #define IF_p6IDBCResultSet {0xbe522ee9,0xa422,0x40fc,{0xaa,0xfb,0xd9,0x14,0xd5,0xd,0xfb,0x42}}
238 
239 #ifdef __cplusplus
240 }
241 } // namespace
242 #endif
243 
244 
245 #endif
246 
247 
248 
249 
250 
251 
uint64_t P6UINT64
Definition: p6types.h:79
uint32_t P6UINT32
Definition: p6types.h:77
#define P6PURE
Definition: p6defs.h:192
p6IDataStream interface definitions
unsigned char P6UINT8
Definition: p6types.h:71
wchar_t P6WCHAR
Wide character type see p6i18n.h.
Definition: p6types.h:111
This interface is implmented by components that support receiving streamed data.
Definition: p6datastream.h:44
The base interface all [p6]COM components must derive from and implement.
Definition: p6comdef.h:97
int64_t P6INT64
Definition: p6types.h:78
#define P6DECLCOMMETHOD(method)
Definition: p6defs.h:189
P6INT64 P6TIME
The wallclock time represented as the number of microseconds since midnight January 1 1970 UTC...
Definition: p6types.h:259
#define P6THIS_
Definition: p6defs.h:193
double P6FLOAT
Definition: p6types.h:93
This interface provides a enumerator type interface to the result set of a query. ...
P6COM definitions and interfaces.
int32_t P6INT32
Definition: p6types.h:76
#define P6THIS
Definition: p6defs.h:194
#define P6DECLAREIF_(iface, baseif)
Definition: p6defs.h:188