|
OCILIB (C and C++ Driver for Oracle)
4.0.0
|
Object identifying the SQL data type REF. More...
#include <ocilib.hpp>
Inherits ocilib::HandleHolder< OCI_Ref * >.
Public Member Functions | |
| Reference (const TypeInfo &typeInfo) | |
| Parametrized constructor. More... | |
| TypeInfo | GetTypeInfo () const |
| Return the TypeInfo object describing the referenced object. | |
| Object | GetObject () const |
| Returns the object pointed by the reference. More... | |
| bool | IsReferenceNull () const |
| Check if the reference points to an object or not. | |
| void | SetReferenceNull () |
| Nullify the given Ref handle. More... | |
| Reference | Clone () const |
| Clone the current instance to a new one performing deep copy. | |
| ostring | ToString () const |
| return a string representation of the current reference | |
| operator ostring () const | |
| Convenient operator returning a string representation of the current reference. More... | |
Object identifying the SQL data type REF.
This class wraps the OCILIB object handle OCI_Ref and its related methods
Definition at line 4310 of file ocilib.hpp.
|
inline |
Parametrized constructor.
| typeInfo | - type info descriptor |
Definition at line 2974 of file ocilib_impl.hpp.
References ocilib::Check(), ocilib::TypeInfo::GetConnection(), OCI_RefCreate(), and OCI_RefFree().
|
inline |
Returns the object pointed by the reference.
Definition at line 2990 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_RefGetObject().
|
inline |
Nullify the given Ref handle.
Definition at line 3009 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_RefSetNull().
|
inline |
Convenient operator returning a string representation of the current reference.
Definition at line 3025 of file ocilib_impl.hpp.