int wrapper with indicator variable More...
#include <ocipl.h>


Public Member Functions | |
| SqlInt () | |
| SqlInt (int value) | |
| SqlInt (int value, OCIInd ind) | |
| SqlInt (const SqlInt &other) | |
| operator int () const | |
| int | get_int (int null=INT_NULL) const |
| int * | get_ref () |
| const int * | get_ptr () const |
| tstring | str () const |
| bool | is_null () const |
| bool | is_not_null () const |
| const SqlInd & | ind () const |
| SqlInd & | ind () |
Protected Attributes | |
| int | _value |
| SqlInd | _ind |
int wrapper with indicator variable
Definition at line 1295 of file ocipl.h.
| OCIPL::SqlInt::SqlInt | ( | int | value ) | [inline] |
| OCIPL::SqlInt::SqlInt | ( | int | value, |
| OCIInd | ind | ||
| ) | [inline] |
| OCIPL::SqlInt::SqlInt | ( | const SqlInt & | other ) | [inline] |
| int OCIPL::SqlInt::get_int | ( | int | null = INT_NULL ) |
const [inline] |
| const int* OCIPL::SqlInt::get_ptr | ( | ) | const [inline] |
Definition at line 1341 of file ocipl.h.
Referenced by OCIPL::BindInput::BindInput().
{
return &_value;
}

| int* OCIPL::SqlInt::get_ref | ( | ) | [inline] |
Definition at line 1335 of file ocipl.h.
Referenced by OCIPL::BindOutput::BindOutput(), and OCIPL::DefinePar::DefinePar().
{
return &_value;
}

| SqlInd& OCIPL::SqlValue::ind | ( | ) | [inline, inherited] |
| const SqlInd& OCIPL::SqlValue::ind | ( | ) | const [inline, inherited] |
Definition at line 1244 of file ocipl.h.
Referenced by OCIPL::BindInput::BindInput(), OCIPL::BindOutput::BindOutput(), OCIPL::DefinePar::DefinePar(), OCIPL::OciDate::OciDate(), OCIPL::OciDateArray::set_date(), OCIPL::SqlDateTimeArray::set_datetime(), and OCIPL::SqlNumberArray::set_number().
{return _ind;}

| bool OCIPL::SqlValue::is_not_null | ( | ) | const [inline, inherited] |
Definition at line 1242 of file ocipl.h.
Referenced by operator int().
{return _ind.is_not_null();}

| bool OCIPL::SqlValue::is_null | ( | ) | const [inline, inherited] |
| OCIPL::SqlInt::operator int | ( | ) | const [inline] |
Definition at line 1324 of file ocipl.h.
References OCIPL::INT_NULL, and OCIPL::SqlValue::is_not_null().

| tstring OCIPL::SqlInt::str | ( | ) | const [inline] |
SqlInd OCIPL::SqlValue::_ind [protected, inherited] |
Definition at line 1248 of file ocipl.h.
Referenced by OCIPL::OciDate::OciDate(), OCIPL::SqlString::operator=(), and OCIPL::SqlNumber::SqlNumber().
int OCIPL::SqlInt::_value [protected] |
1.7.2