NCBI C++ ToolKit
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
value_slice::CValueConvert< SSafeCP, CDB_Result > Class Reference

Search Toolkit Book for value_slice::CValueConvert_3_01SSafeCP_00_01CDB_Result_01_4

#include <dbapi/driver/dbapi_driver_convert.hpp>

+ Collaboration diagram for value_slice::CValueConvert< SSafeCP, CDB_Result >:

Public Types

typedef const CDB_Result obj_type
 
typedef SSafeCP CP
 

Public Member Functions

 CValueConvert (obj_type &value)
 
 operator bool (void) const
 
 operator Uint1 (void) const
 
 operator Int2 (void) const
 
 operator Int4 (void) const
 
 operator Int8 (void) const
 
 operator float (void) const
 
 operator double (void) const
 
 operator string (void) const
 
 operator CTime (void) const
 

Private Member Functions

template<typename TO , typename FROM >
TO ConvertFrom (void) const
 

Private Attributes

obj_typem_Value
 

Detailed Description

Definition at line 51 of file dbapi_driver_convert.hpp.

Member Typedef Documentation

◆ CP

Definition at line 55 of file dbapi_driver_convert.hpp.

◆ obj_type

Definition at line 54 of file dbapi_driver_convert.hpp.

Constructor & Destructor Documentation

◆ CValueConvert()

Definition at line 57 of file dbapi_driver_convert.hpp.

Member Function Documentation

◆ ConvertFrom()

template<typename TO , typename FROM >
TO value_slice::CValueConvert< SSafeCP, CDB_Result >::ConvertFrom ( void  ) const
inlineprivate

Definition at line 112 of file dbapi_driver_convert.hpp.

References FROM, and NCBI_REPORT_CONSTANT_CONVERSION_ERROR.

◆ operator bool()

value_slice::CValueConvert< SSafeCP, CDB_Result >::operator bool ( void  ) const
inline

◆ operator CTime()

value_slice::CValueConvert< SSafeCP, CDB_Result >::operator CTime ( void  ) const
inline

Definition at line 105 of file dbapi_driver_convert.hpp.

◆ operator double()

value_slice::CValueConvert< SSafeCP, CDB_Result >::operator double ( void  ) const
inline

Definition at line 92 of file dbapi_driver_convert.hpp.

◆ operator float()

value_slice::CValueConvert< SSafeCP, CDB_Result >::operator float ( void  ) const
inline

Definition at line 88 of file dbapi_driver_convert.hpp.

◆ operator Int2()

value_slice::CValueConvert< SSafeCP, CDB_Result >::operator Int2 ( void  ) const
inline

Definition at line 76 of file dbapi_driver_convert.hpp.

◆ operator Int4()

value_slice::CValueConvert< SSafeCP, CDB_Result >::operator Int4 ( void  ) const
inline

Definition at line 80 of file dbapi_driver_convert.hpp.

◆ operator Int8()

value_slice::CValueConvert< SSafeCP, CDB_Result >::operator Int8 ( void  ) const
inline

Definition at line 84 of file dbapi_driver_convert.hpp.

◆ operator string()

value_slice::CValueConvert< SSafeCP, CDB_Result >::operator string ( void  ) const
inline

◆ operator Uint1()

value_slice::CValueConvert< SSafeCP, CDB_Result >::operator Uint1 ( void  ) const
inline

Definition at line 72 of file dbapi_driver_convert.hpp.

Member Data Documentation

◆ m_Value

Definition at line 123 of file dbapi_driver_convert.hpp.


The documentation for this class was generated from the following file:
Modified on Wed Apr 17 13:08:34 2024 by modify_doxy.py rev. 669887