A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/dbapi_2variant_8cpp_source.html below:

NCBI C++ ToolKit: src/dbapi/variant.cpp Source File

43 #define NCBI_USE_ERRCODE_X Dbapi_Variant 57  switch

(GetErrCode()) {

232  FORMAT

(

"Unsupported BigDateTime format "

<< fmt));

281  "Illegal argument, the size of LONGCHAR should not be 0"

);

292  "Illegal argument, the size of CHAR should not be 0"

);

300  "Illegal argument, the size of LONGBINARY should not be 0"

);

311  "Illegal argument, the size of BINARY should not be 0"

);

352  string

(

"Unsupported type: "

)

429  "CVariant::ctor(): unsupported datetime type " 459  "CVariant::GetNonNullData(): null data"

);

504

s =

string

((

char

*)

b

->Value(),

b

->Size());

554  size_t n

= stream->

Size

();

556  size_t

n2 = stream->

PeekAt

(&s[0], 0,

n

);

953  if

( v1.

IsNull

() ||

v2

.IsNull() ) {

959  string

(

"Cannot compare different types "

)

995  string

(

"Type not supported: "

)

1006  if

( v1.

IsNull

() ||

v2

.IsNull() ) {

1010  if

( v1.

GetType

() !=

v2

.GetType() ) {

1012  string

(

"Cannot compare different types "

)

1053  string

(

"Type not supported: "

)

static CDB_BigDateTime::ESQLType s_TranslateDateTimeFormat(EDateTimeFormat fmt)

static const char * str(char *buf, int n)

bool IsNull(void) const

Check if the object is unassigned.

@ eRetriable_No

It makes no sense to retry the action.

static bool IsBlobType(EDB_Type db_type)

virtual void AssignNULL()

const void * Value() const

virtual void AssignValue(const CDB_Object &v)=0

virtual CDB_Object * Clone() const =0

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

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

virtual size_t Size() const

const void * Value() const

@ eDateTimeOffset

DATETIMEOFFSET (MS); no Sybase equivalent.

@ eDateTime

DATETIME2 (MS), BIGDATETIME (Sybase)

@ eTime

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

@ eDate

DATE (MS, Sybase)

static CVariant DateTime(CTime *p)

CVariantException(const string &message)

void SetData(CDB_Object *o)

virtual const char * GetErrCodeString(void) const override

bool MoveTo(size_t pos) const

bool operator==(const CVariant &v1, const CVariant &v2)

CDB_Object * GetNonNullData() const

static CVariant Float(float *p)

double GetDouble(void) const

static CVariant BigDateTime(CTime *p, EDateTimeFormat fmt=eLonger)

CDB_Object * GetData() const

void x_Inapplicable_Method(const char *method) const

static CVariant VarBinaryMax(const void *p, size_t len)

static CVariant BigInt(Int8 *p)

EBulkEnc GetBulkInsertionEnc(void) const

Uint1 GetByte(void) const

static CVariant VarChar(const char *p, size_t len=0)

static CVariant LongChar(const char *p, size_t len=0)

static CVariant LongBinary(size_t maxSize, const void *p, size_t len)

string GetNumeric(void) const

static CVariant VarBinary(const void *p, size_t len)

static CVariant Binary(size_t size, const void *p, size_t len)

static CVariant SmallInt(Int2 *p)

void x_Verify_AssignType(EDB_Type db_type, const char *cxx_type) const

static CVariant Double(double *p)

static CVariant VarCharMax(const char *p, size_t len=0)

string GetString(void) const

static CVariant Char(size_t size, const char *p)

size_t Append(const void *buf, size_t len)

string AsNotNullString(const string &v) const

static CVariant Numeric(unsigned int precision, unsigned int scale, const char *p)

float GetFloat(void) const

size_t Read(void *buf, size_t len) const

static CVariant Int(Int4 *p)

static CVariant TinyInt(Uint1 *p)

bool operator<(const CVariant &v1, const CVariant &v2)

void SetBulkInsertionEnc(EBulkEnc e)

void Truncate(size_t len=kMax_UInt)

class CDB_Object * m_data

CVariant & operator=(const CVariant &v)

size_t GetBlobSize() const

static CVariant SmallDateTime(CTime *p)

static CVariant Bit(bool *p)

const CTime & GetCTime(void) const

#define DIAG_COMPILE_INFO

Make compile time diagnostic information object to use in CNcbiDiag and CException.

#define NCBI_CATCH_ALL_X(err_subcode, message)

#define NCBI_THROW(exception_class, err_code, message)

Generic macro to throw an exception, given the exception class, error code and message string.

virtual const char * GetErrCodeString(void) const

Get error code interpreted as text.

#define FORMAT(message)

Format message using iostreams library.

uint8_t Uint1

1-byte (8-bit) unsigned integer

int16_t Int2

2-byte (16-bit) signed integer

int32_t Int4

4-byte (32-bit) signed integer

int64_t Int8

8-byte (64-bit) signed integer

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static string Int8ToString(Int8 value, TNumToStringFlags flags=0, int base=10)

Convert Int8 to string.

static string DoubleToString(double value, int precision=-1, TNumToStringFlags flags=0)

Convert double to string.

static const string BoolToString(bool value)

Convert bool to string.

static string IntToString(int value, TNumToStringFlags flags=0, int base=10)

Convert int to string.

basic_string< TCharUCS2 > TStringUCS2

Type for string in UCS-2 encoding.

CTime & Clear(void)

Make the time "empty",.

string AsString(const CTimeFormat &format=kEmptyStr, TSeconds out_tz=eCurrentTimeZone) const

Transform time to string.

bool IsEmpty(void) const

Is time object empty (date and time)?

@ eEmpty

Use "empty" time.

Definition of all error codes used in dbapi libraries (dbapi_driver.lib and others).

const struct ncbi::grid::netcache::search::fields::SIZE size

GenericValue< UTF8<> > Value

GenericValue with UTF8 encoding.

static bool less(const CSeq_feat *A, const CSeq_feat *B)


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4