|
| | CVariant (Int8 v) |
| |
| | CVariant (Int4 v) |
| |
| | CVariant (Int2 v) |
| |
| | CVariant (Uint1 v) |
| |
| | CVariant (float v) |
| |
| | CVariant (double v) |
| |
| | CVariant (bool v) |
| |
| | CVariant (const string &v) |
| |
| | CVariant (const char *s) |
| |
| | CVariant (const TStringUCS2 &v) |
| |
| | CVariant (EDB_Type type, size_t size=0) |
| |
| | CVariant (const class CTime &v, EDateTimeFormat fmt) |
| |
| | CVariant (CDB_Object *obj) |
| |
| | CVariant (const CVariant &v) |
| |
| | ~CVariant () |
| |
| EDB_Type | GetType () const |
| |
| Int8 | GetInt8 (void) const |
| |
| string | GetString (void) const |
| |
| Int4 | GetInt4 (void) const |
| |
| Int2 | GetInt2 (void) const |
| |
| Uint1 | GetByte (void) const |
| |
| float | GetFloat (void) const |
| |
| double | GetDouble (void) const |
| |
| bool | GetBit (void) const |
| |
| string | GetNumeric (void) const |
| |
| const CTime & | GetCTime (void) const |
| |
| string | AsNotNullString (const string &v) const |
| |
| bool | IsNull () const |
| |
| void | SetNull () |
| |
| CVariant & | operator= (const CVariant &v) |
| |
| CVariant & | operator= (const Int8 &v) |
| |
| CVariant & | operator= (const Int4 &v) |
| |
| CVariant & | operator= (const Int2 &v) |
| |
| CVariant & | operator= (const Uint1 &v) |
| |
| CVariant & | operator= (const float &v) |
| |
| CVariant & | operator= (const double &v) |
| |
| CVariant & | operator= (const string &v) |
| |
| CVariant & | operator= (const char *v) |
| |
| CVariant & | operator= (const TStringUCS2 &v) |
| |
| CVariant & | operator= (const bool &v) |
| |
| CVariant & | operator= (const CTime &v) |
| |
| CDB_Object * | GetData () const |
| |
| CDB_Object * | GetNonNullData () const |
| |
| size_t | GetBlobSize () const |
| |
| size_t | Read (void *buf, size_t len) const |
| |
| size_t | Append (const void *buf, size_t len) |
| |
| size_t | Append (const string &str) |
| |
| size_t | Append (const TStringUCS2 &str) |
| |
| void | Truncate (size_t len=kMax_UInt) |
| |
| bool | MoveTo (size_t pos) const |
| |
| void | SetBlobDescriptor (I_BlobDescriptor *descr) |
| |
| I_BlobDescriptor & | GetBlobDescriptor (void) const |
| |
| I_BlobDescriptor * | ReleaseBlobDescriptor (void) const |
| |
| void | SetITDescriptor (I_BlobDescriptor *descr) |
| |
| I_BlobDescriptor & | GetITDescriptor (void) const |
| |
| I_BlobDescriptor * | ReleaseITDescriptor (void) const |
| |
| EBulkEnc | GetBulkInsertionEnc (void) const |
| |
| void | SetBulkInsertionEnc (EBulkEnc e) |
| |
| | CVariant (void) |
| |
| | ~CVariant (void) |
| |
| | CVariant_Base (void) |
| |
| virtual | ~CVariant_Base (void) |
| |
| | DECLARE_INTERNAL_TYPE_INFO () |
| |
| virtual void | Reset (void) |
| | Reset the whole object. More...
|
| |
| virtual void | ResetSelection (void) |
| | Reset the selection (set it to e_not_set). More...
|
| |
| E_Choice | Which (void) const |
| | Which variant is currently selected. More...
|
| |
| void | CheckSelected (E_Choice index) const |
| | Verify selection, throw exception if it differs from the expected. More...
|
| |
| void | ThrowInvalidSelection (E_Choice index) const |
| | Throw 'InvalidSelection' exception. More...
|
| |
| void | Select (E_Choice index, EResetVariant reset=eDoResetVariant) |
| | Select the requested variant if needed. More...
|
| |
| void | Select (E_Choice index, EResetVariant reset, CObjectMemoryPool *pool) |
| | Select the requested variant if needed, allocating CObject variants from memory pool. More...
|
| |
| bool | IsSimple (void) const |
| | Check if variant Simple is selected. More...
|
| |
| const TSimple & | GetSimple (void) const |
| | Get the variant data. More...
|
| |
| TSimple & | SetSimple (void) |
| | Select the variant. More...
|
| |
| void | SetSimple (TSimple &value) |
| | Select the variant and set its data. More...
|
| |
| bool | IsSpecial (void) const |
| | Check if variant Special is selected. More...
|
| |
| TSpecial | GetSpecial (void) const |
| | Get the variant data. More...
|
| |
| TSpecial & | SetSpecial (void) |
| | Select the variant. More...
|
| |
| void | SetSpecial (TSpecial value) |
| | Select the variant and set its data. More...
|
| |
| | CSerialObject (void) |
| |
| virtual | ~CSerialObject (void) |
| |
| virtual const CTypeInfo * | GetThisTypeInfo (void) const =0 |
| |
| virtual void | Assign (const CSerialObject &source, ESerialRecursionMode how=eRecursive) |
| | Set object to copy of another one. More...
|
| |
| virtual bool | Equals (const CSerialObject &object, ESerialRecursionMode how=eRecursive) const |
| | Check if both objects contain the same values. More...
|
| |
| virtual void | DebugDump (CDebugDumpContext ddc, unsigned int depth) const |
| | Define method for dumping debug information. More...
|
| |
| void | ThrowUnassigned (TMemberIndex index) const |
| |
| void | ThrowUnassigned (TMemberIndex index, const char *file_name, int file_line) const |
| |
| bool | HasNamespaceName (void) const |
| | Check if object data type has namespace name. More...
|
| |
| const string & | GetNamespaceName (void) const |
| | Get namespace name. More...
|
| |
| bool | HasNamespacePrefix (void) const |
| | Check if data type has namespace prefix. More...
|
| |
| const string & | GetNamespacePrefix (void) const |
| | Get namespace prefix. More...
|
| |
| | CObject (void) |
| | Constructor. More...
|
| |
| | CObject (const CObject &src) |
| | Copy constructor. More...
|
| |
| virtual | ~CObject (void) |
| | Destructor. More...
|
| |
| CObject & | operator= (const CObject &src) THROWS_NONE |
| | Assignment operator. More...
|
| |
| bool | CanBeDeleted (void) const THROWS_NONE |
| | Check if object can be deleted. More...
|
| |
| bool | IsAllocatedInPool (void) const THROWS_NONE |
| | Check if object is allocated in memory pool (not system heap) More...
|
| |
| bool | Referenced (void) const THROWS_NONE |
| | Check if object is referenced. More...
|
| |
| bool | ReferencedOnlyOnce (void) const THROWS_NONE |
| | Check if object is referenced only once. More...
|
| |
| void | AddReference (void) const |
| | Add reference to object. More...
|
| |
| void | RemoveReference (void) const |
| | Remove reference to object. More...
|
| |
| void | ReleaseReference (void) const |
| | Remove reference without deleting object. More...
|
| |
| virtual void | DoNotDeleteThisObject (void) |
| | Mark this object as not allocated in heap – do not delete this object. More...
|
| |
| virtual void | DoDeleteThisObject (void) |
| | Mark this object as allocated in heap – object can be deleted. More...
|
| |
| void * | operator new (size_t size) |
| | Define new operator for memory allocation. More...
|
| |
| void * | operator new[] (size_t size) |
| | Define new[] operator for 'array' memory allocation. More...
|
| |
| void | operator delete (void *ptr) |
| | Define delete operator for memory deallocation. More...
|
| |
| void | operator delete[] (void *ptr) |
| | Define delete[] operator for memory deallocation. More...
|
| |
| void * | operator new (size_t size, void *place) |
| | Define new operator. More...
|
| |
| void | operator delete (void *ptr, void *place) |
| | Define delete operator. More...
|
| |
| void * | operator new (size_t size, CObjectMemoryPool *place) |
| | Define new operator using memory pool. More...
|
| |
| void | operator delete (void *ptr, CObjectMemoryPool *place) |
| | Define delete operator. More...
|
| |
| | CDebugDumpable (void) |
| |
| virtual | ~CDebugDumpable (void) |
| |
| void | DebugDumpText (ostream &out, const string &bundle, unsigned int depth) const |
| |
| void | DebugDumpFormat (CDebugDumpFormatter &ddf, const string &bundle, unsigned int depth) const |
| |
| void | DumpToConsole (void) const |
| |
|
| static CVariant | BigInt (Int8 *p) |
| |
| static CVariant | BigInt (const CNullable< Int8 > &n) |
| |
| static CVariant | Int (Int4 *p) |
| |
| static CVariant | Int (const CNullable< Int4 > &n) |
| |
| static CVariant | SmallInt (Int2 *p) |
| |
| static CVariant | SmallInt (const CNullable< Int2 > &n) |
| |
| static CVariant | TinyInt (Uint1 *p) |
| |
| static CVariant | TinyInt (const CNullable< Uint1 > &n) |
| |
| static CVariant | Float (float *p) |
| |
| static CVariant | Float (const CNullable< float > &x) |
| |
| static CVariant | Double (double *p) |
| |
| static CVariant | Double (const CNullable< double > &x) |
| |
| static CVariant | Bit (bool *p) |
| |
| static CVariant | Bit (const CNullable< bool > &b) |
| |
| static CVariant | LongChar (const char *p, size_t len=0) |
| |
| static CVariant | LongChar (const CNullable< const TStringUCS2 & > &s, size_t len=0) |
| |
| static CVariant | VarChar (const char *p, size_t len=0) |
| |
| static CVariant | VarChar (const CNullable< const TStringUCS2 & > &s, size_t len=0) |
| |
| static CVariant | VarCharMax (const char *p, size_t len=0) |
| |
| static CVariant | VarCharMax (const CNullable< const TStringUCS2 & > &s, size_t len=0) |
| |
| static CVariant | Char (size_t size, const char *p) |
| |
| static CVariant | Char (size_t size, const CNullable< const TStringUCS2 & > &s) |
| |
| static CVariant | LongBinary (size_t maxSize, const void *p, size_t len) |
| |
| static CVariant | VarBinary (const void *p, size_t len) |
| |
| static CVariant | VarBinaryMax (const void *p, size_t len) |
| |
| static CVariant | Binary (size_t size, const void *p, size_t len) |
| |
| static CVariant | SmallDateTime (CTime *p) |
| |
| static CVariant | SmallDateTime (const CNullable< const CTime & > &t) |
| |
| static CVariant | DateTime (CTime *p) |
| |
| static CVariant | DateTime (const CNullable< const CTime & > &t) |
| |
| static CVariant | BigDateTime (CTime *p, EDateTimeFormat fmt=eLonger) |
| |
| static CVariant | BigDateTime (const CNullable< const CTime & > &t, EDateTimeFormat fmt=eLonger) |
| |
| static CVariant | Numeric (unsigned int precision, unsigned int scale, const char *p) |
| |
| static string | SelectionName (E_Choice index) |
| | Retrieve selection name (for diagnostic purposes). More...
|
| |
| static void | SetVerifyDataThread (ESerialVerifyData verify) |
| |
| static void | SetVerifyDataGlobal (ESerialVerifyData verify) |
| |
| static string | UnassignedString (void) |
| |
| static CStringUTF8 | UnassignedStringUTF8 (void) |
| |
| static char | UnassignedByte (void) |
| |
| static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (void) |
| | Define method to throw null pointer exception. More...
|
| |
| static NCBI_XNCBI_EXPORT void | ThrowNullPointerException (const type_info &type) |
| |
| static EAllocFillMode | GetAllocFillMode (void) |
| |
| static void | SetAllocFillMode (EAllocFillMode mode) |
| |
| static void | SetAllocFillMode (const string &value) |
| | Set mode from configuration parameter value. More...
|
| |
| static void | EnableDebugDump (bool on) |
| |
CVariant –.
Definition at line 98 of file variant.hpp.