|
OCILIB (C and C++ Driver for Oracle)
4.0.0
|
OCILIB ++ Namespace. More...
Classes | |
| class | Agent |
| AQ identified agent for messages delivery. More... | |
| class | BindInfo |
| Provides SQL bind informations. More... | |
| class | Collection |
| Object identifying the SQL data types VARRAY and NESTED TABLE. More... | |
| class | Column |
| Encapsulate a Resultset column or object member properties. More... | |
| class | Connection |
| A connection or session with a specific database. More... | |
| class | Date |
| Object identifying the SQL data type DATE. More... | |
| class | Dequeue |
| Dequeue object for dequeuing messages into an Oracle Queue. More... | |
| class | DirectPath |
| Oracle Direct path loading encapsulation. More... | |
| class | Enqueue |
| Enqueue object for queuing messages into an Oracle Queue. More... | |
| class | Enum |
| Template Enum template class providing some type safety to some extends for manipulating enum variables. More... | |
| class | Environment |
| Static class in charge of library initialization / cleanup. More... | |
| class | Event |
| Subscription Event. More... | |
| class | Exception |
| Exception class handling all OCILIB errors. More... | |
| class | File |
| Object identifying the SQL data type BFILE. More... | |
| class | Flags |
| Template Flags template class providing some type safety to some extends for manipulating flags set variables. More... | |
| class | HandleHolder |
| Template class providing OCILIB handles auto memory, life cycle and scope management. More... | |
| class | Interval |
| Object identifying the SQL data type INTERVAL. More... | |
| class | Lob |
| Object identifying the SQL data type LOB (CLOB, NCLOB and BLOB) More... | |
| class | Long |
| Object identifying the SQL data type LONG. More... | |
| class | Message |
| AQ message. More... | |
| class | Mutex |
| Static class allowing managing mutexes. More... | |
| class | Object |
| Object identifying the SQL data type OBJECT. More... | |
| class | Pool |
| A connection or session Pool. More... | |
| class | Queue |
| Class allowing the administration of Oracle Queues. More... | |
| class | QueueTable |
| Class allowing the administration of Oracle Queue tables. More... | |
| class | Reference |
| Object identifying the SQL data type REF. More... | |
| class | Resultset |
| Database resultset. More... | |
| class | Statement |
| Object used for executing SQL or PL/SQL statement and returning the produced results. More... | |
| class | Subscription |
| Subscription to database or objects changes. More... | |
| class | Thread |
| static class allowing to manipulate threads More... | |
| class | ThreadKey |
| Static class allowing to set/get thread local storage (TLS) values for a given unique key. More... | |
| class | Timestamp |
| Object identifying the SQL data type TIMESTAMP. More... | |
| class | Transaction |
| Oracle Transaction object. More... | |
| class | TypeInfo |
| Provides type information on Oracle Database objects. More... | |
Typedefs | |
| typedef std::basic_string < otext, std::char_traits < otext >, std::allocator < otext > > | ostring |
| string class wrapping the OCILIB otext * type and OTEXT() macros ( see Character sets ) More... | |
| typedef void * | AnyPointer |
| Alias for the generic void pointer. | |
|
typedef std::vector< unsigned char > | Raw |
| C++ counterpart of SQL RAW data type. | |
| typedef OCI_Mutex * | MutexHandle |
| Alias for an OCI_Mutex pointer. | |
| typedef OCI_Thread * | ThreadHandle |
| Alias for an OCI_Thread pointer. | |
| typedef const void * | ThreadId |
| Thread Unique ID. | |
| typedef void * | CallbackPointer |
| Alias used for storing user callback method pointers. | |
| typedef Enum< DataTypeValues > | DataType |
| Column data type. More... | |
| typedef Enum< NumericTypeValues > | NumericType |
| Numeric data type. More... | |
| typedef Enum< CharsetFormValues > | CharsetForm |
| Type of charsetForm. More... | |
| typedef Enum< SeekModeValues > | SeekMode |
| Seek Modes. More... | |
| typedef Enum< OpenModeValues > | OpenMode |
| Open Modes. More... | |
| typedef Enum< LobTypeValues > | LobType |
| Type of Lob. More... | |
| typedef Enum< LongTypeValues > | LongType |
| Type of Long. More... | |
| typedef Lob< ostring, LobCharacter > | Clob |
| Class handling CLOB oracle type. More... | |
| typedef Lob< ostring, LobNationalCharacter > | NClob |
| Class handling NCLOB oracle type. More... | |
| typedef Lob< Raw, LobBinary > | Blob |
| Class handling BLOB oracle type. More... | |
| typedef Long< ostring, LongCharacter > | Clong |
| Class handling LONG oracle type. More... | |
| typedef Long< Raw, LongBinary > | Blong |
| Class handling LONG RAW oracle type. More... | |
Enumerations | |
| enum | DataTypeValues { TypeNumeric = OCI_CDT_NUMERIC, TypeDate = OCI_CDT_DATETIME, TypeString = OCI_CDT_TEXT, TypeLong = OCI_CDT_LONG, TypeStatement = OCI_CDT_CURSOR, TypeLob = OCI_CDT_LOB, TypeFile = OCI_CDT_FILE, TypeTimestamp = OCI_CDT_TIMESTAMP, TypeInterval = OCI_CDT_INTERVAL, TypeRaw = OCI_CDT_RAW, TypeObject = OCI_CDT_OBJECT, TypeCollection = OCI_CDT_COLLECTION, TypeReference = OCI_CDT_REF } |
| Data type enumerated values. More... | |
| enum | NumericTypeValues { NumericShort = OCI_NUM_SHORT, NumericInt = OCI_NUM_INT, NumericBigInt = OCI_NUM_BIGINT, NumericUnsignedShort = OCI_NUM_USHORT, NumericUnsignedInt = OCI_NUM_UINT, NumericUnsignedBigInt = OCI_NUM_BIGUINT, NumericDouble = OCI_NUM_DOUBLE, NumericFloat = OCI_NUM_FLOAT } |
| Numeric type enumerated values. More... | |
| enum | CharsetFormValues { CharsetFormDefault = OCI_CSF_DEFAULT, CharsetFormNational = OCI_CSF_NATIONAL } |
| Charset form enumerated values. More... | |
| enum | SeekModeValues { SeekSet = OCI_SEEK_SET, SeekEnd = OCI_SEEK_END, SeekOffset = OCI_SEEK_CUR } |
| Seek Modes enumerated values. More... | |
| enum | OpenModeValues { ReadOnly = OCI_LOB_READONLY, ReadWrite = OCI_LOB_READWRITE } |
| Open Modes enumerated values. More... | |
| enum | LobTypeValues |
| Lob types enumerated values. | |
| enum | LongTypeValues |
| Long types enumerated values. | |
Functions | |
| static void | Check () |
| Internal usage. Checks if the last OCILIB method call has raised an error. If so, it raises a C++ exception using the retrieved error handle. | |
| template<class TResultType > | |
| static TResultType | Check (TResultType result) |
| Internal usage. Checks if the last OCILIB function call has raised an error. If so, it raises a C++ exception using the retrieved error handle. | |
| ostring | MakeString (const otext *result) |
| Internal usage. Constructs a C++ string object from the given OCILIB string pointer. | |
| Raw | MakeRaw (void *result, unsigned int size) |
| Internal usage. Constructs a C++ Raw object from the given OCILIB raw buffer. | |
| template<class TResultType > | |
| TResultType | Check (TResultType result) |
| Internal usage. Checks if the last OCILIB function call has raised an error. If so, it raises a C++ exception using the retrieved error handle. | |
OCILIB ++ Namespace.
string class wrapping the OCILIB otext * type and OTEXT() macros ( see Character sets )
Definition at line 165 of file ocilib.hpp.
| typedef Enum<DataTypeValues> ocilib::DataType |
| typedef Enum<NumericTypeValues> ocilib::NumericType |
| typedef Enum<CharsetFormValues> ocilib::CharsetForm |
Type of charsetForm.
Possible values are CharsetFormValues
Definition at line 329 of file ocilib.hpp.
| typedef Enum<SeekModeValues> ocilib::SeekMode |
| typedef Enum<OpenModeValues> ocilib::OpenMode |
| typedef Enum<LobTypeValues> ocilib::LobType |
| typedef Enum<LongTypeValues> ocilib::LongType |
| typedef Lob<ostring, LobCharacter> ocilib::Clob |
Class handling CLOB oracle type.
Definition at line 3844 of file ocilib.hpp.
| typedef Lob<ostring, LobNationalCharacter> ocilib::NClob |
Class handling NCLOB oracle type.
Definition at line 3855 of file ocilib.hpp.
| typedef Lob<Raw, LobBinary> ocilib::Blob |
Class handling BLOB oracle type.
Definition at line 3866 of file ocilib.hpp.
| typedef Long<ostring, LongCharacter> ocilib::Clong |
Class handling LONG oracle type.
Definition at line 3589 of file ocilib_impl.hpp.
| typedef Long<Raw, LongBinary> ocilib::Blong |
Class handling LONG RAW oracle type.
Definition at line 3600 of file ocilib_impl.hpp.
Data type enumerated values.
| Enumerator | |
|---|---|
| TypeNumeric |
NUMERIC |
| TypeDate |
DATE |
| TypeString |
TEXT |
| TypeLong |
LONG / LONG RAW |
| TypeStatement |
SQL CURSOR |
| TypeLob |
CLOB or BLOB |
| TypeFile |
FILE |
| TypeTimestamp |
TIMESTAMP |
| TypeInterval |
INTERVAL |
| TypeRaw |
RAW |
| TypeObject |
Object type |
| TypeCollection | |
| TypeReference |
Object REF |
Definition at line 237 of file ocilib.hpp.
Numeric type enumerated values.
| Enumerator | |
|---|---|
| NumericShort |
Signed short |
| NumericInt |
Signed Integer |
| NumericBigInt |
Signed Big Integer (Integer or Long Integer depending on the compiler ) |
| NumericUnsignedShort |
Unsigned short |
| NumericUnsignedInt |
Unsigned Integer |
| NumericUnsignedBigInt |
Unsigned Big Integer (Integer or Long Integer depending on the compiler ) |
| NumericDouble |
Double |
| NumericFloat |
Float |
Definition at line 281 of file ocilib.hpp.
Charset form enumerated values.
Definition at line 315 of file ocilib.hpp.
Seek Modes enumerated values.
Definition at line 337 of file ocilib.hpp.
Open Modes enumerated values.
| Enumerator | |
|---|---|
| ReadOnly |
Stream is opened for read access |
| ReadWrite |
Stream is opened for read / write access |
Definition at line 361 of file ocilib.hpp.