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

Search Toolkit Book for value_slice::CValueConvert_3_01SRunTimeSqlCP_00_01CDB_Result_01_4

#include <dbapi/driver/dbapi_driver_convert.hpp>

+ Collaboration diagram for value_slice::CValueConvert< SRunTimeSqlCP, 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 476 of file dbapi_driver_convert.hpp.

Member Typedef Documentation

◆ obj_type

Definition at line 479 of file dbapi_driver_convert.hpp.

Constructor & Destructor Documentation

◆ CValueConvert()

Definition at line 298 of file dbapi_driver_convert.cpp.

Member Function Documentation

◆ Convert2CTime()

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

Definition at line 560 of file dbapi_driver_convert.hpp.

References Convert(), and FROM.

◆ ConvertFrom()

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

Definition at line 500 of file dbapi_driver_convert.hpp.

References Convert(), FROM, and NCBI_CONVERT_TO.

◆ ConvertFromChar()

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

Definition at line 527 of file dbapi_driver_convert.hpp.

References Convert(), and FROM.

◆ ConvertFromLOB()

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

Definition at line 541 of file dbapi_driver_convert.hpp.

References Convert(), FROM, and result.

◆ ConvertFromStr()

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

Definition at line 513 of file dbapi_driver_convert.hpp.

References Convert(), and FROM.

◆ operator bool()

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

Definition at line 303 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator CTime()

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

◆ operator double()

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

Definition at line 423 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator float()

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

Definition at line 411 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Int1()

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

Definition at line 315 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Int2()

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

Definition at line 339 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Int4()

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

Definition at line 363 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Int8()

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

Definition at line 387 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator string()

◆ operator Uint1()

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

Definition at line 327 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Uint2()

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

Definition at line 351 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Uint4()

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

Definition at line 375 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ operator Uint8()

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

Definition at line 399 of file dbapi_driver_convert.cpp.

References rapidjson::value.

◆ ReadCDBObject()

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

Member Data Documentation

◆ m_Value

Definition at line 647 of file dbapi_driver_convert.hpp.


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