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

Search Toolkit Book for value_slice::CValueConvert_3_01SRunTimeCP_00_01CDB_Result_01_4

#include <dbapi/driver/dbapi_driver_convert.hpp>

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

Public Types

typedef const CDB_Result obj_type
 

Public Member Functions

 CValueConvert (obj_type &value)
 
 operator bool (void) const
 
 operator Int1 (void) const
 
 operator Uint1 (void) const
 
 operator Int2 (void) const
 
 operator Uint2 (void) const
 
 operator Int4 (void) const
 
 operator Uint4 (void) const
 
 operator Int8 (void) const
 
 operator Uint8 (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
 
template<typename TO , typename FROM >
TO ConvertFromStr (void) const
 
template<typename TO , typename FROM >
TO ConvertFromChar (const int item_num) const
 
template<typename TO , typename FROM >
TO ConvertFromLOB (void) const
 
template<typename TO , typename FROM >
TO Convert2CTime (void) const
 
template<typename TO >
void ReadCDBObject (TO &value) const
 

Private Attributes

obj_typem_Value
 

Detailed Description

Definition at line 276 of file dbapi_driver_convert.hpp.

Member Typedef Documentation

◆ obj_type

Definition at line 279 of file dbapi_driver_convert.hpp.

Constructor & Destructor Documentation

◆ CValueConvert()

Definition at line 29 of file dbapi_driver_convert.cpp.

Member Function Documentation

◆ Convert2CTime()

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

Definition at line 377 of file dbapi_driver_convert.hpp.

References Convert(), FROM, and NCBI_REPORT_CONSTANT_CONVERSION_ERROR.

◆ ConvertFrom()

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

◆ ConvertFromChar()

template<typename TO , typename FROM >
TO value_slice::CValueConvert< SRunTimeCP, CDB_Result >::ConvertFromChar ( const int  item_num) const
inlineprivate

Definition at line 344 of file dbapi_driver_convert.hpp.

References Convert(), FROM, and NCBI_REPORT_CONSTANT_CONVERSION_ERROR.

◆ ConvertFromLOB()

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

◆ ConvertFromStr()

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

Definition at line 330 of file dbapi_driver_convert.hpp.

References Convert(), FROM, and NCBI_REPORT_CONSTANT_CONVERSION_ERROR.

◆ operator bool()

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

Definition at line 34 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator CTime()

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

◆ operator double()

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

Definition at line 154 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator float()

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

Definition at line 142 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Int1()

value_slice::CValueConvert< SRunTimeCP, CDB_Result >::operator Int1 ( void  ) const

Definition at line 46 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Int2()

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

Definition at line 70 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Int4()

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

Definition at line 94 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Int8()

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

Definition at line 118 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator string()

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

◆ operator Uint1()

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

Definition at line 58 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Uint2()

value_slice::CValueConvert< SRunTimeCP, CDB_Result >::operator Uint2 ( void  ) const

Definition at line 82 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Uint4()

value_slice::CValueConvert< SRunTimeCP, CDB_Result >::operator Uint4 ( void  ) const

Definition at line 106 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Uint8()

value_slice::CValueConvert< SRunTimeCP, CDB_Result >::operator Uint8 ( void  ) const

Definition at line 130 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ ReadCDBObject()

template<typename TO >
void value_slice::CValueConvert< SRunTimeCP, CDB_Result >::ReadCDBObject ( TO &  value) const
inlineprivate

Member Data Documentation

◆ m_Value

Definition at line 471 of file dbapi_driver_convert.hpp.


The documentation for this class was generated from the following files:
Modified on Sun Apr 14 05:25:20 2024 by modify_doxy.py rev. 669887