|
OCILIB (C and C++ Driver for Oracle)
4.0.0
|
Encapsulate a Resultset column or object member properties. More...
#include <ocilib.hpp>
Inherits ocilib::HandleHolder< OCI_Column * >.
Public Types | |
| enum | PropertyFlagsValues { NoFlags = OCI_CPF_NONE, IsIdentity = OCI_CPF_IS_IDENTITY, IsGeneratedAlways = OCI_CPF_IS_GEN_ALWAYS, IsGeneratedByDefaultOnNull = OCI_CPF_IS_GEN_BY_DEFAULT_ON_NULL } |
| Column properties flags values. More... | |
| typedef Flags < PropertyFlagsValues > | PropertyFlags |
| Column properties flags. More... | |
Public Member Functions | |
| ostring | GetSQLType () const |
| Return the Oracle SQL type name of the column datatype. More... | |
| ostring | GetFullSQLType () const |
| Return the Oracle SQL Full name including precision and size of the column datatype. More... | |
| DataType | GetType () const |
| Return the type of the given column. | |
| unsigned int | GetSubType () const |
| Return the OCILIB object subtype of a column. More... | |
| CharsetForm | GetCharsetForm () const |
| Return the charset form of the given column. | |
| unsigned int | GetSize () const |
| Return the size of the column. More... | |
| int | GetScale () const |
| Return the scale of the column for numeric columns. | |
| int | GetPrecision () const |
| Return the precision of the column for numeric columns. | |
| int | GetFractionalPrecision () const |
| Return the fractional precision of the column for Timestamp and Interval columns. | |
| int | GetLeadingPrecision () const |
| Return the leading precision of the column for Interval columns. | |
| PropertyFlags | GetPropertyFlags () const |
| Return the column property flags. More... | |
| bool | IsNullable () const |
| Return true if the column is nullable otherwise false. | |
| bool | IsCharSemanticUsed () const |
| Return true if the length of the column is character-length or false if it is byte-length. More... | |
| TypeInfo | GetTypeInfo () const |
| Return the type information object associated to the column. More... | |
Encapsulate a Resultset column or object member properties.
This class wraps the OCILIB object handle OCI_Column and its related methods
Definition at line 5994 of file ocilib.hpp.
Column properties flags.
Possible values are Column::PropertyFlagsValues
Definition at line 6029 of file ocilib.hpp.
Column properties flags values.
Definition at line 6006 of file ocilib.hpp.
|
inline |
Return the Oracle SQL type name of the column datatype.
Definition at line 5271 of file ocilib_impl.hpp.
References ocilib::Check(), ocilib::MakeString(), and OCI_ColumnGetSQLType().
|
inline |
Return the Oracle SQL Full name including precision and size of the column datatype.
Definition at line 5276 of file ocilib_impl.hpp.
References ocilib::Check(), ocilib::MakeString(), and OCI_ColumnGetFullSQLType().
|
inline |
Return the OCILIB object subtype of a column.
Definition at line 5292 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_ColumnGetSubType().
|
inline |
Return the size of the column.
Definition at line 5302 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_ColumnGetSize().
|
inline |
Return the column property flags.
Definition at line 5327 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_ColumnGetPropertyFlags().
|
inline |
Return true if the length of the column is character-length or false if it is byte-length.
Definition at line 5337 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_ColumnGetCharUsed().
|
inline |
Return the type information object associated to the column.
Definition at line 5342 of file ocilib_impl.hpp.
References ocilib::Check(), and OCI_ColumnGetTypeInfo().