NCBI C++ ToolKit
Public Member Functions | Protected Attributes | List of all members
CDB_LongChar Class Reference

Search Toolkit Book for CDB_LongChar

#include <dbapi/driver/types.hpp>

+ Inheritance diagram for CDB_LongChar:
+ Collaboration diagram for CDB_LongChar:

Public Member Functions

 CDB_LongChar (size_t s=8191)
 
 CDB_LongChar (size_t s, const string &v, EEncoding enc=eEncoding_Unknown)
 
 CDB_LongChar (size_t len, const char *str, EEncoding enc=eEncoding_Unknown)
 
 CDB_LongChar (size_t s, const TStringUCS2 &v)
 
 CDB_LongChar (const CDB_LongChar &v, bool share_data=false)
 
virtual ~CDB_LongChar ()
 
CDB_LongCharoperator= (const CDB_LongChar &v)
 
CDB_LongCharoperator= (const string &v)
 
CDB_LongCharoperator= (const char *v)
 
CDB_LongCharoperator= (const TStringUCS2 &v)
 
void SetValue (const char *str, size_t len, EEncoding enc=eEncoding_Unknown)
 
void SetValue (const TStringUCS2 &str, size_t len)
 
size_t Size () const
 
size_t DataSize () const
 
virtual EDB_Type GetType () const
 
virtual CDB_ObjectClone () const
 
virtual CDB_ObjectShallowClone () const
 
virtual void AssignValue (const CDB_Object &v)
 
- Public Member Functions inherited from CDB_String
 CDB_String (void)
 
 CDB_String (const CDB_String &other, bool share_data=false)
 
 CDB_String (const string &s, EEncoding enc=eEncoding_Unknown)
 
 CDB_String (const char *s, string::size_type size=string::npos, EEncoding enc=eEncoding_Unknown)
 
 CDB_String (const string &s, string::size_type size=string::npos, EEncoding enc=eEncoding_Unknown)
 
 CDB_String (const TStringUCS2 &s, TStringUCS2::size_type size=TStringUCS2::npos)
 
virtual ~CDB_String (void)
 
CDB_Stringoperator= (const CDB_String &other)
 
CDB_Stringoperator= (const string &s)
 
CDB_Stringoperator= (const char *s)
 
CDB_Stringoperator= (const TStringUCS2 &s)
 
 operator const char * (void) const
 
 operator const string & (void) const
 
const wstring & AsWString (EEncoding enc) const
 
const wchar_t * AsUnicode (EEncoding enc) const
 
const stringAsString (void) const
 
size_t Size (void) const
 
const char * Data (void) const
 
const char * AsCString (void) const
 
const char * Value (void) const
 
void Assign (const CDB_String &other)
 
void Assign (const char *s, string::size_type size=string::npos, EEncoding enc=eEncoding_Unknown)
 
void Assign (const string &s, string::size_type size=string::npos, EEncoding enc=eEncoding_Unknown)
 
void Assign (const TStringUCS2 &s, TStringUCS2::size_type size=TStringUCS2::npos)
 
EBulkEnc GetBulkInsertionEnc (void) const
 
void SetBulkInsertionEnc (EBulkEnc e)
 
void GetBulkInsertionData (CTempString *ts, bool convert_raw_bytes=false) const
 
- Public Member Functions inherited from CDB_Object
 CDB_Object (bool is_null=true)
 
virtual ~CDB_Object ()
 
bool IsNULL () const
 
virtual void AssignNULL ()
 
string GetLogString (void) const
 

Protected Attributes

size_t m_Size
 

Additional Inherited Members

- Static Public Member Functions inherited from CDB_Object
static CDB_ObjectCreate (EDB_Type type, size_t size=1)
 
static const char * GetTypeName (EDB_Type db_type, bool throw_on_unknown=true)
 
static EBlobType GetBlobType (EDB_Type db_type)
 
static bool IsBlobType (EDB_Type db_type)
 
- Protected Member Functions inherited from CDB_Object
void SetNULL (bool flag=true)
 

Detailed Description

Definition at line 660 of file types.hpp.


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