OCILIB (C and C++ Driver for Oracle)
4.6.3
|
Provides type information on Oracle Database objects. More...
#include <ocilib.hpp>
Inherits ocilib::HandleHolder< OCI_TypeInfo *>.
Public Types | |
enum | TypeInfoTypeValues { Table = OCI_TIF_TABLE, View = OCI_TIF_VIEW, Type = OCI_TIF_TYPE } |
Type of object information enumerated values. More... | |
typedef Enum< TypeInfoTypeValues > | TypeInfoType |
Type of object information. More... | |
Public Member Functions | |
TypeInfo (const Connection &connection, const ostring &name, TypeInfoType type) | |
Parametrized constructor. More... | |
TypeInfoType | GetType () const |
Return the type of the given TypeInfo object. | |
ostring | GetName () const |
Return the type info name. | |
Connection | GetConnection () const |
Return the connection associated with a statement. | |
unsigned int | GetColumnCount () const |
Return the number of columns contained in the type. More... | |
Column | GetColumn (unsigned int index) const |
Return the column from its index in the resultset. More... | |
boolean | IsFinalType () const |
Indicate if the given UDT type is final. More... | |
TypeInfo | GetSuperType () const |
Return the super type of the given type (e.g. parent type for a derived ORACLE UDT type) More... | |
Provides type information on Oracle Database objects.
This class wraps the OCILIB object handle OCI_TypeInfo and its related methods
Definition at line 4684 of file ocilib.hpp.
Type of object information.
Possible values are TypeInfo::TypeInfoTypeValues
Definition at line 4715 of file ocilib.hpp.
Type of object information enumerated values.
Enumerator | |
---|---|
Table | Database Table information |
View | Database View information |
Type | Database type information |
Definition at line 4698 of file ocilib.hpp.
|
inline |
Parametrized constructor.
connection | - Parent connection |
name | - Type name |
type | - Kind of type to retrieve |
Definition at line 3420 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_TypeInfoGet().
|
inline |
Return the number of columns contained in the type.
Definition at line 3445 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_TypeInfoGetColumnCount().
|
inline |
Return the column from its index in the resultset.
index | - Column index |
Definition at line 3450 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_TypeInfoGetColumn().
|
inline |
Indicate if the given UDT type is final.
Definition at line 3455 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_TypeInfoIsFinalType().
|
inline |
Return the super type of the given type (e.g. parent type for a derived ORACLE UDT type)
Definition at line 3460 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_TypeInfoGetSuperType().