NCBI C++ ToolKit
Classes | Functions
value_slice Namespace Reference

Classes

class  CValueConvert< CP, CVariant >
 
class  CValueConvert< SSafeCP, CDB_Result >
 
class  CValueConvert< SSafeSqlCP, CDB_Result >
 
class  CValueConvert< SRunTimeCP, CDB_Result >
 
class  CValueConvert< SRunTimeSqlCP, CDB_Result >
 
class  CMakeObject
 
class  CMakeObject< CP, R, CDB_Result >
 
class  CMakeObject< SRunTimeCP, pair< T1, T2 >, CDB_Result >
 
class  CMakeObject< SSafeCP, pair< T1, T2 >, CDB_Result >
 
class  CMakeObject< CP, vector< T >, CDB_Result >
 
class  CMakeObject< CP, stack< T >, CDB_Result >
 
class  CMakeObject< CP, deque< T >, CDB_Result >
 
class  CMakeObject< CP, set< T >, CDB_Result >
 
class  CMakeObject< SRunTimeCP, map< K, V >, CDB_Result >
 
class  CMakeObject< SSafeCP, map< K, V >, CDB_Result >
 
class  CConvertTO
 
class  CConvertTO< CP, vector< T > >
 
class  CConvertTO< CP, deque< T > >
 
class  CConvertTO< CP, set< T > >
 
class  CConvertTO< CP, stack< T > >
 
class  CConvertTO< CP, map< K, V > >
 
class  CValueConvert< CP, CDB_LangCmd >
 
class  CValueConvert< CP, CDB_LangCmd * >
 
class  CValueConvert< CP, CDB_RPCCmd >
 
class  CValueConvert< CP, CDB_RPCCmd * >
 
class  CValueConvert< CP, CDB_CursorCmd >
 
class  CValueConvert< CP, CDB_CursorCmd * >
 
struct  SSafeSqlCP
 
struct  SRunTimeSqlCP
 
class  CValueConvert< SSafeCP, CDB_Object >
 
class  CValueConvert< SSafeSqlCP, CDB_Object >
 
class  CValueConvert< SRunTimeCP, CDB_Object >
 
class  CValueConvert< SRunTimeSqlCP, CDB_Object >
 
class  CValueConvert< CP, CDB_Int >
 
class  CValueConvert< CP, CDB_SmallInt >
 
class  CValueConvert< CP, CDB_TinyInt >
 
class  CValueConvert< CP, CDB_BigInt >
 
class  CValueConvert< CP, CDB_VarChar >
 
class  CValueConvert< CP, CDB_Char >
 
class  CValueConvert< CP, CDB_LongChar >
 
class  CValueConvert< CP, CDB_Float >
 
class  CValueConvert< CP, CDB_Double >
 
class  CValueConvert< CP, CDB_SmallDateTime >
 
class  CValueConvert< CP, CDB_DateTime >
 
class  CValueConvert< CP, CDB_Bit >
 
class  CValueConvert< CP, CDB_Numeric >
 
class  CValueConvert
 
class  CValueConvert< CP, string >
 
class  CValueConvert< CP, const char * >
 
class  CValueConvert< CP, bool >
 
class  CValueConvert< CP, Uint1 >
 
class  CValueConvert< CP, Int1 >
 
class  CValueConvert< CP, Uint2 >
 
class  CValueConvert< CP, Int2 >
 
class  CValueConvert< CP, Uint4 >
 
class  CValueConvert< CP, Int4 >
 
class  CValueConvert< CP, unsigned long >
 
class  CValueConvert< CP, long >
 
class  CValueConvert< CP, Uint8 >
 
class  CValueConvert< CP, Int8 >
 
class  CValueConvert< CP, float >
 
class  CValueConvert< CP, double >
 
class  CValueConvert< CP, long double >
 
class  CValueConvert< CP, CTime >
 
struct  SSafeCP
 
struct  SRunTimeCP
 
struct  SLessThanTypeMin
 
struct  SLessThanTypeMin< false, true >
 
struct  SLessThanTypeMin< true, false >
 
struct  SGreaterThanTypeMax
 
struct  SGreaterThanTypeMax< true, true >
 
struct  SGreaterThanTypeMax< false, true >
 
struct  SGreaterThanTypeMax< true, false >
 
struct  SGreaterThanTypeMax< false, false >
 
class  CConvPolicy
 
struct  SConvertUsingRunTimeCP
 
struct  SConvertUsingRunTimeCP< true, true >
 
class  CConvPolicy< SRunTimeCP, bool >
 
class  CConvPolicy< SRunTimeCP, Int1 >
 
class  CConvPolicy< SRunTimeCP, Uint1 >
 
class  CConvPolicy< SRunTimeCP, Int2 >
 
class  CConvPolicy< SRunTimeCP, Uint2 >
 
class  CConvPolicy< SRunTimeCP, Int4 >
 
class  CConvPolicy< SRunTimeCP, Uint4 >
 
class  CConvPolicy< SRunTimeCP, long >
 
class  CConvPolicy< SRunTimeCP, unsigned long >
 
class  CConvPolicy< SRunTimeCP, Int8 >
 
class  CConvPolicy< SRunTimeCP, Uint8 >
 
class  CConvPolicy< SRunTimeCP, string >
 
class  CConvPolicy< SRunTimeCP, float >
 
class  CConvPolicy< SRunTimeCP, double >
 
class  CConvPolicy< SRunTimeCP, long double >
 
class  CConvPolicy< SRunTimeCP, CTime >
 
class  CConvPolicy< SSafeCP, bool >
 
class  CConvPolicy< SSafeCP, Int1 >
 
class  CConvPolicy< SSafeCP, Uint1 >
 
class  CConvPolicy< SSafeCP, Int2 >
 
class  CConvPolicy< SSafeCP, Uint2 >
 
class  CConvPolicy< SSafeCP, Int4 >
 
class  CConvPolicy< SSafeCP, Uint4 >
 
class  CConvPolicy< SSafeCP, long >
 
class  CConvPolicy< SSafeCP, unsigned long >
 
class  CConvPolicy< SSafeCP, Int8 >
 
class  CConvPolicy< SSafeCP, Uint8 >
 
class  CConvPolicy< SSafeCP, string >
 
class  CConvPolicy< SSafeCP, float >
 
class  CConvPolicy< SSafeCP, double >
 
class  CConvPolicy< SSafeCP, CTime >
 

Functions

template<typename CP , typename FROM >
CConvPolicy< CP, FROMMakeCP (const FROM &value)
 
template<typename TO , typename FROM >
TO ConvertUsingRunTimeCP (const FROM &value)
 
static void ReportTypeConvError (EDB_Type from_type, EDB_Type to_type)
 
static void ReportTypeConvError (EDB_Type from_type, const char *to_type)
 
void CheckNULL (const CDB_Object &value)
 
void CheckType (const CDB_Object &value, EDB_Type type1)
 
void CheckType (const CDB_Object &value, EDB_Type type1, EDB_Type type2)
 
void CheckType (const CDB_Object &value, EDB_Type type1, EDB_Type type2, EDB_Type type3)
 
template<typename TO >
TO Convert_CDB_Object (const CDB_Object &value)
 
template<typename TO >
TO Convert_CDB_Object_DT (const CDB_Object &value)
 
template<typename TO >
TO Convert_CDB_ObjectSql (const CDB_Object &value)
 
template<typename TO >
TO Convert_CDB_ObjectSql_DT (const CDB_Object &value)
 

Function Documentation

◆ CheckNULL()

void value_slice::CheckNULL ( const CDB_Object value)
inline

◆ CheckType() [1/3]

void value_slice::CheckType ( const CDB_Object value,
EDB_Type  type1 
)
inline

◆ CheckType() [2/3]

void value_slice::CheckType ( const CDB_Object value,
EDB_Type  type1,
EDB_Type  type2 
)
inline

◆ CheckType() [3/3]

void value_slice::CheckType ( const CDB_Object value,
EDB_Type  type1,
EDB_Type  type2,
EDB_Type  type3 
)
inline

◆ Convert_CDB_Object()

template<typename TO >
TO value_slice::Convert_CDB_Object ( const CDB_Object value)
inline

◆ Convert_CDB_Object_DT()

template<typename TO >
TO value_slice::Convert_CDB_Object_DT ( const CDB_Object value)
inline

◆ Convert_CDB_ObjectSql()

template<typename TO >
TO value_slice::Convert_CDB_ObjectSql ( const CDB_Object value)
inline

◆ Convert_CDB_ObjectSql_DT()

template<typename TO >
TO value_slice::Convert_CDB_ObjectSql_DT ( const CDB_Object value)
inline

◆ ConvertUsingRunTimeCP()

template<typename TO , typename FROM >
TO value_slice::ConvertUsingRunTimeCP ( const FROM value)
inline

Definition at line 205 of file value_convert_policy.hpp.

References rapidjson::value.

◆ MakeCP()

template<typename CP , typename FROM >
CConvPolicy<CP, FROM> value_slice::MakeCP ( const FROM value)
inline

Definition at line 60 of file value_convert.hpp.

References rapidjson::value.

◆ ReportTypeConvError() [1/2]

static void value_slice::ReportTypeConvError ( EDB_Type  from_type,
const char *  to_type 
)
static

Definition at line 61 of file dbapi_object_convert.cpp.

References DATABASE_DRIVER_ERROR, and CDB_Object::GetTypeName().

◆ ReportTypeConvError() [2/2]

static void value_slice::ReportTypeConvError ( EDB_Type  from_type,
EDB_Type  to_type 
)
static

Definition at line 49 of file dbapi_object_convert.cpp.

References DATABASE_DRIVER_ERROR, and CDB_Object::GetTypeName().

Referenced by CheckType(), Convert_CDB_Object(), Convert_CDB_Object_DT(), Convert_CDB_ObjectSql(), Convert_CDB_ObjectSql_DT(), value_slice::CValueConvert< SSafeCP, CDB_Object >::operator const CTime &(), value_slice::CValueConvert< SSafeSqlCP, CDB_Object >::operator const CTime &(), value_slice::CValueConvert< SRunTimeCP, CDB_Object >::operator const CTime &(), value_slice::CValueConvert< SRunTimeSqlCP, CDB_Object >::operator const CTime &(), value_slice::CValueConvert< SSafeCP, CDB_Object >::operator double(), value_slice::CValueConvert< SSafeSqlCP, CDB_Object >::operator double(), value_slice::CValueConvert< SSafeCP, CDB_Object >::operator float(), value_slice::CValueConvert< SSafeSqlCP, CDB_Object >::operator float(), value_slice::CValueConvert< SSafeCP, CDB_Object >::operator Int2(), value_slice::CValueConvert< SSafeSqlCP, CDB_Object >::operator Int2(), value_slice::CValueConvert< SSafeCP, CDB_Object >::operator Int4(), value_slice::CValueConvert< SSafeSqlCP, CDB_Object >::operator Int4(), value_slice::CValueConvert< SSafeCP, CDB_Object >::operator Int8(), value_slice::CValueConvert< SSafeSqlCP, CDB_Object >::operator Int8(), value_slice::CValueConvert< SSafeCP, CDB_Object >::operator string(), value_slice::CValueConvert< SSafeSqlCP, CDB_Object >::operator string(), value_slice::CValueConvert< SSafeCP, CDB_Object >::operator Uint1(), and value_slice::CValueConvert< SSafeSqlCP, CDB_Object >::operator Uint1().

Modified on Sun Apr 14 05:28:37 2024 by modify_doxy.py rev. 669887