OCILIB (C and C++ Driver for Oracle)
4.7.5
Open source and cross platform Oracle Driver delivering efficient access to Oracle databases.
|
Object identifying the SQL data type LONG. More...
#include <types.hpp>
Inherits ocilib::core::HandleHolder< OCI_Long * >.
Public Member Functions | |
Long () | |
Create an empty null Long instance. | |
Long (const Statement &statement) | |
Constructor. | |
unsigned int | Write (const T &content) |
Write the given string into the long Object. | |
unsigned int | GetLength () const |
Return the buffer length. | |
T | GetContent () const |
Return the string read from a fetch sequence. | |
Object identifying the SQL data type LONG.
This class wraps the OCILIB object handle OCI_LONG of type OCI_CLONG and its related methods
ocilib::Long< T, U >::Long |
ocilib::Long< T, U >::Long | ( | const Statement & | statement | ) |
Constructor.
statement | - statement object that will handle operations on the long buffer |
Definition at line 34 of file Long.hpp.
References ocilib::core::Check(), and OCI_LongCreate().
unsigned int ocilib::Long< T, U >::Write | ( | const T & | content | ) |
Write the given string into the long Object.
content | - string to write |
Definition at line 50 of file Long.hpp.
References ocilib::core::Check(), and OCI_LongWrite().
unsigned int ocilib::Long< T, U >::GetLength |
Return the buffer length.
Definition at line 61 of file Long.hpp.
References ocilib::core::Check(), and OCI_LongGetSize().
T ocilib::Long< T, U >::GetContent | ( | ) | const |
Return the string read from a fetch sequence.