Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes

OCIPL::OciHandleWrapper< TYPE > Struct Template Reference

wrapping of already existing OCI handles without freeing them in destructor More...

#include <ocipl.h>

Inheritance diagram for OCIPL::OciHandleWrapper< TYPE >:
Inheritance graph
[legend]
Collaboration diagram for OCIPL::OciHandleWrapper< TYPE >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef TYPE HandleType

Public Member Functions

 OciHandleWrapper (HandleType *handle)
 operator HandleType * ()

Static Public Member Functions

static ub4 get_type_id ()
static ub4 get_attr_id ()

Protected Attributes

HandleType_handle

Detailed Description

template<typename TYPE>
struct OCIPL::OciHandleWrapper< TYPE >

wrapping of already existing OCI handles without freeing them in destructor

Definition at line 485 of file ocipl.h.


Member Typedef Documentation

template<typename TYPE>
typedef TYPE OCIPL::OciHandleWrapper< TYPE >::HandleType

Definition at line 487 of file ocipl.h.


Constructor & Destructor Documentation

template<typename TYPE>
OCIPL::OciHandleWrapper< TYPE >::OciHandleWrapper ( HandleType handle ) [inline]

Definition at line 490 of file ocipl.h.

     :  _handle(handle)
    {
    }

Member Function Documentation

template<typename TYPE>
ub4 OCIPL::OciHandleID< TYPE >::get_attr_id (  ) [inline, static, inherited]

Definition at line 400 of file ocipl.h.

{return OCI_ATTR_SERVER;}
template<typename TYPE>
ub4 OCIPL::OciHandleID< TYPE >::get_type_id (  ) [inline, static, inherited]

Definition at line 378 of file ocipl.h.

{return OCI_HTYPE_ENV;}
template<typename TYPE>
OCIPL::OciHandleWrapper< TYPE >::operator HandleType * (  ) [inline]

Definition at line 496 of file ocipl.h.

    {
        return _handle;
    }

Member Data Documentation

template<typename TYPE>
HandleType* OCIPL::OciHandleWrapper< TYPE >::_handle [protected]

Definition at line 502 of file ocipl.h.


The documentation for this struct was generated from the following file: