Public Member Functions | Protected Attributes

OCIPL::SqlIndArray Struct Reference

array of indicator variables More...

#include <ocipl.h>

Inheritance diagram for OCIPL::SqlIndArray:
Inheritance graph
[legend]
Collaboration diagram for OCIPL::SqlIndArray:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SqlIndArray (int size=g_OCIPL_BULK_ROWS)
 SqlIndArray (const SqlIndArray &other)
 ~SqlIndArray ()
bool is_null (int idx) const
bool is_not_null (int idx) const
const SqlIndind (int idx) const
SqlIndind (int idx)
int get_buffer_count () const

Protected Attributes

int _count
SqlInd_pind

Detailed Description

array of indicator variables

Definition at line 1256 of file ocipl.h.


Constructor & Destructor Documentation

OCIPL::SqlIndArray::SqlIndArray ( int  size = g_OCIPL_BULK_ROWS ) [inline]

Definition at line 1259 of file ocipl.h.

     :  _count(size),
        _pind(new SqlInd[size])
    {
    }
OCIPL::SqlIndArray::SqlIndArray ( const SqlIndArray other ) [inline]

Definition at line 1266 of file ocipl.h.

References _count, and _pind.

     :  _count(other._count),
        _pind(new SqlInd[other._count])
    {
        memcpy(_pind, other._pind, other._count*sizeof(SqlInd));
    }
OCIPL::SqlIndArray::~SqlIndArray (  ) [inline]

Definition at line 1274 of file ocipl.h.

    {
        delete [] _pind;
    }

Member Function Documentation

int OCIPL::SqlIndArray::get_buffer_count (  ) const [inline]

Definition at line 1285 of file ocipl.h.

Referenced by OCIPL::DefinePar::DefinePar().

{return _count;}

Here is the caller graph for this function:

SqlInd& OCIPL::SqlIndArray::ind ( int  idx ) [inline]

Definition at line 1283 of file ocipl.h.

{return _pind[idx];}
const SqlInd& OCIPL::SqlIndArray::ind ( int  idx ) const [inline]

Definition at line 1282 of file ocipl.h.

Referenced by OCIPL::SqlVariantArray::bind_input(), and OCIPL::DefinePar::DefinePar().

{return _pind[idx];}

Here is the caller graph for this function:

bool OCIPL::SqlIndArray::is_not_null ( int  idx ) const [inline]

Definition at line 1280 of file ocipl.h.

Referenced by OCIPL::SqlVariantArray::is_not_null(), OCIPL::SqlVariantArray::number(), OCIPL::SqlVariantArray::oci_date(), and OCIPL::SqlVariantArray::sql_date().

{return _pind[idx].is_not_null();}

Here is the caller graph for this function:

bool OCIPL::SqlIndArray::is_null ( int  idx ) const [inline]

Definition at line 1279 of file ocipl.h.

{return _pind[idx].is_null();}

Member Data Documentation

int OCIPL::SqlIndArray::_count [protected]

Definition at line 1289 of file ocipl.h.

Referenced by SqlIndArray().


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