Public Member Functions | Protected Attributes

OCIPL::SqlInd Struct Reference

Indicator variables are used to store information about the NULL-state of bind variables and result columns. More...

#include <ocipl.h>

Collaboration diagram for OCIPL::SqlInd:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SqlInd (OCIInd ind=OCI_IND_NULL)
 operator OCIInd () const
 operator OCIInd * ()
 operator const OCIInd * () const
bool is_null () const
bool is_not_null () const
void clear ()
void set ()

Protected Attributes

OCIInd _ind

Detailed Description

Indicator variables are used to store information about the NULL-state of bind variables and result columns.

Definition at line 1210 of file ocipl.h.


Constructor & Destructor Documentation

OCIPL::SqlInd::SqlInd ( OCIInd  ind = OCI_IND_NULL ) [inline]

Definition at line 1213 of file ocipl.h.

     : _ind(ind)
    {
    }

Member Function Documentation

void OCIPL::SqlInd::clear (  ) [inline]

Definition at line 1225 of file ocipl.h.

Referenced by OCIPL::OciDate::OciDate(), and OCIPL::SqlNumber::SqlNumber().

{_ind = OCI_IND_NULL;}

Here is the caller graph for this function:

bool OCIPL::SqlInd::is_not_null (  ) const [inline]

Definition at line 1223 of file ocipl.h.

{return _ind!=OCI_IND_NULL;}
bool OCIPL::SqlInd::is_null (  ) const [inline]

Definition at line 1222 of file ocipl.h.

{return _ind==OCI_IND_NULL;}
OCIPL::SqlInd::operator const OCIInd * (  ) const [inline]

Definition at line 1220 of file ocipl.h.

{return &_ind;}
OCIPL::SqlInd::operator OCIInd (  ) const [inline]

Definition at line 1218 of file ocipl.h.

{return _ind;}
OCIPL::SqlInd::operator OCIInd * (  ) [inline]

Definition at line 1219 of file ocipl.h.

{return &_ind;}
void OCIPL::SqlInd::set (  ) [inline]

Definition at line 1226 of file ocipl.h.

Referenced by OCIPL::OciDate::OciDate(), and OCIPL::SqlNumber::SqlNumber().

{_ind = OCI_IND_NOTNULL;}

Here is the caller graph for this function:


Member Data Documentation

OCIInd OCIPL::SqlInd::_ind [protected]

Definition at line 1229 of file ocipl.h.


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