This function returns the value of the object as a double-precision floating-point number. If the object is null and default_value is given, it will be returned. If the object is null and default_value is not given, Value_Error will be thrown.
This function returns the Oracle indicator value for this object. sb2 is a signed two-byte integer type defined in oratypes.h and is typically signed short.
This function returns true if this object is null; false otherwise.
This function returns the value of the object as a long integer. If the object is null and default_value is given, it will be returned. If the object is null and default_value is not given, Value_Error will be thrown.
This function returns the maximum size for the internal representation of this object. For a Cursor object, it returns zero. For a Nullable object, it throws Value_Error.
This function is used by bind() and bind_col() to give information about the object to the OCI.
This function is similar to str(), except that for character types it surrounds the value with single quotes. If the object is null, "NULL" is returned.
The main purpose of this function is to provide Rowtype::operator<<() with an object's value in a way that is consistent with its type.
This function returns the Oracle type value for this object as used in the OCI. If the object is a Nullable object, Value_Error is thrown.
This function is used by bind() and bind_col() to give information about the object to the OCI.
string str(void);
string str(const string& default_value);
string str(const string& default_value, const Format& format_string);
This function returns the value of the object as a string. If the object is null and default_value is given, it will be returned. If the object is null and default_value is not given, Value_Error will be thrown. If format_string is specified, the output will be in this format. (Some Nullable-derived types ignore this value.)
Using str() rather than dbl() on a Number may return a floating-point number of greater precision since Oracle's internal representation of its NUMBER type is decimal rather than binary.
This protected function returns the address of the data representation of the object. It is used by Stmt objects to write data directly into the object as a result of a SELECT statement or an output placeholder in a PL/SQL block. For a Nullable object, it throws Value_Error.
This function is used by bind() and bind_col() to give information about the object to the OCI.
This protected function returns the address of the object's indicator variable. It is used by Stmt objects to write data directly into the object as a result of a SELECT statement or an output placeholder in a PL/SQL block. For a Nullable object, it throws Value_Error.
This function is used by bind() and bind_col() to give information about the object to the OCI.
These functions perform the output of the manipulator object.