NCBI C++ ToolKit
Classes | Macros | Typedefs | Enumerations | Enumerator | Functions | Variables
Database Types
+ Collaboration diagram for Database Types:

Classes

class  CGenericSqlString< TChar >
 Convenience extension of basic_string, supporting implicit conversion to const TChar* in most situations (but alas not within variadic argument lists, as for printf and the like). More...
 
class  CWString
 
class  CDB_Object
 
class  CDB_Int
 
class  CDB_SmallInt
 
class  CDB_TinyInt
 
class  CDB_BigInt
 
class  CDB_String
 
class  CDB_VarChar
 
class  CDB_Char
 
class  CDB_LongChar
 
class  CDB_VarBinary
 
class  CDB_Binary
 
class  CDB_LongBinary
 
class  CDB_Float
 
class  CDB_Double
 
class  CDB_Stream
 
class  CDB_Image
 
class  CDB_VarBinaryMax
 
class  CDB_Text
 
class  CDB_VarCharMax
 
class  CDB_SmallDateTime
 
class  CDB_DateTime
 
class  CDB_BigDateTime
 
class  CDB_Bit
 
class  CDB_Numeric
 

Macros

#define K8_1   8191
 

Typedefs

typedef basic_string< TCharCGenericSqlString< TChar >::TBasicString
 
typedef TBasicString::size_type CGenericSqlString< TChar >::size_type
 
typedef TBasicString::value_type CGenericSqlString< TChar >::value_type
 
typedef CGenericSqlString< char > CSqlString
 
typedef CGenericSqlString< wchar_t > CWSqlString
 
typedef CObjectFor< stringCDB_VarBinary::TValue
 
typedef CObjectFor< stringCDB_Binary::TValue
 
typedef CObjectFor< stringCDB_LongBinary::TValue
 
typedef CNullable< short > CDB_BigDateTime::TOffset
 offset in minutes from GMT, if known More...
 

Enumerations

enum  EDB_Type {
  eDB_Int , eDB_SmallInt , eDB_TinyInt , eDB_BigInt ,
  eDB_VarChar , eDB_Char , eDB_VarBinary , eDB_Binary ,
  eDB_Float , eDB_Double , eDB_DateTime , eDB_BigDateTime ,
  eDB_SmallDateTime , eDB_Text , eDB_Image , eDB_Bit ,
  eDB_Numeric , eDB_LongChar , eDB_LongBinary , eDB_VarCharMax ,
  eDB_VarBinaryMax , eDB_UnsupportedType
}
 
enum  EBlobType {
  eBlobType_none , eBlobType_Text , eBlobType_Binary , eBlobType_contig = 1 ,
  eBlobType_scaffold = 2 , eBlobType_protein = 3
}
 
enum  EBulkEnc { eBulkEnc_RawBytes , eBulkEnc_RawUCS2 , eBulkEnc_UCS2FromChar }
 
enum  {
  CWString::eChar = 0x1 , CWString::eWChar = 0x2 , CWString::eString = 0x4 , CWString::eWString = 0x8 ,
  CWString::eUTF8String = 0x10 , CWString::eUCS2LEString = 0x20
}
 
enum  CDB_BigDateTime::ESQLType { CDB_BigDateTime::eDate = 1 , CDB_BigDateTime::eTime = 2 , CDB_BigDateTime::eDateTime = 3 , CDB_BigDateTime::eDateTimeOffset = 7 }
 
enum  CDB_BigDateTime::ESyntax { CDB_BigDateTime::eSyntax_Unknown , CDB_BigDateTime::eSyntax_Microsoft , CDB_BigDateTime::eSyntax_Sybase }
 

Functions

 CGenericSqlString< TChar >::CGenericSqlString (void)
 
 CGenericSqlString< TChar >::CGenericSqlString (const TBasicString &s)
 
 CGenericSqlString< TChar >::CGenericSqlString (const value_type *data)
 
 CGenericSqlString< TChar >::CGenericSqlString (const value_type *data, size_type len)
 
size_type CGenericSqlString< TChar >::byte_count (void) const
 
NCBI_DBAPIDRIVER_EXPORT CGenericSqlString< TChar >::operator const value_type * (void) const
 
 CWString::CWString (void)
 
 CWString::CWString (const CWString &str)
 
 CWString::CWString (const char *str, string::size_type size=string::npos, EEncoding enc=eEncoding_Unknown)
 
 CWString::CWString (const string &str, EEncoding enc=eEncoding_Unknown)
 
 CWString::CWString (const wchar_t *str, wstring::size_type size=wstring::npos)
 
 CWString::CWString (const wstring &str)
 
 CWString::~CWString (void)
 
CWStringCWString::operator= (const CWString &str)
 
 CWString::operator const CSqlString & (void) const
 
 CWString::operator char * (void) const
 
 CWString::operator const char * (void) const
 
const char * CWString::AsCString (EEncoding str_enc=eEncoding_Unknown) const
 
 CWString::operator const wstring & (void) const
 
 CWString::operator wchar_t * (void) const
 
 CWString::operator const wchar_t * (void) const
 
const wchar_t * CWString::AsCWString (EEncoding str_enc=eEncoding_Unknown) const
 
const stringCWString::AsLatin1 (EEncoding str_enc=eEncoding_Unknown) const
 
const stringCWString::AsUTF8 (EEncoding str_enc=eEncoding_Unknown) const
 
const TStringUCS2CWString::AsUCS2_LE (EEncoding str_enc=eEncoding_Unknown) const
 
const wstring & CWString::AsUnicode (EEncoding str_enc=eEncoding_Unknown) const
 
const stringCWString::ConvertTo (EEncoding to_enc, EEncoding from_enc=eEncoding_Unknown) const
 
size_t CWString::GetSymbolNum (void) const
 
void CWString::Clear (void)
 
void CWString::Assign (const char *str, string::size_type size=string::npos, EEncoding enc=eEncoding_Unknown)
 
void CWString::Assign (const string &str, EEncoding enc=eEncoding_Unknown)
 
void CWString::Assign (const wchar_t *str, wstring::size_type size=wstring::npos)
 
void CWString::Assign (const wstring &str)
 
int CWString::GetAvailableValueType (void) const
 
void CWString::x_MakeString (EEncoding str_enc=eEncoding_Unknown) const
 
void CWString::x_MakeWString (EEncoding str_enc=eEncoding_Unknown) const
 
void CWString::x_MakeUTF8String (EEncoding str_enc=eEncoding_Unknown) const
 
void CWString::x_MakeUCS2LEString (EEncoding str_enc=eEncoding_Unknown) const
 
void CWString::x_CalculateEncoding (EEncoding str_enc) const
 
void CWString::x_UTF8ToString (EEncoding str_enc=eEncoding_Unknown) const
 
void CWString::x_StringToUTF8 (EEncoding str_enc=eEncoding_Unknown) const
 
 CDB_Object::CDB_Object (bool is_null=true)
 
virtual CDB_Object::~CDB_Object ()
 
bool CDB_Object::IsNULL () const
 
virtual void CDB_Object::AssignNULL ()
 
virtual EDB_Type CDB_Object::GetType () const =0
 
virtual CDB_ObjectCDB_Object::Clone () const =0
 
virtual CDB_ObjectCDB_Object::ShallowClone () const
 
virtual void CDB_Object::AssignValue (const CDB_Object &v)=0
 
static CDB_ObjectCDB_Object::Create (EDB_Type type, size_t size=1)
 
static const char * CDB_Object::GetTypeName (EDB_Type db_type, bool throw_on_unknown=true)
 
static EBlobType CDB_Object::GetBlobType (EDB_Type db_type)
 
static bool CDB_Object::IsBlobType (EDB_Type db_type)
 
string CDB_Object::GetLogString (void) const
 
void CDB_Object::SetNULL (bool flag=true)
 
 CDB_Int::CDB_Int ()
 
 CDB_Int::CDB_Int (const Int4 &i)
 
virtual CDB_Int::~CDB_Int (void)
 
CDB_IntCDB_Int::operator= (const Int4 &i)
 
Int4 CDB_Int::Value () const
 
void * CDB_Int::BindVal () const
 
virtual EDB_Type CDB_Int::GetType () const
 
virtual CDB_ObjectCDB_Int::Clone () const
 
virtual void CDB_Int::AssignValue (const CDB_Object &v)
 
 CDB_SmallInt::CDB_SmallInt ()
 
 CDB_SmallInt::CDB_SmallInt (const Int2 &i)
 
virtual CDB_SmallInt::~CDB_SmallInt (void)
 
CDB_SmallIntCDB_SmallInt::operator= (const Int2 &i)
 
Int2 CDB_SmallInt::Value () const
 
void * CDB_SmallInt::BindVal () const
 
virtual EDB_Type CDB_SmallInt::GetType () const
 
virtual CDB_ObjectCDB_SmallInt::Clone () const
 
virtual void CDB_SmallInt::AssignValue (const CDB_Object &v)
 
 CDB_TinyInt::CDB_TinyInt ()
 
 CDB_TinyInt::CDB_TinyInt (const Uint1 &i)
 
virtual CDB_TinyInt::~CDB_TinyInt (void)
 
CDB_TinyIntCDB_TinyInt::operator= (const Uint1 &i)
 
Uint1 CDB_TinyInt::Value () const
 
void * CDB_TinyInt::BindVal () const
 
virtual EDB_Type CDB_TinyInt::GetType () const
 
virtual CDB_ObjectCDB_TinyInt::Clone () const
 
virtual void CDB_TinyInt::AssignValue (const CDB_Object &v)
 
 CDB_BigInt::CDB_BigInt ()
 
 CDB_BigInt::CDB_BigInt (const Int8 &i)
 
virtual CDB_BigInt::~CDB_BigInt (void)
 
CDB_BigIntCDB_BigInt::operator= (const Int8 &i)
 
Int8 CDB_BigInt::Value () const
 
void * CDB_BigInt::BindVal () const
 
virtual EDB_Type CDB_BigInt::GetType () const
 
virtual CDB_ObjectCDB_BigInt::Clone () const
 
virtual void CDB_BigInt::AssignValue (const CDB_Object &v)
 
 CDB_String::CDB_String (void)
 
 CDB_String::CDB_String (const CDB_String &other, bool share_data=false)
 
 CDB_String::CDB_String (const string &s, EEncoding enc=eEncoding_Unknown)
 
 CDB_String::CDB_String (const char *s, string::size_type size=string::npos, EEncoding enc=eEncoding_Unknown)
 
 CDB_String::CDB_String (const string &s, string::size_type size=string::npos, EEncoding enc=eEncoding_Unknown)
 
 CDB_String::CDB_String (const TStringUCS2 &s, TStringUCS2::size_type size=TStringUCS2::npos)
 
virtual CDB_String::~CDB_String (void)
 
CDB_StringCDB_String::operator= (const CDB_String &other)
 
CDB_StringCDB_String::operator= (const string &s)
 
CDB_StringCDB_String::operator= (const char *s)
 
CDB_StringCDB_String::operator= (const TStringUCS2 &s)
 
 CDB_String::operator const char * (void) const
 
 CDB_String::operator const string & (void) const
 
const wstring & CDB_String::AsWString (EEncoding enc) const
 
const wchar_t * CDB_String::AsUnicode (EEncoding enc) const
 
const stringCDB_String::AsString (void) const
 
size_t CDB_String::Size (void) const
 
const char * CDB_String::Data (void) const
 
const char * CDB_String::AsCString (void) const
 
const char * CDB_String::Value (void) const
 
void CDB_String::Assign (const CDB_String &other)
 
void CDB_String::Assign (const char *s, string::size_type size=string::npos, EEncoding enc=eEncoding_Unknown)
 
void CDB_String::Assign (const string &s, string::size_type size=string::npos, EEncoding enc=eEncoding_Unknown)
 
void CDB_String::Assign (const TStringUCS2 &s, TStringUCS2::size_type size=TStringUCS2::npos)
 
EBulkEnc CDB_String::GetBulkInsertionEnc (void) const
 
void CDB_String::SetBulkInsertionEnc (EBulkEnc e)
 
void CDB_String::GetBulkInsertionData (CTempString *ts, bool convert_raw_bytes=false) const
 
const stringCDB_String::x_GetWString () const
 
 CDB_VarChar::CDB_VarChar (void)
 
 CDB_VarChar::CDB_VarChar (const CDB_VarChar &v, bool share_data=false)
 
 CDB_VarChar::CDB_VarChar (const string &s, EEncoding enc=eEncoding_Unknown)
 
 CDB_VarChar::CDB_VarChar (const char *s, EEncoding enc=eEncoding_Unknown)
 
 CDB_VarChar::CDB_VarChar (const char *s, size_t l, EEncoding enc=eEncoding_Unknown)
 
 CDB_VarChar::CDB_VarChar (const TStringUCS2 &s, size_t l=TStringUCS2::npos)
 
virtual CDB_VarChar::~CDB_VarChar (void)
 
CDB_VarCharCDB_VarChar::operator= (const string &s)
 
CDB_VarCharCDB_VarChar::operator= (const char *s)
 
CDB_VarCharCDB_VarChar::operator= (const TStringUCS2 &s)
 
CDB_VarCharCDB_VarChar::SetValue (const string &s, EEncoding enc=eEncoding_Unknown)
 
CDB_VarCharCDB_VarChar::SetValue (const char *s, EEncoding enc=eEncoding_Unknown)
 
CDB_VarCharCDB_VarChar::SetValue (const char *s, size_t l, EEncoding enc=eEncoding_Unknown)
 
CDB_VarCharCDB_VarChar::SetValue (const TStringUCS2 &s)
 
virtual EDB_Type CDB_VarChar::GetType () const
 
virtual CDB_ObjectCDB_VarChar::Clone () const
 
virtual CDB_ObjectCDB_VarChar::ShallowClone () const
 
virtual void CDB_VarChar::AssignValue (const CDB_Object &v)
 
 CDB_Char::CDB_Char (size_t s=1)
 
 CDB_Char::CDB_Char (size_t s, const string &v, EEncoding enc=eEncoding_Unknown)
 
 CDB_Char::CDB_Char (size_t s, const char *str, EEncoding enc=eEncoding_Unknown)
 
 CDB_Char::CDB_Char (size_t s, const TStringUCS2 &v)
 
 CDB_Char::CDB_Char (const CDB_Char &v, bool share_data=false)
 
virtual CDB_Char::~CDB_Char (void)
 
CDB_CharCDB_Char::operator= (const CDB_Char &v)
 
CDB_CharCDB_Char::operator= (const string &v)
 
CDB_CharCDB_Char::operator= (const char *v)
 
CDB_CharCDB_Char::operator= (const TStringUCS2 &v)
 
void CDB_Char::SetValue (const char *str, size_t len, EEncoding enc=eEncoding_Unknown)
 
void CDB_Char::SetValue (const TStringUCS2 &v, size_t len)
 
virtual EDB_Type CDB_Char::GetType () const
 
virtual CDB_ObjectCDB_Char::Clone () const
 
virtual CDB_ObjectCDB_Char::ShallowClone () const
 
virtual void CDB_Char::AssignValue (const CDB_Object &v)
 
 CDB_LongChar::CDB_LongChar (size_t s=8191)
 
 CDB_LongChar::CDB_LongChar (size_t s, const string &v, EEncoding enc=eEncoding_Unknown)
 
 CDB_LongChar::CDB_LongChar (size_t len, const char *str, EEncoding enc=eEncoding_Unknown)
 
 CDB_LongChar::CDB_LongChar (size_t s, const TStringUCS2 &v)
 
 CDB_LongChar::CDB_LongChar (const CDB_LongChar &v, bool share_data=false)
 
virtual CDB_LongChar::~CDB_LongChar ()
 
CDB_LongCharCDB_LongChar::operator= (const CDB_LongChar &v)
 
CDB_LongCharCDB_LongChar::operator= (const string &v)
 
CDB_LongCharCDB_LongChar::operator= (const char *v)
 
CDB_LongCharCDB_LongChar::operator= (const TStringUCS2 &v)
 
void CDB_LongChar::SetValue (const char *str, size_t len, EEncoding enc=eEncoding_Unknown)
 
void CDB_LongChar::SetValue (const TStringUCS2 &str, size_t len)
 
size_t CDB_LongChar::Size () const
 
size_t CDB_LongChar::DataSize () const
 
virtual EDB_Type CDB_LongChar::GetType () const
 
virtual CDB_ObjectCDB_LongChar::Clone () const
 
virtual CDB_ObjectCDB_LongChar::ShallowClone () const
 
virtual void CDB_LongChar::AssignValue (const CDB_Object &v)
 
 CDB_VarBinary::CDB_VarBinary ()
 
 CDB_VarBinary::CDB_VarBinary (const CDB_VarBinary &v, bool share_data=false)
 
 CDB_VarBinary::CDB_VarBinary (const void *v, size_t l)
 
virtual CDB_VarBinary::~CDB_VarBinary (void)
 
void CDB_VarBinary::SetValue (const void *v, size_t l)
 
CDB_VarBinaryCDB_VarBinary::operator= (const CDB_VarBinary &v)
 
const void * CDB_VarBinary::Value () const
 
const void * CDB_VarBinary::Data () const
 
size_t CDB_VarBinary::Size () const
 
virtual EDB_Type CDB_VarBinary::GetType () const
 
virtual CDB_ObjectCDB_VarBinary::Clone () const
 
virtual CDB_ObjectCDB_VarBinary::ShallowClone () const
 
virtual void CDB_VarBinary::AssignValue (const CDB_Object &v)
 
 CDB_Binary::CDB_Binary (size_t s=1)
 
 CDB_Binary::CDB_Binary (size_t s, const void *v, size_t v_size)
 
 CDB_Binary::CDB_Binary (const CDB_Binary &v, bool share_data=false)
 
virtual CDB_Binary::~CDB_Binary ()
 
void CDB_Binary::SetValue (const void *v, size_t v_size)
 
CDB_BinaryCDB_Binary::operator= (const CDB_Binary &v)
 
const void * CDB_Binary::Value () const
 
const void * CDB_Binary::Data () const
 
size_t CDB_Binary::Size () const
 
virtual EDB_Type CDB_Binary::GetType () const
 
virtual CDB_ObjectCDB_Binary::Clone () const
 
virtual CDB_ObjectCDB_Binary::ShallowClone () const
 
virtual void CDB_Binary::AssignValue (const CDB_Object &v)
 
 CDB_LongBinary::CDB_LongBinary (size_t s=8191)
 
 CDB_LongBinary::CDB_LongBinary (size_t s, const void *v, size_t v_size)
 
 CDB_LongBinary::CDB_LongBinary (const CDB_LongBinary &v, bool share_data=false)
 
virtual CDB_LongBinary::~CDB_LongBinary ()
 
void CDB_LongBinary::SetValue (const void *v, size_t v_size)
 
CDB_LongBinaryCDB_LongBinary::operator= (const CDB_LongBinary &v)
 
const void * CDB_LongBinary::Value () const
 
const void * CDB_LongBinary::Data () const
 
size_t CDB_LongBinary::Size () const
 
size_t CDB_LongBinary::DataSize () const
 
virtual EDB_Type CDB_LongBinary::GetType () const
 
virtual CDB_ObjectCDB_LongBinary::Clone () const
 
virtual CDB_ObjectCDB_LongBinary::ShallowClone () const
 
virtual void CDB_LongBinary::AssignValue (const CDB_Object &v)
 
 CDB_Float::CDB_Float ()
 
 CDB_Float::CDB_Float (float i)
 
virtual CDB_Float::~CDB_Float (void)
 
CDB_FloatCDB_Float::operator= (const float &i)
 
float CDB_Float::Value () const
 
void * CDB_Float::BindVal () const
 
virtual EDB_Type CDB_Float::GetType () const
 
virtual CDB_ObjectCDB_Float::Clone () const
 
virtual void CDB_Float::AssignValue (const CDB_Object &v)
 
 CDB_Double::CDB_Double ()
 
 CDB_Double::CDB_Double (double i)
 
virtual CDB_Double::~CDB_Double (void)
 
CDB_DoubleCDB_Double::operator= (const double &i)
 
double CDB_Double::Value () const
 
void * CDB_Double::BindVal () const
 
virtual EDB_Type CDB_Double::GetType () const
 
virtual CDB_ObjectCDB_Double::Clone () const
 
virtual void CDB_Double::AssignValue (const CDB_Object &v)
 
virtual CDB_Stream::~CDB_Stream ()
 
virtual void CDB_Stream::AssignNULL ()
 
CDB_StreamCDB_Stream::Assign (const CDB_Stream &v)
 
virtual size_t CDB_Stream::Read (void *buff, size_t nof_bytes)
 
virtual size_t CDB_Stream::Peek (void *buff, size_t nof_bytes) const
 
virtual size_t CDB_Stream::PeekAt (void *buff, size_t start, size_t nof_bytes) const
 
virtual size_t CDB_Stream::Append (const void *buff, size_t nof_bytes)
 
virtual void CDB_Stream::Truncate (size_t nof_bytes=kMax_Int)
 
virtual bool CDB_Stream::MoveTo (size_t byte_number)
 
virtual size_t CDB_Stream::Size () const
 
virtual void CDB_Stream::AssignValue (const CDB_Object &v)
 
 CDB_Stream::CDB_Stream ()
 
 CDB_Stream::CDB_Stream (const CDB_Stream &s, bool share_data=false)
 
void CDB_Stream::x_SetEncoding (EBulkEnc e)
 
size_t CDB_Stream::x_Append (const void *buff, size_t nof_bytes)
 
size_t CDB_Stream::x_Append (const CTempString &s, EEncoding enc)
 
size_t CDB_Stream::x_Append (const TStringUCS2 &s, size_t l=TStringUCS2::npos)
 
 CDB_Image::CDB_Image (void)
 
 CDB_Image::CDB_Image (const CDB_Image &image, bool share_data=false)
 
virtual CDB_Image::~CDB_Image (void)
 
CDB_ImageCDB_Image::operator= (const CDB_Image &image)
 
virtual EDB_Type CDB_Image::GetType () const
 
virtual CDB_ObjectCDB_Image::Clone () const
 
virtual CDB_ObjectCDB_Image::ShallowClone () const
 
 CDB_VarBinaryMax::CDB_VarBinaryMax (void)
 
 CDB_VarBinaryMax::CDB_VarBinaryMax (const CDB_VarBinaryMax &v, bool share_data=false)
 
 CDB_VarBinaryMax::CDB_VarBinaryMax (const void *v, size_t l)
 
virtual CDB_VarBinaryMax::~CDB_VarBinaryMax (void)
 
void CDB_VarBinaryMax::SetValue (const void *v, size_t l)
 
CDB_VarBinaryMaxCDB_VarBinaryMax::operator= (const CDB_VarBinaryMax &v)
 
virtual EDB_Type CDB_VarBinaryMax::GetType () const
 
virtual CDB_ObjectCDB_VarBinaryMax::Clone () const
 
virtual CDB_ObjectCDB_VarBinaryMax::ShallowClone () const
 
 CDB_Text::CDB_Text (void)
 
 CDB_Text::CDB_Text (const CDB_Text &text, bool share_data=false)
 
virtual CDB_Text::~CDB_Text (void)
 
EBulkEnc CDB_Text::GetEncoding (void) const
 
void CDB_Text::SetEncoding (EBulkEnc e)
 
virtual size_t CDB_Text::Append (const void *buff, size_t nof_bytes)
 
virtual size_t CDB_Text::Append (const CTempString &s, EEncoding enc=eEncoding_Unknown)
 
virtual size_t CDB_Text::Append (const TStringUCS2 &s)
 
CDB_TextCDB_Text::operator= (const CDB_Text &text)
 
virtual EDB_Type CDB_Text::GetType () const
 
virtual CDB_ObjectCDB_Text::Clone () const
 
virtual CDB_ObjectCDB_Text::ShallowClone () const
 
 CDB_VarCharMax::CDB_VarCharMax (void)
 
 CDB_VarCharMax::CDB_VarCharMax (const CDB_VarCharMax &v, bool share_data=false)
 
 CDB_VarCharMax::CDB_VarCharMax (const string &s, EEncoding enc=eEncoding_Unknown)
 
 CDB_VarCharMax::CDB_VarCharMax (const char *s, EEncoding enc=eEncoding_Unknown)
 
 CDB_VarCharMax::CDB_VarCharMax (const char *s, size_t l, EEncoding enc=eEncoding_Unknown)
 
 CDB_VarCharMax::CDB_VarCharMax (const TStringUCS2 &s, size_t l=TStringUCS2::npos)
 
virtual CDB_VarCharMax::~CDB_VarCharMax (void)
 
EBulkEnc CDB_VarCharMax::GetEncoding (void) const
 
void CDB_VarCharMax::SetEncoding (EBulkEnc e)
 
virtual size_t CDB_VarCharMax::Append (const void *buff, size_t nof_bytes)
 
virtual size_t CDB_VarCharMax::Append (const CTempString &s, EEncoding enc=eEncoding_Unknown)
 
virtual size_t CDB_VarCharMax::Append (const TStringUCS2 &s, size_t l=TStringUCS2::npos)
 
CDB_VarCharMaxCDB_VarCharMax::SetValue (const string &s, EEncoding enc=eEncoding_Unknown)
 
CDB_VarCharMaxCDB_VarCharMax::SetValue (const char *s, EEncoding enc=eEncoding_Unknown)
 
CDB_VarCharMaxCDB_VarCharMax::SetValue (const char *s, size_t l, EEncoding enc=eEncoding_Unknown)
 
CDB_VarCharMaxCDB_VarCharMax::SetValue (const TStringUCS2 &s, size_t l=TStringUCS2::npos)
 
CDB_VarCharMaxCDB_VarCharMax::operator= (const string &s)
 
CDB_VarCharMaxCDB_VarCharMax::operator= (const char *s)
 
CDB_VarCharMaxCDB_VarCharMax::operator= (const TStringUCS2 &s)
 
CDB_VarCharMaxCDB_VarCharMax::operator= (const CDB_VarCharMax &v)
 
virtual EDB_Type CDB_VarCharMax::GetType () const
 
virtual CDB_ObjectCDB_VarCharMax::Clone () const
 
virtual CDB_ObjectCDB_VarCharMax::ShallowClone () const
 
 CDB_SmallDateTime::CDB_SmallDateTime (CTime::EInitMode mode=CTime::eEmpty)
 
 CDB_SmallDateTime::CDB_SmallDateTime (const CTime &t)
 
 CDB_SmallDateTime::CDB_SmallDateTime (Uint2 days, Uint2 minutes)
 
virtual CDB_SmallDateTime::~CDB_SmallDateTime (void)
 
CDB_SmallDateTimeCDB_SmallDateTime::operator= (const CTime &t)
 
CDB_SmallDateTimeCDB_SmallDateTime::Assign (Uint2 days, Uint2 minutes)
 
const CTimeCDB_SmallDateTime::Value (void) const
 
Uint2 CDB_SmallDateTime::GetDays (void) const
 
Uint2 CDB_SmallDateTime::GetMinutes (void) const
 
virtual EDB_Type CDB_SmallDateTime::GetType (void) const
 
virtual CDB_ObjectCDB_SmallDateTime::Clone (void) const
 
virtual void CDB_SmallDateTime::AssignValue (const CDB_Object &v)
 
 CDB_DateTime::CDB_DateTime (CTime::EInitMode mode=CTime::eEmpty)
 
 CDB_DateTime::CDB_DateTime (const CTime &t)
 
 CDB_DateTime::CDB_DateTime (Int4 d, Int4 s300)
 
virtual CDB_DateTime::~CDB_DateTime (void)
 
CDB_DateTimeCDB_DateTime::operator= (const CTime &t)
 
CDB_DateTimeCDB_DateTime::Assign (Int4 d, Int4 s300)
 
const CTimeCDB_DateTime::Value (void) const
 
Int4 CDB_DateTime::GetDays (void) const
 
Int4 CDB_DateTime::Get300Secs (void) const
 
virtual EDB_Type CDB_DateTime::GetType (void) const
 
virtual CDB_ObjectCDB_DateTime::Clone (void) const
 
virtual void CDB_DateTime::AssignValue (const CDB_Object &v)
 
 CDB_BigDateTime::CDB_BigDateTime (CTime::EInitMode mode=CTime::eEmpty, ESQLType sql_type=eDateTime, TOffset offset=null)
 
 CDB_BigDateTime::CDB_BigDateTime (const CTime &t, ESQLType sql_type=eDateTime, TOffset offset=null)
 
CDB_BigDateTimeCDB_BigDateTime::Assign (const CTime &t, ESQLType sql_type=eDateTime, TOffset offset=null)
 
CDB_BigDateTimeCDB_BigDateTime::operator= (const CTime &t)
 
const CTimeCDB_BigDateTime::GetCTime (void) const
 
const TOffsetCDB_BigDateTime::GetOffset (void) const
 
ESQLType CDB_BigDateTime::GetSQLType (void) const
 
const char * CDB_BigDateTime::GetSQLTypeName (ESyntax syntax)
 
virtual EDB_Type CDB_BigDateTime::GetType (void) const
 
virtual CDB_ObjectCDB_BigDateTime::Clone (void) const
 
virtual void CDB_BigDateTime::AssignValue (const CDB_Object &v)
 
static CTimeFormat CDB_BigDateTime::GetTimeFormat (ESyntax syntax, ESQLType sql_type=eDateTime, TOffset offset=null)
 
static pair< ESyntax, ESQLTypeCDB_BigDateTime::Identify (const CTempString &s)
 
 CDB_Bit::CDB_Bit ()
 
 CDB_Bit::CDB_Bit (int i)
 
 CDB_Bit::CDB_Bit (bool i)
 
virtual CDB_Bit::~CDB_Bit (void)
 
CDB_BitCDB_Bit::operator= (const int &i)
 
CDB_BitCDB_Bit::operator= (const bool &i)
 
int CDB_Bit::Value () const
 
void * CDB_Bit::BindVal () const
 
virtual EDB_Type CDB_Bit::GetType () const
 
virtual CDB_ObjectCDB_Bit::Clone () const
 
virtual void CDB_Bit::AssignValue (const CDB_Object &v)
 
 CDB_Numeric::CDB_Numeric ()
 
 CDB_Numeric::CDB_Numeric (unsigned int precision, unsigned int scale)
 
 CDB_Numeric::CDB_Numeric (unsigned int precision, unsigned int scale, const unsigned char *arr)
 
 CDB_Numeric::CDB_Numeric (unsigned int precision, unsigned int scale, bool is_negative, const unsigned char *arr)
 
 CDB_Numeric::CDB_Numeric (unsigned int precision, unsigned int scale, const char *val)
 
 CDB_Numeric::CDB_Numeric (unsigned int precision, unsigned int scale, const string &val)
 
virtual CDB_Numeric::~CDB_Numeric (void)
 
CDB_NumericCDB_Numeric::Assign (unsigned int precision, unsigned int scale, const unsigned char *arr)
 
CDB_NumericCDB_Numeric::Assign (unsigned int precision, unsigned int scale, bool is_negative, const unsigned char *arr)
 
CDB_NumericCDB_Numeric::operator= (const char *val)
 
CDB_NumericCDB_Numeric::operator= (const string &val)
 
string CDB_Numeric::Value () const
 
Uint1 CDB_Numeric::Precision () const
 
Uint1 CDB_Numeric::Scale () const
 
const unsigned char * CDB_Numeric::RawData () const
 
virtual EDB_Type CDB_Numeric::GetType () const
 
virtual CDB_ObjectCDB_Numeric::Clone () const
 
virtual void CDB_Numeric::AssignValue (const CDB_Object &v)
 
void CDB_Numeric::x_MakeFromString (unsigned int precision, unsigned int scale, const CTempString &s)
 
typedef NCBI_PARAM_TYPE (dbapi, max_logged_param_length) TDbapi_MaxLoggedParamLength
 

Variables

int CWString::m_AvailableValueType
 
EEncoding CWString::m_StringEncoding
 
const char * CWString::m_Char
 
const wchar_t * CWString::m_WChar
 
CSqlString CWString::m_String
 
wstring CWString::m_WString
 
CStringUTF8 CWString::m_UTF8String
 
TStringUCS2 CWString::m_UCS2LEString
 
bool CDB_Object::m_Null
 
Int4 CDB_Int::m_Val
 
Int2 CDB_SmallInt::m_Val
 
Uint1 CDB_TinyInt::m_Val
 
Int8 CDB_BigInt::m_Val
 
CRef< CWStringCDB_String::m_WString
 
EBulkEnc CDB_String::m_BulkInsertionEnc
 
size_t CDB_Char::m_Size
 
size_t CDB_LongChar::m_Size
 
CRef< TValueCDB_VarBinary::m_Value
 
size_t CDB_Binary::m_Size
 
CRef< TValueCDB_Binary::m_Value
 
size_t CDB_LongBinary::m_Size
 
size_t CDB_LongBinary::m_DataSize
 
CRef< TValueCDB_LongBinary::m_Value
 
float CDB_Float::m_Val
 
double CDB_Double::m_Val
 
EBulkEnc CDB_Stream::m_Encoding
 
CMemStoreCDB_Stream::m_Store
 
CTime CDB_SmallDateTime::m_NCBITime
 
TDBTimeU CDB_SmallDateTime::m_DBTime
 
unsigned int CDB_SmallDateTime::m_Status
 
CTime CDB_DateTime::m_NCBITime
 
TDBTimeI CDB_DateTime::m_DBTime
 
unsigned int CDB_DateTime::m_Status
 
CTime CDB_BigDateTime::m_Time
 
ESQLType CDB_BigDateTime::m_SQLType
 
TOffset CDB_BigDateTime::m_Offset
 
Uint1 CDB_Bit::m_Val
 
Uint1 CDB_Numeric::m_Precision
 
Uint1 CDB_Numeric::m_Scale
 
unsigned char CDB_Numeric::m_Body [33]
 
 NCBI_DBAPIDRIVER_EXPORT
 
unsigned dbapi
 
unsigned max_logged_param_length
 

Detailed Description

Macro Definition Documentation

◆ K8_1

#define K8_1   8191

Definition at line 658 of file types.hpp.

Typedef Documentation

◆ CSqlString

Definition at line 119 of file types.hpp.

◆ CWSqlString

typedef CGenericSqlString<wchar_t> CWSqlString

Definition at line 121 of file types.hpp.

◆ size_type

template<typename TChar >
typedef TBasicString::size_type CGenericSqlString< TChar >::size_type

Definition at line 102 of file types.hpp.

◆ TBasicString

template<typename TChar >
typedef basic_string<TChar> CGenericSqlString< TChar >::TBasicString

Definition at line 101 of file types.hpp.

◆ TOffset

offset in minutes from GMT, if known

Definition at line 1095 of file types.hpp.

◆ TValue [1/3]

Definition at line 735 of file types.hpp.

◆ TValue [2/3]

typedef CObjectFor<string> CDB_Binary::TValue
protected

Definition at line 769 of file types.hpp.

◆ TValue [3/3]

Definition at line 806 of file types.hpp.

◆ value_type

template<typename TChar >
typedef TBasicString::value_type CGenericSqlString< TChar >::value_type

Definition at line 103 of file types.hpp.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
eChar 
eWChar 
eString 
eWString 
eUTF8String 
eUCS2LEString 

Definition at line 266 of file types.hpp.

◆ EBlobType

enum EBlobType
Enumerator
eBlobType_none 
eBlobType_Text 
eBlobType_Binary 
eBlobType_contig 
eBlobType_scaffold 
eBlobType_protein 

Definition at line 78 of file types.hpp.

◆ EBulkEnc

enum EBulkEnc
Enumerator
eBulkEnc_RawBytes 
eBulkEnc_RawUCS2 
eBulkEnc_UCS2FromChar 

Definition at line 85 of file types.hpp.

◆ EDB_Type

enum EDB_Type
Enumerator
eDB_Int 
eDB_SmallInt 
eDB_TinyInt 
eDB_BigInt 
eDB_VarChar 
eDB_Char 
eDB_VarBinary 
eDB_Binary 
eDB_Float 
eDB_Double 
eDB_DateTime 
eDB_BigDateTime 
eDB_SmallDateTime 
eDB_Text 
eDB_Image 
eDB_Bit 
eDB_Numeric 
eDB_LongChar 
eDB_LongBinary 
eDB_VarCharMax 
eDB_VarBinaryMax 
eDB_UnsupportedType 

Definition at line 52 of file types.hpp.

◆ ESQLType

Enumerator
eDate 

DATE (MS, Sybase)

eTime 

TIME (MS), (BIG)TIME (Sybase)

eDateTime 

DATETIME2 (MS), BIGDATETIME (Sybase)

eDateTimeOffset 

DATETIMEOFFSET (MS); no Sybase equivalent.

Definition at line 1082 of file types.hpp.

◆ ESyntax

Enumerator
eSyntax_Unknown 
eSyntax_Microsoft 
eSyntax_Sybase 

Definition at line 1089 of file types.hpp.

Function Documentation

◆ Append() [1/7]

size_t CDB_Text::Append ( const CTempString s,
EEncoding  enc = eEncoding_Unknown 
)
virtual

Definition at line 2207 of file types.cpp.

References CDB_Stream::x_Append().

◆ Append() [2/7]

size_t CDB_VarCharMax::Append ( const CTempString s,
EEncoding  enc = eEncoding_Unknown 
)
virtual

Definition at line 2287 of file types.cpp.

References CDB_Stream::x_Append().

◆ Append() [3/7]

size_t CDB_Text::Append ( const TStringUCS2 s)
virtual

Definition at line 2213 of file types.cpp.

References CDB_Stream::x_Append().

◆ Append() [4/7]

size_t CDB_VarCharMax::Append ( const TStringUCS2 s,
size_t  l = TStringUCS2::npos 
)
virtual

Definition at line 2292 of file types.cpp.

References CDB_Stream::x_Append().

◆ Append() [5/7]

size_t CDB_Stream::Append ( const void *  buff,
size_t  nof_bytes 
)
virtual

◆ Append() [6/7]

size_t CDB_Text::Append ( const void *  buff,
size_t  nof_bytes 
)
virtual

◆ Append() [7/7]

size_t CDB_VarCharMax::Append ( const void *  buff,
size_t  nof_bytes 
)
virtual

Reimplemented from CDB_Stream.

Definition at line 2282 of file types.cpp.

References CDB_Stream::x_Append().

Referenced by CDB_VarCharMax::SetValue().

◆ AsCString() [1/2]

const char* CWString::AsCString ( EEncoding  str_enc = eEncoding_Unknown) const
inline

◆ AsCString() [2/2]

const char* CDB_String::AsCString ( void  ) const
inline

◆ AsCWString()

const wchar_t* CWString::AsCWString ( EEncoding  str_enc = eEncoding_Unknown) const
inline

◆ AsLatin1()

const string& CWString::AsLatin1 ( EEncoding  str_enc = eEncoding_Unknown) const
inline

◆ Assign() [1/14]

CDB_Stream & CDB_Stream::Assign ( const CDB_Stream v)

◆ Assign() [2/14]

void CDB_String::Assign ( const CDB_String other)

◆ Assign() [3/14]

void CDB_String::Assign ( const char *  s,
string::size_type  size = string::npos,
EEncoding  enc = eEncoding_Unknown 
)

◆ Assign() [4/14]

void CWString::Assign ( const char *  str,
string::size_type  size = string::npos,
EEncoding  enc = eEncoding_Unknown 
)

◆ Assign() [5/14]

CDB_BigDateTime & CDB_BigDateTime::Assign ( const CTime t,
ESQLType  sql_type = eDateTime,
TOffset  offset = null 
)

◆ Assign() [6/14]

void CDB_String::Assign ( const string s,
string::size_type  size = string::npos,
EEncoding  enc = eEncoding_Unknown 
)

◆ Assign() [7/14]

void CWString::Assign ( const string str,
EEncoding  enc = eEncoding_Unknown 
)

◆ Assign() [8/14]

void CDB_String::Assign ( const TStringUCS2 s,
TStringUCS2::size_type  size = TStringUCS2::npos 
)

◆ Assign() [9/14]

void CWString::Assign ( const wchar_t *  str,
wstring::size_type  size = wstring::npos 
)

◆ Assign() [10/14]

void CWString::Assign ( const wstring &  str)

◆ Assign() [11/14]

CDB_DateTime & CDB_DateTime::Assign ( Int4  d,
Int4  s300 
)

◆ Assign() [12/14]

CDB_SmallDateTime & CDB_SmallDateTime::Assign ( Uint2  days,
Uint2  minutes 
)

◆ Assign() [13/14]

CDB_Numeric & CDB_Numeric::Assign ( unsigned int  precision,
unsigned int  scale,
bool  is_negative,
const unsigned char *  arr 
)

◆ Assign() [14/14]

CDB_Numeric & CDB_Numeric::Assign ( unsigned int  precision,
unsigned int  scale,
const unsigned char *  arr 
)

◆ AssignNULL() [1/2]

void CDB_Object::AssignNULL ( )
virtual

◆ AssignNULL() [2/2]

void CDB_Stream::AssignNULL ( )
virtual

Reimplemented from CDB_Object.

Definition at line 1981 of file types.cpp.

References CDB_Object::AssignNULL(), and CDB_Stream::Truncate().

◆ AssignValue() [1/19]

void CDB_Int::AssignValue ( const CDB_Object v)
virtual

◆ AssignValue() [2/19]

void CDB_SmallInt::AssignValue ( const CDB_Object v)
virtual

◆ AssignValue() [3/19]

void CDB_TinyInt::AssignValue ( const CDB_Object v)
virtual

Implements CDB_Object.

Definition at line 785 of file types.cpp.

References CHECK_DRIVER_ERROR, eDB_TinyInt, CDB_Object::GetType(), and CDB_Object::GetTypeName().

◆ AssignValue() [4/19]

void CDB_BigInt::AssignValue ( const CDB_Object v)
virtual

◆ AssignValue() [5/19]

void CDB_VarChar::AssignValue ( const CDB_Object v)
virtual

◆ AssignValue() [6/19]

void CDB_Char::AssignValue ( const CDB_Object v)
virtual

Implements CDB_Object.

Definition at line 1381 of file types.cpp.

References CHECK_DRIVER_ERROR, eDB_Char, CDB_Object::GetType(), and CDB_Object::GetTypeName().

◆ AssignValue() [7/19]

void CDB_LongChar::AssignValue ( const CDB_Object v)
virtual

Implements CDB_Object.

Definition at line 1539 of file types.cpp.

References CHECK_DRIVER_ERROR, eDB_LongChar, CDB_Object::GetType(), and CDB_Object::GetTypeName().

◆ AssignValue() [8/19]

void CDB_VarBinary::AssignValue ( const CDB_Object v)
virtual

Implements CDB_Object.

Definition at line 1626 of file types.cpp.

References CHECK_DRIVER_ERROR, eDB_VarBinary, CDB_Object::GetType(), and CDB_Object::GetTypeName().

◆ AssignValue() [9/19]

void CDB_Binary::AssignValue ( const CDB_Object v)
virtual

Implements CDB_Object.

Definition at line 1712 of file types.cpp.

References CHECK_DRIVER_ERROR, eDB_Binary, CDB_Object::GetType(), and CDB_Object::GetTypeName().

◆ AssignValue() [10/19]

void CDB_LongBinary::AssignValue ( const CDB_Object v)
virtual

◆ AssignValue() [11/19]

void CDB_Float::AssignValue ( const CDB_Object v)
virtual

◆ AssignValue() [12/19]

void CDB_Double::AssignValue ( const CDB_Object v)
virtual

◆ AssignValue() [13/19]

void CDB_Stream::AssignValue ( const CDB_Object v)
virtual

◆ AssignValue() [14/19]

void CDB_SmallDateTime::AssignValue ( const CDB_Object v)
virtual

◆ AssignValue() [15/19]

void CDB_DateTime::AssignValue ( const CDB_Object v)
virtual

Implements CDB_Object.

Definition at line 2531 of file types.cpp.

References CHECK_DRIVER_ERROR, eDB_DateTime, CDB_Object::GetType(), and CDB_Object::GetTypeName().

◆ AssignValue() [16/19]

void CDB_BigDateTime::AssignValue ( const CDB_Object v)
virtual

◆ AssignValue() [17/19]

void CDB_Bit::AssignValue ( const CDB_Object v)
virtual

Implements CDB_Object.

Definition at line 2760 of file types.cpp.

References CHECK_DRIVER_ERROR, eDB_Bit, CDB_Object::GetType(), and CDB_Object::GetTypeName().

◆ AssignValue() [18/19]

void CDB_Numeric::AssignValue ( const CDB_Object v)
virtual

Implements CDB_Object.

Definition at line 3118 of file types.cpp.

References CHECK_DRIVER_ERROR, eDB_Numeric, CDB_Object::GetType(), and CDB_Object::GetTypeName().

◆ AssignValue() [19/19]

virtual void CDB_Object::AssignValue ( const CDB_Object v)
pure virtual

◆ AsString()

const string& CDB_String::AsString ( void  ) const
inline

◆ AsUCS2_LE()

const TStringUCS2& CWString::AsUCS2_LE ( EEncoding  str_enc = eEncoding_Unknown) const
inline

◆ AsUnicode() [1/2]

const wchar_t * CDB_String::AsUnicode ( EEncoding  enc) const

Definition at line 1011 of file types.cpp.

References CWString::AsUnicode(), CDB_Object::IsNULL(), CDB_String::m_WString, and NULL.

◆ AsUnicode() [2/2]

const wstring& CWString::AsUnicode ( EEncoding  str_enc = eEncoding_Unknown) const
inline

◆ AsUTF8()

const string& CWString::AsUTF8 ( EEncoding  str_enc = eEncoding_Unknown) const
inline

◆ AsWString()

const wstring& CDB_String::AsWString ( EEncoding  enc) const
inline

◆ BindVal() [1/7]

void* CDB_Int::BindVal ( ) const
inline

Definition at line 374 of file types.hpp.

References CDB_Int::m_Val.

◆ BindVal() [2/7]

void* CDB_SmallInt::BindVal ( ) const
inline

Definition at line 401 of file types.hpp.

References CDB_SmallInt::m_Val.

◆ BindVal() [3/7]

void* CDB_TinyInt::BindVal ( ) const
inline

Definition at line 428 of file types.hpp.

References CDB_TinyInt::m_Val.

◆ BindVal() [4/7]

void* CDB_BigInt::BindVal ( ) const
inline

Definition at line 455 of file types.hpp.

References CDB_BigInt::m_Val.

◆ BindVal() [5/7]

void* CDB_Float::BindVal ( ) const
inline

Definition at line 826 of file types.hpp.

References CDB_Float::m_Val.

◆ BindVal() [6/7]

void* CDB_Double::BindVal ( ) const
inline

Definition at line 851 of file types.hpp.

References CDB_Double::m_Val.

◆ BindVal() [7/7]

void* CDB_Bit::BindVal ( ) const
inline

Definition at line 1146 of file types.hpp.

References CDB_Bit::m_Val.

◆ byte_count()

template<typename TChar >
size_type CGenericSqlString< TChar >::byte_count ( void  ) const
inline

Definition at line 111 of file types.hpp.

Referenced by CODBC_SendDataCmd::SendChunk(), and CODBC_Connection::x_SendData().

◆ CDB_BigDateTime() [1/2]

CDB_BigDateTime::CDB_BigDateTime ( const CTime t,
ESQLType  sql_type = eDateTime,
TOffset  offset = null 
)

Definition at line 2554 of file types.cpp.

References CDB_Object::SetNULL(), and t.

◆ CDB_BigDateTime() [2/2]

CDB_BigDateTime::CDB_BigDateTime ( CTime::EInitMode  mode = CTime::eEmpty,
ESQLType  sql_type = eDateTime,
TOffset  offset = null 
)

Definition at line 2546 of file types.cpp.

References CTime::eEmpty, and CDB_Object::SetNULL().

Referenced by CDB_BigDateTime::Clone().

◆ CDB_BigInt() [1/2]

CDB_BigInt::CDB_BigInt ( )

Definition at line 800 of file types.cpp.

Referenced by CDB_BigInt::Clone().

◆ CDB_BigInt() [2/2]

CDB_BigInt::CDB_BigInt ( const Int8 i)

Definition at line 807 of file types.cpp.

◆ CDB_Binary() [1/3]

CDB_Binary::CDB_Binary ( const CDB_Binary v,
bool  share_data = false 
)

Definition at line 1654 of file types.cpp.

References CDB_Binary::m_Value.

◆ CDB_Binary() [2/3]

CDB_Binary::CDB_Binary ( size_t  s,
const void *  v,
size_t  v_size 
)

Definition at line 1647 of file types.cpp.

References CDB_Binary::m_Size, and CDB_Binary::SetValue().

◆ CDB_Binary() [3/3]

CDB_Binary::CDB_Binary ( size_t  s = 1)

Definition at line 1641 of file types.cpp.

References CDB_Binary::m_Size.

Referenced by CDB_Binary::Clone(), and CDB_Binary::ShallowClone().

◆ CDB_Bit() [1/3]

CDB_Bit::CDB_Bit ( )

Definition at line 2711 of file types.cpp.

Referenced by CDB_Bit::Clone().

◆ CDB_Bit() [2/3]

CDB_Bit::CDB_Bit ( bool  i)

Definition at line 2724 of file types.cpp.

References i, and CDB_Bit::m_Val.

◆ CDB_Bit() [3/3]

CDB_Bit::CDB_Bit ( int  i)

Definition at line 2718 of file types.cpp.

References i, and CDB_Bit::m_Val.

◆ CDB_Char() [1/5]

CDB_Char::CDB_Char ( const CDB_Char v,
bool  share_data = false 
)

Definition at line 1298 of file types.cpp.

◆ CDB_Char() [2/5]

CDB_Char::CDB_Char ( size_t  s,
const char *  str,
EEncoding  enc = eEncoding_Unknown 
)

Definition at line 1283 of file types.cpp.

◆ CDB_Char() [3/5]

CDB_Char::CDB_Char ( size_t  s,
const string v,
EEncoding  enc = eEncoding_Unknown 
)

Definition at line 1274 of file types.cpp.

◆ CDB_Char() [4/5]

CDB_Char::CDB_Char ( size_t  s,
const TStringUCS2 v 
)

Definition at line 1292 of file types.cpp.

◆ CDB_Char() [5/5]

CDB_Char::CDB_Char ( size_t  s = 1)

Definition at line 1268 of file types.cpp.

Referenced by CDB_Char::Clone(), and CDB_Char::ShallowClone().

◆ CDB_DateTime() [1/3]

CDB_DateTime::CDB_DateTime ( const CTime t)

◆ CDB_DateTime() [2/3]

CDB_DateTime::CDB_DateTime ( CTime::EInitMode  mode = CTime::eEmpty)

◆ CDB_DateTime() [3/3]

CDB_DateTime::CDB_DateTime ( Int4  d,
Int4  s300 
)

◆ CDB_Double() [1/2]

CDB_Double::CDB_Double ( )

Definition at line 1887 of file types.cpp.

Referenced by CDB_Double::Clone().

◆ CDB_Double() [2/2]

CDB_Double::CDB_Double ( double  i)

Definition at line 1894 of file types.cpp.

◆ CDB_Float() [1/2]

CDB_Float::CDB_Float ( )

Definition at line 1832 of file types.cpp.

Referenced by CDB_Float::Clone().

◆ CDB_Float() [2/2]

CDB_Float::CDB_Float ( float  i)

Definition at line 1839 of file types.cpp.

◆ CDB_Image() [1/2]

CDB_Image::CDB_Image ( const CDB_Image image,
bool  share_data = false 
)

Definition at line 2107 of file types.cpp.

◆ CDB_Image() [2/2]

CDB_Image::CDB_Image ( void  )

Definition at line 2103 of file types.cpp.

Referenced by CDB_Image::Clone(), and CDB_Image::ShallowClone().

◆ CDB_Int() [1/2]

CDB_Int::CDB_Int ( )

Definition at line 664 of file types.cpp.

Referenced by CDB_Int::Clone().

◆ CDB_Int() [2/2]

CDB_Int::CDB_Int ( const Int4 i)

Definition at line 671 of file types.cpp.

◆ CDB_LongBinary() [1/3]

CDB_LongBinary::CDB_LongBinary ( const CDB_LongBinary v,
bool  share_data = false 
)

Definition at line 1747 of file types.cpp.

References CDB_LongBinary::m_Value.

◆ CDB_LongBinary() [2/3]

CDB_LongBinary::CDB_LongBinary ( size_t  s,
const void *  v,
size_t  v_size 
)

Definition at line 1740 of file types.cpp.

References CDB_LongBinary::SetValue().

◆ CDB_LongBinary() [3/3]

CDB_LongBinary::CDB_LongBinary ( size_t  s = 8191)

Definition at line 1733 of file types.cpp.

Referenced by CDB_LongBinary::Clone(), and CDB_LongBinary::ShallowClone().

◆ CDB_LongChar() [1/5]

CDB_LongChar::CDB_LongChar ( const CDB_LongChar v,
bool  share_data = false 
)

Definition at line 1452 of file types.cpp.

◆ CDB_LongChar() [2/5]

CDB_LongChar::CDB_LongChar ( size_t  len,
const char *  str,
EEncoding  enc = eEncoding_Unknown 
)

Definition at line 1436 of file types.cpp.

◆ CDB_LongChar() [3/5]

CDB_LongChar::CDB_LongChar ( size_t  s,
const string v,
EEncoding  enc = eEncoding_Unknown 
)

Definition at line 1427 of file types.cpp.

◆ CDB_LongChar() [4/5]

CDB_LongChar::CDB_LongChar ( size_t  s,
const TStringUCS2 v 
)

Definition at line 1445 of file types.cpp.

◆ CDB_LongChar() [5/5]

CDB_LongChar::CDB_LongChar ( size_t  s = 8191)

Definition at line 1421 of file types.cpp.

Referenced by CDB_LongChar::Clone(), and CDB_LongChar::ShallowClone().

◆ CDB_Numeric() [1/6]

CDB_Numeric::CDB_Numeric ( )

Definition at line 2776 of file types.cpp.

References CDB_Numeric::m_Body.

Referenced by CDB_Numeric::Clone().

◆ CDB_Numeric() [2/6]

CDB_Numeric::CDB_Numeric ( unsigned int  precision,
unsigned int  scale 
)

Definition at line 2785 of file types.cpp.

References CDB_Numeric::m_Body.

◆ CDB_Numeric() [3/6]

CDB_Numeric::CDB_Numeric ( unsigned int  precision,
unsigned int  scale,
bool  is_negative,
const unsigned char *  arr 
)

Definition at line 2805 of file types.cpp.

References arr, and CDB_Numeric::m_Body.

◆ CDB_Numeric() [4/6]

CDB_Numeric::CDB_Numeric ( unsigned int  precision,
unsigned int  scale,
const char *  val 
)

Definition at line 2818 of file types.cpp.

References precision, val, and CDB_Numeric::x_MakeFromString().

◆ CDB_Numeric() [5/6]

CDB_Numeric::CDB_Numeric ( unsigned int  precision,
unsigned int  scale,
const string val 
)

Definition at line 2826 of file types.cpp.

References precision, val, and CDB_Numeric::x_MakeFromString().

◆ CDB_Numeric() [6/6]

CDB_Numeric::CDB_Numeric ( unsigned int  precision,
unsigned int  scale,
const unsigned char *  arr 
)

Definition at line 2794 of file types.cpp.

References arr, and CDB_Numeric::m_Body.

◆ CDB_Object()

CDB_Object::CDB_Object ( bool  is_null = true)

Definition at line 539 of file types.cpp.

◆ CDB_SmallDateTime() [1/3]

CDB_SmallDateTime::CDB_SmallDateTime ( const CTime t)

◆ CDB_SmallDateTime() [2/3]

CDB_SmallDateTime::CDB_SmallDateTime ( CTime::EInitMode  mode = CTime::eEmpty)

◆ CDB_SmallDateTime() [3/3]

CDB_SmallDateTime::CDB_SmallDateTime ( Uint2  days,
Uint2  minutes 
)

◆ CDB_SmallInt() [1/2]

CDB_SmallInt::CDB_SmallInt ( )

Definition at line 710 of file types.cpp.

Referenced by CDB_SmallInt::Clone().

◆ CDB_SmallInt() [2/2]

CDB_SmallInt::CDB_SmallInt ( const Int2 i)

Definition at line 717 of file types.cpp.

◆ CDB_Stream() [1/2]

CDB_Stream::CDB_Stream ( )
protected

Definition at line 1941 of file types.cpp.

References CObject::AddReference(), and CDB_Stream::m_Store.

◆ CDB_Stream() [2/2]

CDB_Stream::CDB_Stream ( const CDB_Stream s,
bool  share_data = false 
)
protected

Definition at line 1949 of file types.cpp.

References CObject::AddReference(), CDB_Stream::Assign(), and CDB_Stream::m_Store.

◆ CDB_String() [1/6]

CDB_String::CDB_String ( const CDB_String other,
bool  share_data = false 
)

◆ CDB_String() [2/6]

CDB_String::CDB_String ( const char *  s,
string::size_type  size = string::npos,
EEncoding  enc = eEncoding_Unknown 
)
explicit

Definition at line 934 of file types.cpp.

◆ CDB_String() [3/6]

CDB_String::CDB_String ( const string s,
EEncoding  enc = eEncoding_Unknown 
)
explicit

Definition at line 927 of file types.cpp.

◆ CDB_String() [4/6]

CDB_String::CDB_String ( const string s,
string::size_type  size = string::npos,
EEncoding  enc = eEncoding_Unknown 
)
explicit

Definition at line 943 of file types.cpp.

◆ CDB_String() [5/6]

CDB_String::CDB_String ( const TStringUCS2 s,
TStringUCS2::size_type  size = TStringUCS2::npos 
)
explicit

Definition at line 952 of file types.cpp.

◆ CDB_String() [6/6]

CDB_String::CDB_String ( void  )

Definition at line 911 of file types.cpp.

◆ CDB_Text() [1/2]

CDB_Text::CDB_Text ( const CDB_Text text,
bool  share_data = false 
)

Definition at line 2188 of file types.cpp.

◆ CDB_Text() [2/2]

CDB_Text::CDB_Text ( void  )

Definition at line 2184 of file types.cpp.

Referenced by CDB_Text::Clone(), and CDB_Text::ShallowClone().

◆ CDB_TinyInt() [1/2]

CDB_TinyInt::CDB_TinyInt ( )

Definition at line 756 of file types.cpp.

Referenced by CDB_TinyInt::Clone().

◆ CDB_TinyInt() [2/2]

CDB_TinyInt::CDB_TinyInt ( const Uint1 i)

Definition at line 763 of file types.cpp.

◆ CDB_VarBinary() [1/3]

CDB_VarBinary::CDB_VarBinary ( void  )

Definition at line 1561 of file types.cpp.

Referenced by CDB_VarBinary::Clone(), and CDB_VarBinary::ShallowClone().

◆ CDB_VarBinary() [2/3]

CDB_VarBinary::CDB_VarBinary ( const CDB_VarBinary v,
bool  share_data = false 
)

Definition at line 1565 of file types.cpp.

References CDB_VarBinary::m_Value.

◆ CDB_VarBinary() [3/3]

CDB_VarBinary::CDB_VarBinary ( const void *  v,
size_t  l 
)

Definition at line 1573 of file types.cpp.

References CDB_VarBinary::SetValue().

◆ CDB_VarBinaryMax() [1/3]

CDB_VarBinaryMax::CDB_VarBinaryMax ( const CDB_VarBinaryMax v,
bool  share_data = false 
)

Definition at line 2145 of file types.cpp.

◆ CDB_VarBinaryMax() [2/3]

CDB_VarBinaryMax::CDB_VarBinaryMax ( const void *  v,
size_t  l 
)

Definition at line 2150 of file types.cpp.

References CDB_Stream::Append().

◆ CDB_VarBinaryMax() [3/3]

CDB_VarBinaryMax::CDB_VarBinaryMax ( void  )

Definition at line 2141 of file types.cpp.

Referenced by CDB_VarBinaryMax::Clone(), and CDB_VarBinaryMax::ShallowClone().

◆ CDB_VarChar() [1/6]

CDB_VarChar::CDB_VarChar ( const CDB_VarChar v,
bool  share_data = false 
)

Definition at line 1142 of file types.cpp.

◆ CDB_VarChar() [2/6]

CDB_VarChar::CDB_VarChar ( const char *  s,
EEncoding  enc = eEncoding_Unknown 
)

Definition at line 1155 of file types.cpp.

◆ CDB_VarChar() [3/6]

CDB_VarChar::CDB_VarChar ( const char *  s,
size_t  l,
EEncoding  enc = eEncoding_Unknown 
)

Definition at line 1162 of file types.cpp.

◆ CDB_VarChar() [4/6]

CDB_VarChar::CDB_VarChar ( const string s,
EEncoding  enc = eEncoding_Unknown 
)

Definition at line 1148 of file types.cpp.

◆ CDB_VarChar() [5/6]

CDB_VarChar::CDB_VarChar ( const TStringUCS2 s,
size_t  l = TStringUCS2::npos 
)

Definition at line 1170 of file types.cpp.

◆ CDB_VarChar() [6/6]

CDB_VarChar::CDB_VarChar ( void  )

Definition at line 1137 of file types.cpp.

Referenced by CDB_VarChar::Clone(), and CDB_VarChar::ShallowClone().

◆ CDB_VarCharMax() [1/6]

CDB_VarCharMax::CDB_VarCharMax ( const CDB_VarCharMax v,
bool  share_data = false 
)

Definition at line 2248 of file types.cpp.

◆ CDB_VarCharMax() [2/6]

CDB_VarCharMax::CDB_VarCharMax ( const char *  s,
EEncoding  enc = eEncoding_Unknown 
)

Definition at line 2258 of file types.cpp.

References CDB_VarCharMax::SetValue().

◆ CDB_VarCharMax() [3/6]

CDB_VarCharMax::CDB_VarCharMax ( const char *  s,
size_t  l,
EEncoding  enc = eEncoding_Unknown 
)

Definition at line 2263 of file types.cpp.

References CDB_VarCharMax::SetValue().

◆ CDB_VarCharMax() [4/6]

CDB_VarCharMax::CDB_VarCharMax ( const string s,
EEncoding  enc = eEncoding_Unknown 
)

Definition at line 2253 of file types.cpp.

References CDB_VarCharMax::SetValue().

◆ CDB_VarCharMax() [5/6]

CDB_VarCharMax::CDB_VarCharMax ( const TStringUCS2 s,
size_t  l = TStringUCS2::npos 
)

Definition at line 2268 of file types.cpp.

References CDB_VarCharMax::SetValue().

◆ CDB_VarCharMax() [6/6]

CDB_VarCharMax::CDB_VarCharMax ( void  )

Definition at line 2244 of file types.cpp.

Referenced by CDB_VarCharMax::Clone(), and CDB_VarCharMax::ShallowClone().

◆ CGenericSqlString() [1/4]

template<typename TChar >
CGenericSqlString< TChar >::CGenericSqlString ( const TBasicString s)
inline

Definition at line 106 of file types.hpp.

◆ CGenericSqlString() [2/4]

template<typename TChar >
CGenericSqlString< TChar >::CGenericSqlString ( const value_type data)
inline

Definition at line 107 of file types.hpp.

◆ CGenericSqlString() [3/4]

template<typename TChar >
CGenericSqlString< TChar >::CGenericSqlString ( const value_type data,
size_type  len 
)
inline

Definition at line 108 of file types.hpp.

◆ CGenericSqlString() [4/4]

template<typename TChar >
CGenericSqlString< TChar >::CGenericSqlString ( void  )
inline

Definition at line 105 of file types.hpp.

◆ Clear()

void CWString::Clear ( void  )

◆ Clone() [1/22]

CDB_Object * CDB_Int::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 688 of file types.cpp.

References CDB_Int::CDB_Int(), CDB_Object::IsNULL(), and CDB_Int::m_Val.

◆ Clone() [2/22]

CDB_Object * CDB_SmallInt::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 734 of file types.cpp.

References CDB_SmallInt::CDB_SmallInt(), CDB_Object::IsNULL(), and CDB_SmallInt::m_Val.

◆ Clone() [3/22]

CDB_Object * CDB_TinyInt::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 780 of file types.cpp.

References CDB_TinyInt::CDB_TinyInt(), CDB_Object::IsNULL(), and CDB_TinyInt::m_Val.

◆ Clone() [4/22]

CDB_Object * CDB_BigInt::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 824 of file types.cpp.

References CDB_BigInt::CDB_BigInt(), CDB_Object::IsNULL(), and CDB_BigInt::m_Val.

◆ Clone() [5/22]

CDB_Object * CDB_VarChar::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1240 of file types.cpp.

References CDB_VarChar::CDB_VarChar(), and CDB_Object::IsNULL().

◆ Clone() [6/22]

CDB_Object * CDB_Char::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1371 of file types.cpp.

References CDB_Char::CDB_Char().

◆ Clone() [7/22]

CDB_Object * CDB_LongChar::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1528 of file types.cpp.

References CDB_LongChar::CDB_LongChar().

◆ Clone() [8/22]

CDB_Object * CDB_VarBinary::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1615 of file types.cpp.

References CDB_VarBinary::CDB_VarBinary(), and CDB_Object::IsNULL().

◆ Clone() [9/22]

CDB_Object * CDB_Binary::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1701 of file types.cpp.

References CDB_Binary::CDB_Binary(), CDB_Object::IsNULL(), and CDB_Binary::m_Size.

◆ Clone() [10/22]

CDB_Object * CDB_LongBinary::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1799 of file types.cpp.

References CDB_LongBinary::CDB_LongBinary().

◆ Clone() [11/22]

CDB_Object * CDB_Float::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1864 of file types.cpp.

References CDB_Float::CDB_Float(), CDB_Object::IsNULL(), and CDB_Float::m_Val.

◆ Clone() [12/22]

CDB_Object * CDB_Double::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1917 of file types.cpp.

References CDB_Double::CDB_Double(), CDB_Object::IsNULL(), and CDB_Double::m_Val.

◆ Clone() [13/22]

CDB_Object * CDB_Image::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2126 of file types.cpp.

References CDB_Image::CDB_Image().

◆ Clone() [14/22]

CDB_Object * CDB_VarBinaryMax::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2169 of file types.cpp.

References CDB_VarBinaryMax::CDB_VarBinaryMax().

◆ Clone() [15/22]

CDB_Object * CDB_Text::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2229 of file types.cpp.

References CDB_Text::CDB_Text().

◆ Clone() [16/22]

CDB_Object * CDB_VarCharMax::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2308 of file types.cpp.

References CDB_VarCharMax::CDB_VarCharMax().

◆ Clone() [17/22]

CDB_Object * CDB_Bit::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2755 of file types.cpp.

References CDB_Bit::CDB_Bit(), CDB_Object::IsNULL(), and CDB_Bit::m_Val.

◆ Clone() [18/22]

CDB_Object * CDB_Numeric::Clone ( void  ) const
virtual

◆ Clone() [19/22]

virtual CDB_Object* CDB_Object::Clone ( ) const
pure virtual

◆ Clone() [20/22]

CDB_Object * CDB_SmallDateTime::Clone ( void  ) const
virtual

◆ Clone() [21/22]

CDB_Object * CDB_DateTime::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2526 of file types.cpp.

References CDB_DateTime::CDB_DateTime(), CDB_Object::IsNULL(), and CDB_DateTime::Value().

◆ Clone() [22/22]

CDB_Object * CDB_BigDateTime::Clone ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2600 of file types.cpp.

References CDB_BigDateTime::CDB_BigDateTime(), and CDB_Object::IsNULL().

◆ ConvertTo()

const string& CWString::ConvertTo ( EEncoding  to_enc,
EEncoding  from_enc = eEncoding_Unknown 
) const
inline

◆ Create()

CDB_Object * CDB_Object::Create ( EDB_Type  type,
size_t  size = 1 
)
static

◆ CWString() [1/6]

CWString::CWString ( const char *  str,
string::size_type  size = string::npos,
EEncoding  enc = eEncoding_Unknown 
)
explicit

◆ CWString() [2/6]

CWString::CWString ( const CWString str)

Definition at line 91 of file types.cpp.

References CWString::m_Char, CWString::m_String, CWString::m_WChar, and CWString::m_WString.

◆ CWString() [3/6]

CWString::CWString ( const string str,
EEncoding  enc = eEncoding_Unknown 
)
explicit

◆ CWString() [4/6]

CWString::CWString ( const wchar_t *  str,
wstring::size_type  size = wstring::npos 
)
explicit

◆ CWString() [5/6]

CWString::CWString ( const wstring &  str)
explicit

◆ CWString() [6/6]

CWString::CWString ( void  )

Definition at line 80 of file types.cpp.

◆ Data() [1/4]

const void* CDB_VarBinary::Data ( void  ) const
inline

◆ Data() [2/4]

const void* CDB_Binary::Data ( void  ) const
inline

Definition at line 758 of file types.hpp.

References CDB_Binary::Value().

◆ Data() [3/4]

const void* CDB_LongBinary::Data ( void  ) const
inline

Definition at line 794 of file types.hpp.

References CDB_LongBinary::Value().

◆ Data() [4/4]

const char* CDB_String::Data ( void  ) const
inline

◆ DataSize() [1/2]

size_t CDB_LongChar::DataSize ( ) const
inline

Definition at line 694 of file types.hpp.

References CDB_String::Size().

Referenced by CTL_CursorResultExpl::ReadItem().

◆ DataSize() [2/2]

size_t CDB_LongBinary::DataSize ( ) const
inline

◆ Get300Secs()

Int4 CDB_DateTime::Get300Secs ( void  ) const

◆ GetAvailableValueType()

int CWString::GetAvailableValueType ( void  ) const
inlineprotected

◆ GetBlobType()

EBlobType CDB_Object::GetBlobType ( EDB_Type  db_type)
inlinestatic

◆ GetBulkInsertionData()

void CDB_String::GetBulkInsertionData ( CTempString ts,
bool  convert_raw_bytes = false 
) const

◆ GetBulkInsertionEnc()

EBulkEnc CDB_String::GetBulkInsertionEnc ( void  ) const
inline

Definition at line 555 of file types.hpp.

References CDB_String::m_BulkInsertionEnc.

◆ GetCTime()

const CTime& CDB_BigDateTime::GetCTime ( void  ) const
inline

◆ GetDays() [1/2]

Uint2 CDB_SmallDateTime::GetDays ( void  ) const

◆ GetDays() [2/2]

Int4 CDB_DateTime::GetDays ( void  ) const

◆ GetEncoding() [1/2]

EBulkEnc CDB_Text::GetEncoding ( void  ) const
inline

Definition at line 954 of file types.hpp.

References CDB_Stream::m_Encoding.

◆ GetEncoding() [2/2]

EBulkEnc CDB_VarCharMax::GetEncoding ( void  ) const
inline

Definition at line 984 of file types.hpp.

References CDB_Stream::m_Encoding.

◆ GetLogString()

string CDB_Object::GetLogString ( void  ) const

◆ GetMinutes()

Uint2 CDB_SmallDateTime::GetMinutes ( void  ) const

◆ GetOffset()

const TOffset& CDB_BigDateTime::GetOffset ( void  ) const
inline

Definition at line 1109 of file types.hpp.

References CDB_BigDateTime::m_Offset.

Referenced by CTL_BCPInCmd::x_AssignParams().

◆ GetSQLType()

ESQLType CDB_BigDateTime::GetSQLType ( void  ) const
inline

◆ GetSQLTypeName()

const char * CDB_BigDateTime::GetSQLTypeName ( ESyntax  syntax)

◆ GetSymbolNum()

size_t CWString::GetSymbolNum ( void  ) const

◆ GetTimeFormat()

CTimeFormat CDB_BigDateTime::GetTimeFormat ( ESyntax  syntax,
ESQLType  sql_type = eDateTime,
TOffset  offset = null 
)
static

◆ GetType() [1/22]

EDB_Type CDB_Int::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 683 of file types.cpp.

References eDB_Int.

◆ GetType() [2/22]

EDB_Type CDB_SmallInt::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 729 of file types.cpp.

References eDB_SmallInt.

◆ GetType() [3/22]

EDB_Type CDB_TinyInt::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 775 of file types.cpp.

References eDB_TinyInt.

◆ GetType() [4/22]

EDB_Type CDB_BigInt::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 819 of file types.cpp.

References eDB_BigInt.

◆ GetType() [5/22]

EDB_Type CDB_VarChar::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1234 of file types.cpp.

References eDB_VarChar.

◆ GetType() [6/22]

EDB_Type CDB_Char::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1366 of file types.cpp.

References eDB_Char.

◆ GetType() [7/22]

EDB_Type CDB_LongChar::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1522 of file types.cpp.

References eDB_LongChar.

◆ GetType() [8/22]

EDB_Type CDB_VarBinary::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1609 of file types.cpp.

References eDB_VarBinary.

◆ GetType() [9/22]

EDB_Type CDB_Binary::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1695 of file types.cpp.

References eDB_Binary.

◆ GetType() [10/22]

EDB_Type CDB_LongBinary::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1793 of file types.cpp.

References eDB_LongBinary.

◆ GetType() [11/22]

EDB_Type CDB_Float::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1859 of file types.cpp.

References eDB_Float.

◆ GetType() [12/22]

EDB_Type CDB_Double::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 1912 of file types.cpp.

References eDB_Double.

◆ GetType() [13/22]

EDB_Type CDB_Image::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2121 of file types.cpp.

References eDB_Image.

◆ GetType() [14/22]

EDB_Type CDB_VarBinaryMax::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2164 of file types.cpp.

References eDB_VarBinaryMax.

◆ GetType() [15/22]

EDB_Type CDB_Text::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2224 of file types.cpp.

References eDB_Text.

◆ GetType() [16/22]

EDB_Type CDB_VarCharMax::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2303 of file types.cpp.

References eDB_VarCharMax.

◆ GetType() [17/22]

EDB_Type CDB_Bit::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2750 of file types.cpp.

References eDB_Bit.

◆ GetType() [18/22]

EDB_Type CDB_Numeric::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2879 of file types.cpp.

References eDB_Numeric.

◆ GetType() [19/22]

virtual EDB_Type CDB_Object::GetType ( ) const
pure virtual

Implemented in CDB_BigDateTime, CDB_DateTime, CDB_SmallDateTime, CDB_Numeric, CDB_Bit, CDB_VarCharMax, CDB_Text, CDB_VarBinaryMax, CDB_Image, CDB_Double, CDB_Float, CDB_LongBinary, CDB_Binary, CDB_VarBinary, CDB_LongChar, CDB_Char, CDB_VarChar, CDB_BigInt, CDB_TinyInt, CDB_SmallInt, and CDB_Int.

Referenced by CTL_Cmd::AssignCmdParam(), CDB_Int::AssignValue(), CDB_SmallInt::AssignValue(), CDB_TinyInt::AssignValue(), CDB_BigInt::AssignValue(), CDB_VarChar::AssignValue(), CDB_Char::AssignValue(), CDB_LongChar::AssignValue(), CDB_VarBinary::AssignValue(), CDB_Binary::AssignValue(), CDB_LongBinary::AssignValue(), CDB_Float::AssignValue(), CDB_Double::AssignValue(), CDB_Stream::AssignValue(), CDB_SmallDateTime::AssignValue(), CDB_DateTime::AssignValue(), CDB_BigDateTime::AssignValue(), CDB_Bit::AssignValue(), CDB_Numeric::AssignValue(), impl::CDBBindedParams::GetDataType(), CMySQL_RowResult::GetItem(), CTL_CursorResultExpl::GetItem(), CTL_RowResult::GetItemInternal(), CDB_Object::GetLogString(), CVariant::GetType(), CTL_CursorResultExpl::ReadItem(), CTL_BCPInCmd::Send(), CODBC_BCPInCmd::Send(), CODBC_Connection::SendData(), impl::CDB_Params::SParam::Set(), CStatementBase::Type2String(), CODBC_BCPInCmd::x_AssignParams(), CTL_CursorCmdExpl::x_AssignParams(), CTL_BCPInCmd::x_AssignParams(), CStatementBase::x_BindParam_ODBC(), CODBC_BCPInCmd::x_GetBCPDataType(), CStatementBase::x_GetCType(), CStatementBase::x_GetCurDataSize(), CStatementBase::x_GetData(), CODBC_BCPInCmd::x_GetDataTerminator(), CODBC_BCPInCmd::x_GetDataTermSize(), CStatementBase::x_GetIndicator(), CStatementBase::x_GetMaxDataSize(), CStatementBase::x_GetSQLType(), CODBC_RowResult::x_LoadItem(), CTL_Connection::x_SendUpdateWrite(), and CDB_Stream::x_SetEncoding().

◆ GetType() [20/22]

EDB_Type CDB_SmallDateTime::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2411 of file types.cpp.

References eDB_SmallDateTime.

◆ GetType() [21/22]

EDB_Type CDB_DateTime::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2521 of file types.cpp.

References eDB_DateTime.

◆ GetType() [22/22]

EDB_Type CDB_BigDateTime::GetType ( void  ) const
virtual

Implements CDB_Object.

Definition at line 2595 of file types.cpp.

References eDB_BigDateTime.

◆ GetTypeName()

const char * CDB_Object::GetTypeName ( EDB_Type  db_type,
bool  throw_on_unknown = true 
)
static

◆ Identify()

pair< CDB_BigDateTime::ESyntax, CDB_BigDateTime::ESQLType > CDB_BigDateTime::Identify ( const CTempString s)
static

◆ IsBlobType()

static bool CDB_Object::IsBlobType ( EDB_Type  db_type)
inlinestatic

◆ IsNULL()

bool CDB_Object::IsNULL ( ) const
inline

Definition at line 303 of file types.hpp.

References CDB_Object::m_Null.

Referenced by CDB_String::AsCString(), CDB_Stream::Assign(), CDB_String::Assign(), CTL_Cmd::AssignCmdParam(), CDB_String::AsString(), CDB_String::AsUnicode(), CDB_String::AsWString(), CDB_Int::Clone(), CDB_SmallInt::Clone(), CDB_TinyInt::Clone(), CDB_BigInt::Clone(), CDB_VarChar::Clone(), CDB_VarBinary::Clone(), CDB_Binary::Clone(), CDB_Float::Clone(), CDB_Double::Clone(), CDB_Bit::Clone(), CDB_SmallDateTime::Clone(), CDB_DateTime::Clone(), CDB_BigDateTime::Clone(), CTL_Connection::CompleteBlobDescriptor(), CTL_Connection::CompleteBlobDescriptors(), value_slice::CValueConvert< SSafeSqlCP, CDB_Result >::ConvertFrom(), CDB_String::Data(), CDbapiSampleApp::DeleteLostTables(), CDbapiTestSpeedApp::FetchFile(), CDbapiTestSpeedApp::FetchResults(), CDB_String::GetBulkInsertionData(), CTL_RowResult::GetItemInternal(), CDB_Object::GetLogString(), CSimpleBlobStore::Init(), impl::CRowInfo_SP_SQL_Server::Initialize(), CVariant::IsNull(), CPubseqReader::LoadSeq_idInfo(), value_slice::CValueConvert< SSafeCP, CDB_Result >::operator bool(), value_slice::CValueConvert< SSafeSqlCP, CDB_Result >::operator bool(), value_slice::CValueConvert< SRunTimeCP, CDB_Result >::operator CTime(), value_slice::CValueConvert< SRunTimeSqlCP, CDB_Result >::operator CTime(), value_slice::CValueConvert< SSafeSqlCP, CDB_Result >::operator Int4(), value_slice::CValueConvert< SSafeCP, CDB_Result >::operator string(), value_slice::CValueConvert< SSafeSqlCP, CDB_Result >::operator string(), value_slice::CValueConvert< SRunTimeCP, CDB_Result >::operator string(), value_slice::CValueConvert< SRunTimeSqlCP, CDB_Result >::operator string(), CDB_Binary::operator=(), CDB_LongBinary::operator=(), CDB_VarBinary::operator=(), value_slice::CValueConvert< SRunTimeCP, CDB_Result >::ReadCDBObject(), value_slice::CValueConvert< SRunTimeSqlCP, CDB_Result >::ReadCDBObject(), CTL_CursorResultExpl::ReadItem(), CMysqlDemoApp::Run(), CTL_BCPInCmd::Send(), CODBC_BCPInCmd::Send(), CDB_VarChar::ShallowClone(), CDB_VarBinary::ShallowClone(), CDB_Binary::ShallowClone(), CDB_LongChar::Size(), CDB_VarBinary::Size(), CDB_Binary::Size(), CDB_LongBinary::Size(), CDB_String::Size(), CDB_Int::Value(), CDB_SmallInt::Value(), CDB_TinyInt::Value(), CDB_BigInt::Value(), CDB_VarBinary::Value(), CDB_Binary::Value(), CDB_LongBinary::Value(), CDB_Float::Value(), CDB_Double::Value(), CDB_Bit::Value(), CODBC_LangCmd::x_AssignParams(), CODBC_RPCCmd::x_AssignParams(), CTL_CursorCmdExpl::x_AssignParams(), CTL_BCPInCmd::x_AssignParams(), CStatementBase::x_GetData(), CStatementBase::x_GetIndicator(), and CTL_Connection::x_GetNativeBlobDescriptor().

◆ MoveTo()

bool CDB_Stream::MoveTo ( size_t  byte_number)
virtual

◆ NCBI_PARAM_TYPE()

typedef NCBI_PARAM_TYPE ( dbapi  ,
max_logged_param_length   
)

◆ operator char *()

CWString::operator char * ( void  ) const

Definition at line 210 of file types.cpp.

◆ operator const char *() [1/2]

CWString::operator const char * ( void  ) const

Definition at line 215 of file types.cpp.

◆ operator const char *() [2/2]

CDB_String::operator const char * ( void  ) const

Definition at line 1004 of file types.cpp.

References kEmptyCStr.

◆ operator const CSqlString &()

CWString::operator const CSqlString & ( void  ) const
inline

◆ operator const string &()

CDB_String::operator const string & ( void  ) const
inline

Definition at line 501 of file types.hpp.

References CDB_String::m_WString.

◆ operator const value_type *()

template<typename TChar >
NCBI_DBAPIDRIVER_EXPORT CGenericSqlString< TChar >::operator const value_type * ( void  ) const

◆ operator const wchar_t *()

CWString::operator const wchar_t * ( void  ) const

Definition at line 225 of file types.cpp.

◆ operator const wstring &()

CWString::operator const wstring & ( void  ) const
inline

◆ operator wchar_t *()

CWString::operator wchar_t * ( void  ) const

Definition at line 220 of file types.cpp.

◆ operator=() [1/39]

CDB_Bit & CDB_Bit::operator= ( const bool i)

Definition at line 2742 of file types.cpp.

References i, CDB_Bit::m_Val, and CDB_Object::SetNULL().

◆ operator=() [2/39]

CDB_Binary & CDB_Binary::operator= ( const CDB_Binary v)

◆ operator=() [3/39]

CDB_Char & CDB_Char::operator= ( const CDB_Char v)

Definition at line 1305 of file types.cpp.

References CDB_String::Assign(), and CDB_Char::m_Size.

◆ operator=() [4/39]

CDB_Image & CDB_Image::operator= ( const CDB_Image image)

Definition at line 2116 of file types.cpp.

References CDB_Stream::Assign().

◆ operator=() [5/39]

CDB_LongBinary & CDB_LongBinary::operator= ( const CDB_LongBinary v)

◆ operator=() [6/39]

CDB_LongChar & CDB_LongChar::operator= ( const CDB_LongChar v)

Definition at line 1459 of file types.cpp.

References CDB_String::Assign(), and CDB_LongChar::m_Size.

◆ operator=() [7/39]

CDB_String & CDB_String::operator= ( const CDB_String other)

Definition at line 973 of file types.cpp.

References CDB_String::Assign().

◆ operator=() [8/39]

CDB_Text & CDB_Text::operator= ( const CDB_Text text)

Definition at line 2218 of file types.cpp.

References CDB_Stream::Assign(), CDB_Stream::m_Encoding, and text().

◆ operator=() [9/39]

CDB_VarBinary & CDB_VarBinary::operator= ( const CDB_VarBinary v)

Definition at line 1597 of file types.cpp.

References CDB_Object::IsNULL(), CDB_VarBinary::m_Value, NULL, and CDB_Object::SetNULL().

◆ operator=() [10/39]

CDB_VarBinaryMax & CDB_VarBinaryMax::operator= ( const CDB_VarBinaryMax v)

Definition at line 2159 of file types.cpp.

References CDB_Stream::Assign().

◆ operator=() [11/39]

CDB_VarCharMax & CDB_VarCharMax::operator= ( const CDB_VarCharMax v)

Definition at line 2297 of file types.cpp.

References CDB_Stream::Assign(), and CDB_Stream::m_Encoding.

◆ operator=() [12/39]

CDB_String & CDB_String::operator= ( const char *  s)

Definition at line 990 of file types.cpp.

References CDB_String::Assign().

◆ operator=() [13/39]

CDB_VarChar& CDB_VarChar::operator= ( const char *  s)
inline

Definition at line 590 of file types.hpp.

References CDB_VarChar::SetValue().

◆ operator=() [14/39]

CDB_VarCharMax& CDB_VarCharMax::operator= ( const char *  s)
inline

Definition at line 1006 of file types.hpp.

References CDB_VarCharMax::SetValue().

◆ operator=() [15/39]

CDB_Char & CDB_Char::operator= ( const char *  v)

Definition at line 1326 of file types.cpp.

References CDB_String::Assign(), CheckStringTruncation(), len, and CDB_Char::m_Size.

◆ operator=() [16/39]

CDB_LongChar & CDB_LongChar::operator= ( const char *  v)

Definition at line 1480 of file types.cpp.

References CDB_String::Assign(), CheckStringTruncation(), len, and CDB_LongChar::m_Size.

◆ operator=() [17/39]

CDB_Numeric & CDB_Numeric::operator= ( const char *  val)

◆ operator=() [18/39]

CDB_SmallDateTime & CDB_SmallDateTime::operator= ( const CTime t)

◆ operator=() [19/39]

CDB_DateTime & CDB_DateTime::operator= ( const CTime t)

◆ operator=() [20/39]

CDB_BigDateTime& CDB_BigDateTime::operator= ( const CTime t)
inline

Definition at line 1104 of file types.hpp.

References CDB_BigDateTime::Assign(), and t.

◆ operator=() [21/39]

CWString & CWString::operator= ( const CWString str)

◆ operator=() [22/39]

CDB_Double & CDB_Double::operator= ( const double &  i)

Definition at line 1905 of file types.cpp.

References i, CDB_Double::m_Val, and CDB_Object::SetNULL().

◆ operator=() [23/39]

CDB_Float & CDB_Float::operator= ( const float &  i)

Definition at line 1851 of file types.cpp.

References i, CDB_Float::m_Val, and CDB_Object::SetNULL().

◆ operator=() [24/39]

CDB_Bit & CDB_Bit::operator= ( const int i)

Definition at line 2734 of file types.cpp.

References i, CDB_Bit::m_Val, and CDB_Object::SetNULL().

◆ operator=() [25/39]

CDB_SmallInt& CDB_SmallInt::operator= ( const Int2 i)
inline

Definition at line 394 of file types.hpp.

References i, CDB_SmallInt::m_Val, and CDB_Object::SetNULL().

◆ operator=() [26/39]

CDB_Int& CDB_Int::operator= ( const Int4 i)
inline

Definition at line 367 of file types.hpp.

References i, CDB_Int::m_Val, and CDB_Object::SetNULL().

◆ operator=() [27/39]

CDB_BigInt& CDB_BigInt::operator= ( const Int8 i)
inline

Definition at line 448 of file types.hpp.

References i, CDB_BigInt::m_Val, and CDB_Object::SetNULL().

◆ operator=() [28/39]

CDB_String & CDB_String::operator= ( const string s)

Definition at line 983 of file types.cpp.

References CDB_String::Assign().

◆ operator=() [29/39]

CDB_VarChar& CDB_VarChar::operator= ( const string s)
inline

Definition at line 589 of file types.hpp.

References CDB_VarChar::SetValue().

◆ operator=() [30/39]

CDB_VarCharMax& CDB_VarCharMax::operator= ( const string s)
inline

Definition at line 1005 of file types.hpp.

References CDB_VarCharMax::SetValue().

◆ operator=() [31/39]

CDB_Char & CDB_Char::operator= ( const string v)

Definition at line 1316 of file types.cpp.

References CDB_String::Assign(), CheckStringTruncation(), and CDB_Char::m_Size.

◆ operator=() [32/39]

CDB_LongChar & CDB_LongChar::operator= ( const string v)

Definition at line 1470 of file types.cpp.

References CDB_String::Assign(), CheckStringTruncation(), and CDB_LongChar::m_Size.

◆ operator=() [33/39]

CDB_Numeric & CDB_Numeric::operator= ( const string val)

◆ operator=() [34/39]

CDB_String & CDB_String::operator= ( const TStringUCS2 s)

Definition at line 997 of file types.cpp.

References CDB_String::Assign().

◆ operator=() [35/39]

CDB_VarChar& CDB_VarChar::operator= ( const TStringUCS2 s)
inline

Definition at line 591 of file types.hpp.

References CDB_VarChar::SetValue().

◆ operator=() [36/39]

CDB_VarCharMax& CDB_VarCharMax::operator= ( const TStringUCS2 s)
inline

Definition at line 1007 of file types.hpp.

References CDB_VarCharMax::SetValue().

◆ operator=() [37/39]

CDB_Char & CDB_Char::operator= ( const TStringUCS2 v)

Definition at line 1339 of file types.cpp.

References CDB_String::Assign(), CheckStringTruncation(), and CDB_Char::m_Size.

◆ operator=() [38/39]

CDB_LongChar & CDB_LongChar::operator= ( const TStringUCS2 v)

Definition at line 1493 of file types.cpp.

References CDB_String::Assign(), CheckStringTruncation(), and CDB_LongChar::m_Size.

◆ operator=() [39/39]

CDB_TinyInt& CDB_TinyInt::operator= ( const Uint1 i)
inline

Definition at line 421 of file types.hpp.

References i, CDB_TinyInt::m_Val, and CDB_Object::SetNULL().

◆ Peek()

size_t CDB_Stream::Peek ( void *  buff,
size_t  nof_bytes 
) const
virtual

Definition at line 1992 of file types.cpp.

References CDB_Stream::m_Store, and CMemStore::Peek().

◆ PeekAt()

size_t CDB_Stream::PeekAt ( void *  buff,
size_t  start,
size_t  nof_bytes 
) const
virtual

Definition at line 1997 of file types.cpp.

References CDB_Stream::m_Store, and CMemStore::PeekAt().

Referenced by CDB_Object::GetLogString(), and CVariant::GetString().

◆ Precision()

Uint1 CDB_Numeric::Precision ( ) const
inline

Definition at line 1183 of file types.hpp.

References CDB_Numeric::m_Precision.

Referenced by CTL_CursorResultExpl::ReadItem(), and CTL_BCPInCmd::x_AssignParams().

◆ RawData()

const unsigned char* CDB_Numeric::RawData ( ) const
inline

Definition at line 1193 of file types.hpp.

References CDB_Numeric::m_Body.

Referenced by CTL_CursorResultExpl::ReadItem(), and CTL_BCPInCmd::x_AssignParams().

◆ Read()

size_t CDB_Stream::Read ( void *  buff,
size_t  nof_bytes 
)
virtual

◆ Scale()

Uint1 CDB_Numeric::Scale ( ) const
inline

Definition at line 1187 of file types.hpp.

References CDB_Numeric::m_Scale.

Referenced by CTL_CursorResultExpl::ReadItem(), and CTL_BCPInCmd::x_AssignParams().

◆ SetBulkInsertionEnc()

void CDB_String::SetBulkInsertionEnc ( EBulkEnc  e)
inline

Definition at line 556 of file types.hpp.

References CDB_String::m_BulkInsertionEnc.

Referenced by CTL_Connection::x_SendUpdateWrite().

◆ SetEncoding() [1/2]

void CDB_Text::SetEncoding ( EBulkEnc  e)

Definition at line 2197 of file types.cpp.

References CDB_Stream::x_SetEncoding().

Referenced by CDbapiCursorApp::CreateTable().

◆ SetEncoding() [2/2]

void CDB_VarCharMax::SetEncoding ( EBulkEnc  e)

Definition at line 2277 of file types.cpp.

References CDB_Stream::x_SetEncoding().

◆ SetNULL()

void CDB_Object::SetNULL ( bool  flag = true)
inlineprotected

◆ SetValue() [1/16]

CDB_VarChar & CDB_VarChar::SetValue ( const char *  s,
EEncoding  enc = eEncoding_Unknown 
)

Definition at line 1198 of file types.cpp.

References CDB_String::Assign().

◆ SetValue() [2/16]

CDB_VarCharMax& CDB_VarCharMax::SetValue ( const char *  s,
EEncoding  enc = eEncoding_Unknown 
)
inline

Definition at line 995 of file types.hpp.

References CDB_VarCharMax::Append(), and CDB_Stream::Truncate().

◆ SetValue() [3/16]

CDB_VarChar & CDB_VarChar::SetValue ( const char *  s,
size_t  l,
EEncoding  enc = eEncoding_Unknown 
)

Definition at line 1207 of file types.cpp.

References CDB_String::Assign().

◆ SetValue() [4/16]

CDB_VarCharMax& CDB_VarCharMax::SetValue ( const char *  s,
size_t  l,
EEncoding  enc = eEncoding_Unknown 
)
inline

Definition at line 998 of file types.hpp.

References CDB_VarCharMax::Append(), and CDB_Stream::Truncate().

◆ SetValue() [5/16]

void CDB_Char::SetValue ( const char *  str,
size_t  len,
EEncoding  enc = eEncoding_Unknown 
)

◆ SetValue() [6/16]

void CDB_LongChar::SetValue ( const char *  str,
size_t  len,
EEncoding  enc = eEncoding_Unknown 
)

◆ SetValue() [7/16]

CDB_VarChar & CDB_VarChar::SetValue ( const string s,
EEncoding  enc = eEncoding_Unknown 
)

Definition at line 1189 of file types.cpp.

References CDB_String::Assign().

Referenced by CDB_VarChar::operator=(), s_GetItem(), and CPubseq2Reader::x_SendPacket().

◆ SetValue() [8/16]

CDB_VarCharMax& CDB_VarCharMax::SetValue ( const string s,
EEncoding  enc = eEncoding_Unknown 
)
inline

◆ SetValue() [9/16]

CDB_VarChar & CDB_VarChar::SetValue ( const TStringUCS2 s)

Definition at line 1216 of file types.cpp.

References CDB_String::Assign().

◆ SetValue() [10/16]

CDB_VarCharMax& CDB_VarCharMax::SetValue ( const TStringUCS2 s,
size_t  l = TStringUCS2::npos 
)
inline

Definition at line 1001 of file types.hpp.

References CDB_VarCharMax::Append(), and CDB_Stream::Truncate().

◆ SetValue() [11/16]

void CDB_LongChar::SetValue ( const TStringUCS2 str,
size_t  len 
)

◆ SetValue() [12/16]

void CDB_Char::SetValue ( const TStringUCS2 v,
size_t  len 
)

◆ SetValue() [13/16]

void CDB_VarBinary::SetValue ( const void *  v,
size_t  l 
)

Definition at line 1582 of file types.cpp.

References CDB_VarBinary::m_Value, NULL, and CDB_Object::SetNULL().

Referenced by CDB_VarBinary::CDB_VarBinary().

◆ SetValue() [14/16]

void CDB_VarBinaryMax::SetValue ( const void *  v,
size_t  l 
)
inline

Definition at line 933 of file types.hpp.

References CDB_Stream::Append(), and CDB_Stream::Truncate().

◆ SetValue() [15/16]

void CDB_Binary::SetValue ( const void *  v,
size_t  v_size 
)

◆ SetValue() [16/16]

void CDB_LongBinary::SetValue ( const void *  v,
size_t  v_size 
)

◆ ShallowClone() [1/11]

virtual CDB_Object* CDB_Object::ShallowClone ( ) const
inlinevirtual

◆ ShallowClone() [2/11]

CDB_Object * CDB_VarChar::ShallowClone ( ) const
virtual

Reimplemented from CDB_Object.

Definition at line 1246 of file types.cpp.

References CDB_VarChar::CDB_VarChar(), and CDB_Object::IsNULL().

◆ ShallowClone() [3/11]

CDB_Object * CDB_Char::ShallowClone ( ) const
virtual

Reimplemented from CDB_Object.

Definition at line 1376 of file types.cpp.

References CDB_Char::CDB_Char().

◆ ShallowClone() [4/11]

CDB_Object * CDB_LongChar::ShallowClone ( ) const
virtual

Reimplemented from CDB_Object.

Definition at line 1533 of file types.cpp.

References CDB_LongChar::CDB_LongChar().

◆ ShallowClone() [5/11]

CDB_Object * CDB_VarBinary::ShallowClone ( ) const
virtual

Reimplemented from CDB_Object.

Definition at line 1620 of file types.cpp.

References CDB_VarBinary::CDB_VarBinary(), and CDB_Object::IsNULL().

◆ ShallowClone() [6/11]

CDB_Object * CDB_Binary::ShallowClone ( ) const
virtual

Reimplemented from CDB_Object.

Definition at line 1706 of file types.cpp.

References CDB_Binary::CDB_Binary(), CDB_Object::IsNULL(), and CDB_Binary::m_Size.

◆ ShallowClone() [7/11]

CDB_Object * CDB_LongBinary::ShallowClone ( ) const
virtual

Reimplemented from CDB_Object.

Definition at line 1804 of file types.cpp.

References CDB_LongBinary::CDB_LongBinary().

◆ ShallowClone() [8/11]

CDB_Object * CDB_Image::ShallowClone ( ) const
virtual

Reimplemented from CDB_Object.

Definition at line 2131 of file types.cpp.

References CDB_Image::CDB_Image().

◆ ShallowClone() [9/11]

CDB_Object * CDB_VarBinaryMax::ShallowClone ( ) const
virtual

Reimplemented from CDB_Object.

Definition at line 2174 of file types.cpp.

References CDB_VarBinaryMax::CDB_VarBinaryMax().

◆ ShallowClone() [10/11]

CDB_Object * CDB_Text::ShallowClone ( ) const
virtual

Reimplemented from CDB_Object.

Definition at line 2234 of file types.cpp.

References CDB_Text::CDB_Text().

◆ ShallowClone() [11/11]

CDB_Object * CDB_VarCharMax::ShallowClone ( ) const
virtual

Reimplemented from CDB_Object.

Definition at line 2313 of file types.cpp.

References CDB_VarCharMax::CDB_VarCharMax().

◆ Size() [1/6]

size_t CDB_LongChar::Size ( void  ) const
inline

Definition at line 693 of file types.hpp.

References CDB_Object::IsNULL(), and CDB_LongChar::m_Size.

Referenced by CTL_Cmd::AssignCmdParam(), and CTL_BCPInCmd::x_AssignParams().

◆ Size() [2/6]

size_t CDB_VarBinary::Size ( void  ) const
inline

◆ Size() [3/6]

size_t CDB_Binary::Size ( void  ) const
inline

◆ Size() [4/6]

size_t CDB_LongBinary::Size ( void  ) const
inline

◆ Size() [5/6]

size_t CDB_Stream::Size ( void  ) const
virtual

◆ Size() [6/6]

size_t CDB_String::Size ( void  ) const
inline

◆ Truncate()

void CDB_Stream::Truncate ( size_t  nof_bytes = kMax_Int)
virtual

◆ Value() [1/14]

Int4 CDB_Int::Value ( void  ) const
inline

◆ Value() [2/14]

Int2 CDB_SmallInt::Value ( void  ) const
inline

◆ Value() [3/14]

Uint1 CDB_TinyInt::Value ( void  ) const
inline

Definition at line 427 of file types.hpp.

References CDB_Object::IsNULL(), and CDB_TinyInt::m_Val.

Referenced by CTL_Cmd::AssignCmdParam(), and CTL_BCPInCmd::x_AssignParams().

◆ Value() [4/14]

Int8 CDB_BigInt::Value ( void  ) const
inline

◆ Value() [5/14]

const void* CDB_VarBinary::Value ( void  ) const
inline

◆ Value() [6/14]

const void* CDB_Binary::Value ( void  ) const
inline

◆ Value() [7/14]

const void* CDB_LongBinary::Value ( void  ) const
inline

◆ Value() [8/14]

float CDB_Float::Value ( void  ) const
inline

Definition at line 825 of file types.hpp.

References CDB_Object::IsNULL(), and CDB_Float::m_Val.

Referenced by CTL_BCPInCmd::x_AssignParams().

◆ Value() [9/14]

double CDB_Double::Value ( void  ) const
inline

Definition at line 850 of file types.hpp.

References CDB_Object::IsNULL(), and CDB_Double::m_Val.

Referenced by CMysqlDemoApp::Run(), and CTL_BCPInCmd::x_AssignParams().

◆ Value() [10/14]

int CDB_Bit::Value ( void  ) const
inline

◆ Value() [11/14]

string CDB_Numeric::Value ( void  ) const

◆ Value() [12/14]

const char* CDB_String::Value ( void  ) const
inline

◆ Value() [13/14]

const CTime & CDB_SmallDateTime::Value ( void  ) const

◆ Value() [14/14]

const CTime & CDB_DateTime::Value ( void  ) const

◆ x_Append() [1/3]

size_t CDB_Stream::x_Append ( const CTempString s,
EEncoding  enc 
)
protected

◆ x_Append() [2/3]

size_t CDB_Stream::x_Append ( const TStringUCS2 s,
size_t  l = TStringUCS2::npos 
)
protected

◆ x_Append() [3/3]

size_t CDB_Stream::x_Append ( const void *  buff,
size_t  nof_bytes 
)
protected

Definition at line 2055 of file types.cpp.

References CDB_Stream::Append(), kEmptyCStr, and NULL.

Referenced by CDB_Text::Append(), and CDB_VarCharMax::Append().

◆ x_CalculateEncoding()

void CWString::x_CalculateEncoding ( EEncoding  str_enc) const
protected

◆ x_GetWString()

const string& CDB_String::x_GetWString ( ) const
inlineprivate

◆ x_MakeFromString()

void CDB_Numeric::x_MakeFromString ( unsigned int  precision,
unsigned int  scale,
const CTempString s 
)
protected

◆ x_MakeString()

void CWString::x_MakeString ( EEncoding  str_enc = eEncoding_Unknown) const
protected

◆ x_MakeUCS2LEString()

void CWString::x_MakeUCS2LEString ( EEncoding  str_enc = eEncoding_Unknown) const
protected

◆ x_MakeUTF8String()

void CWString::x_MakeUTF8String ( EEncoding  str_enc = eEncoding_Unknown) const
protected

◆ x_MakeWString()

void CWString::x_MakeWString ( EEncoding  str_enc = eEncoding_Unknown) const
protected

◆ x_SetEncoding()

void CDB_Stream::x_SetEncoding ( EBulkEnc  e)
protected

◆ x_StringToUTF8()

void CWString::x_StringToUTF8 ( EEncoding  str_enc = eEncoding_Unknown) const
protected

◆ x_UTF8ToString()

void CWString::x_UTF8ToString ( EEncoding  str_enc = eEncoding_Unknown) const
protected

◆ ~CDB_BigInt()

CDB_BigInt::~CDB_BigInt ( void  )
virtual

Definition at line 814 of file types.cpp.

◆ ~CDB_Binary()

CDB_Binary::~CDB_Binary ( )
virtual

Definition at line 1724 of file types.cpp.

◆ ~CDB_Bit()

CDB_Bit::~CDB_Bit ( void  )
virtual

Definition at line 2730 of file types.cpp.

◆ ~CDB_Char()

CDB_Char::~CDB_Char ( void  )
virtual

Definition at line 1392 of file types.cpp.

◆ ~CDB_DateTime()

CDB_DateTime::~CDB_DateTime ( void  )
virtual

Definition at line 2465 of file types.cpp.

◆ ~CDB_Double()

CDB_Double::~CDB_Double ( void  )
virtual

Definition at line 1901 of file types.cpp.

◆ ~CDB_Float()

CDB_Float::~CDB_Float ( void  )
virtual

Definition at line 1846 of file types.cpp.

◆ ~CDB_Image()

CDB_Image::~CDB_Image ( void  )
virtual

Definition at line 2112 of file types.cpp.

◆ ~CDB_Int()

CDB_Int::~CDB_Int ( void  )
virtual

Definition at line 678 of file types.cpp.

◆ ~CDB_LongBinary()

CDB_LongBinary::~CDB_LongBinary ( )
virtual

Definition at line 1822 of file types.cpp.

◆ ~CDB_LongChar()

CDB_LongChar::~CDB_LongChar ( )
virtual

Definition at line 1551 of file types.cpp.

◆ ~CDB_Numeric()

CDB_Numeric::~CDB_Numeric ( void  )
virtual

Definition at line 2834 of file types.cpp.

◆ ~CDB_Object()

CDB_Object::~CDB_Object ( )
virtual

Definition at line 545 of file types.cpp.

◆ ~CDB_SmallDateTime()

CDB_SmallDateTime::~CDB_SmallDateTime ( void  )
virtual

Definition at line 2354 of file types.cpp.

◆ ~CDB_SmallInt()

CDB_SmallInt::~CDB_SmallInt ( void  )
virtual

Definition at line 724 of file types.cpp.

◆ ~CDB_Stream()

CDB_Stream::~CDB_Stream ( )
virtual

◆ ~CDB_String()

CDB_String::~CDB_String ( void  )
virtual

Definition at line 968 of file types.cpp.

◆ ~CDB_Text()

CDB_Text::~CDB_Text ( void  )
virtual

Definition at line 2193 of file types.cpp.

◆ ~CDB_TinyInt()

CDB_TinyInt::~CDB_TinyInt ( void  )
virtual

Definition at line 770 of file types.cpp.

◆ ~CDB_VarBinary()

CDB_VarBinary::~CDB_VarBinary ( void  )
virtual

Definition at line 1578 of file types.cpp.

◆ ~CDB_VarBinaryMax()

CDB_VarBinaryMax::~CDB_VarBinaryMax ( void  )
virtual

Definition at line 2155 of file types.cpp.

◆ ~CDB_VarChar()

CDB_VarChar::~CDB_VarChar ( void  )
virtual

Definition at line 1184 of file types.cpp.

◆ ~CDB_VarCharMax()

CDB_VarCharMax::~CDB_VarCharMax ( void  )
virtual

Definition at line 2273 of file types.cpp.

◆ ~CWString()

CWString::~CWString ( void  )

Definition at line 184 of file types.cpp.

Variable Documentation

◆ dbapi

unsigned dbapi

Definition at line 1210 of file types.hpp.

◆ m_AvailableValueType

int CWString::m_AvailableValueType
mutableprotected

◆ m_Body

unsigned char CDB_Numeric::m_Body[33]
protected

◆ m_BulkInsertionEnc

EBulkEnc CDB_String::m_BulkInsertionEnc
private

◆ m_Char

const char* CWString::m_Char
mutableprotected

◆ m_DataSize

size_t CDB_LongBinary::m_DataSize
protected

◆ m_DBTime [1/2]

TDBTimeU CDB_SmallDateTime::m_DBTime
mutableprotected

◆ m_DBTime [2/2]

TDBTimeI CDB_DateTime::m_DBTime
mutableprotected

◆ m_Encoding

EBulkEnc CDB_Stream::m_Encoding
protected

◆ m_NCBITime [1/2]

CTime CDB_SmallDateTime::m_NCBITime
mutableprotected

◆ m_NCBITime [2/2]

CTime CDB_DateTime::m_NCBITime
mutableprotected

◆ m_Null

bool CDB_Object::m_Null
private

Definition at line 329 of file types.hpp.

Referenced by CDB_Object::IsNULL(), and CDB_Object::SetNULL().

◆ m_Offset

TOffset CDB_BigDateTime::m_Offset
protected

Definition at line 1127 of file types.hpp.

Referenced by CDB_BigDateTime::Assign(), and CDB_BigDateTime::GetOffset().

◆ m_Precision

Uint1 CDB_Numeric::m_Precision
protected

◆ m_Scale

Uint1 CDB_Numeric::m_Scale
protected

◆ m_Size [1/4]

size_t CDB_Char::m_Size
protected

Definition at line 653 of file types.hpp.

Referenced by CDB_Char::operator=(), and CDB_Char::SetValue().

◆ m_Size [2/4]

size_t CDB_LongChar::m_Size
protected

Definition at line 703 of file types.hpp.

Referenced by CDB_LongChar::operator=(), CDB_LongChar::SetValue(), and CDB_LongChar::Size().

◆ m_Size [3/4]

size_t CDB_Binary::m_Size
protected

◆ m_Size [4/4]

size_t CDB_LongBinary::m_Size
protected

Definition at line 808 of file types.hpp.

Referenced by CDB_LongBinary::operator=(), and CDB_LongBinary::SetValue().

◆ m_SQLType

ESQLType CDB_BigDateTime::m_SQLType
protected

◆ m_Status [1/2]

unsigned int CDB_SmallDateTime::m_Status
mutableprotected

◆ m_Status [2/2]

unsigned int CDB_DateTime::m_Status
mutableprotected

◆ m_Store

CMemStore* CDB_Stream::m_Store
private

◆ m_String

CSqlString CWString::m_String
mutableprotected

◆ m_StringEncoding

EEncoding CWString::m_StringEncoding
mutableprotected

◆ m_Time

CTime CDB_BigDateTime::m_Time
protected

Definition at line 1125 of file types.hpp.

Referenced by CDB_BigDateTime::Assign(), and CDB_BigDateTime::GetCTime().

◆ m_UCS2LEString

TStringUCS2 CWString::m_UCS2LEString
mutableprotected

Definition at line 286 of file types.hpp.

Referenced by CWString::AsUCS2_LE(), and CWString::x_MakeUCS2LEString().

◆ m_UTF8String

CStringUTF8 CWString::m_UTF8String
mutableprotected

◆ m_Val [1/7]

Int4 CDB_Int::m_Val
protected

Definition at line 381 of file types.hpp.

Referenced by CDB_Int::BindVal(), CDB_Int::Clone(), CDB_Int::operator=(), and CDB_Int::Value().

◆ m_Val [2/7]

Int2 CDB_SmallInt::m_Val
protected

◆ m_Val [3/7]

Uint1 CDB_TinyInt::m_Val
protected

◆ m_Val [4/7]

Int8 CDB_BigInt::m_Val
protected

◆ m_Val [5/7]

float CDB_Float::m_Val
protected

◆ m_Val [6/7]

double CDB_Double::m_Val
protected

◆ m_Val [7/7]

Uint1 CDB_Bit::m_Val
protected

◆ m_Value [1/3]

CRef<TValue> CDB_VarBinary::m_Value
protected

◆ m_Value [2/3]

CRef<TValue> CDB_Binary::m_Value
protected

◆ m_Value [3/3]

CRef<TValue> CDB_LongBinary::m_Value
protected

◆ m_WChar

const wchar_t* CWString::m_WChar
mutableprotected

◆ m_WString [1/2]

wstring CWString::m_WString
mutableprotected

◆ m_WString [2/2]

CRef<CWString> CDB_String::m_WString
private

◆ max_logged_param_length

unsigned max_logged_param_length

Definition at line 1210 of file types.hpp.

◆ NCBI_DBAPIDRIVER_EXPORT

NCBI_DBAPIDRIVER_EXPORT

Definition at line 1210 of file types.hpp.

Modified on Sat Apr 13 11:50:47 2024 by modify_doxy.py rev. 669887