NCBI C++ ToolKit
Public Member Functions | List of all members
CDB_VarChar Class Reference

Search Toolkit Book for CDB_VarChar

#include <dbapi/driver/types.hpp>

+ Inheritance diagram for CDB_VarChar:
+ Collaboration diagram for CDB_VarChar:

Public Member Functions

 CDB_VarChar (void)
 
 CDB_VarChar (const CDB_VarChar &v, bool share_data=false)
 
 CDB_VarChar (const string &s, EEncoding enc=eEncoding_Unknown)
 
 CDB_VarChar (const char *s, EEncoding enc=eEncoding_Unknown)
 
 CDB_VarChar (const char *s, size_t l, EEncoding enc=eEncoding_Unknown)
 
 CDB_VarChar (const TStringUCS2 &s, size_t l=TStringUCS2::npos)
 
virtual ~CDB_VarChar (void)
 
CDB_VarCharoperator= (const string &s)
 
CDB_VarCharoperator= (const char *s)
 
CDB_VarCharoperator= (const TStringUCS2 &s)
 
CDB_VarCharSetValue (const string &s, EEncoding enc=eEncoding_Unknown)
 
CDB_VarCharSetValue (const char *s, EEncoding enc=eEncoding_Unknown)
 
CDB_VarCharSetValue (const char *s, size_t l, EEncoding enc=eEncoding_Unknown)
 
CDB_VarCharSetValue (const TStringUCS2 &s)
 
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
 

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 571 of file types.hpp.


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