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/group__BDB__Types.html below:

NCBI C++ ToolKit: BDB library field types

enum   CBDB_Field::ELengthType { CBDB_Field::eFixedLength , CBDB_Field::eVariableLength }   Length based classificator for fields (fixed-variable) More...
  enum   CBDB_FieldStringBase::EOverflowAction { CBDB_FieldStringBase::eThrowOnOverflow , CBDB_FieldStringBase::eTruncateOnOverflow , CBDB_FieldStringBase::eTruncateOnOverflowLogError }   enum   CBDB_FieldFactory::EType {
  CBDB_FieldFactory::eUnknown , CBDB_FieldFactory::eString , CBDB_FieldFactory::eLString , CBDB_FieldFactory::eInt8 ,
  CBDB_FieldFactory::eInt4 , CBDB_FieldFactory::eUint4 , CBDB_FieldFactory::eInt2 , CBDB_FieldFactory::eUint1 ,
  CBDB_FieldFactory::eFloat , CBDB_FieldFactory::eDouble , CBDB_FieldFactory::eUChar , CBDB_FieldFactory::eBlob
}   int  BDB_UintCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "unsigned int" keys. More...
  int  BDB_Uint4Compare (DB *, const DBT *val1, const DBT *val2)   int  BDB_IntCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "int" keys. More...
  int  BDB_Int4Compare (DB *, const DBT *val1, const DBT *val2)   int  BDB_Int8Compare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "Int8" keys. More...
  int  BDB_Uint8Compare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "Uint8" keys. More...
  int  BDB_Int2Compare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "short int" keys. More...
  int  BDB_Uint2Compare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "unsigned short int" keys. More...
  int  BDB_CharCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "char" keys. More...
  int  BDB_UCharCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "unsigned char" keys. More...
  int  BDB_FloatCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "float" keys. More...
  int  BDB_DoubleCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "double" keys. More...
  int  BDB_StringCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "C string" keys. More...
  int  BDB_LStringCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented length prefixed string keys. More...
  int  BDB_FixedByteStringCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented fixed length string keys. More...
  int  BDB_StringCaseCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "case insensitive C string" keys. More...
  int  BDB_Compare (DB *db, const DBT *val1, const DBT *val2)   General purpose DBD comparison function. More...
  int  BDB_ByteSwap_UintCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "unsigned int" keys. More...
  int  BDB_ByteSwap_Uint4Compare (DB *, const DBT *val1, const DBT *val2)   int  BDB_ByteSwap_Int8Compare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "Int8" keys Used when the data file is in a different byte order architecture. More...
  int  BDB_ByteSwap_Uint8Compare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "Uint8" keys Used when the data file is in a different byte order architecture. More...
  int  BDB_ByteSwap_IntCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "int" keys Used when the data file is in a different byte order architecture. More...
  int  BDB_ByteSwap_Int4Compare (DB *, const DBT *val1, const DBT *val2)   int  BDB_ByteSwap_Int2Compare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "short int" keys Used when the data file is in a different byte order architecture. More...
  int  BDB_ByteSwap_Uint2Compare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "unsigned short int" keys Used when the data file is in a different byte order architecture. More...
  int  BDB_ByteSwap_FloatCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "float" keys Used when the data file is in a different byte order architecture. More...
  int  BDB_ByteSwap_DoubleCompare (DB *, const DBT *val1, const DBT *val2)   Simple and fast comparison function for tables with non-segmented "double" keys Used when the data file is in a different byte order architecture. More...
  unsigned int  BDB_Hash (DB *, const void *bytes, unsigned length)   General purpose hash function. More...
  unsigned int  BDB_Uint4Hash (DB *, const void *bytes, unsigned length)   Hash method for databases with a single (unique) UInt4 key. More...
  virtual  IBDB_Field::~IBDB_Field ()   virtual int  IBDB_Field::Compare (const void *p1, const void *p2, bool byte_swapped) const =0   Comparison function. More...
  virtual size_t  IBDB_Field::GetDataLength (const void *buf) const =0   Return current effective size of the buffer. More...
  virtual void  IBDB_Field::SetMinVal ()=0   Set minimal possible value for the field type. More...
  virtual void  IBDB_Field::SetMaxVal ()=0   Set maximum possible value for the field type. More...
  virtual  IBDB_FieldConvert::~IBDB_FieldConvert ()   virtual void  IBDB_FieldConvert::SetInt (int)   virtual void  IBDB_FieldConvert::SetUint (unsigned)   virtual int  IBDB_FieldConvert::GetInt () const   virtual unsigned  IBDB_FieldConvert::GetUint () const   virtual void  IBDB_FieldConvert::SetString (const char *)   virtual void  IBDB_FieldConvert::SetStdString (const string &)   virtual void  IBDB_FieldConvert::SetFloat (float)   virtual void  IBDB_FieldConvert::SetDouble (double)   virtual string  IBDB_FieldConvert::GetString () const =0   virtual void  IBDB_FieldConvert::ToString (string &str) const =0     CBDB_Field::CBDB_Field (ELengthType length_type=eFixedLength)   virtual  CBDB_Field::~CBDB_Field ()   virtual CBDB_FieldCBDB_Field::Construct (size_t buf_size=0) const =0   Virtual constructor - class factory for BDB fields. More...
  virtual BDB_CompareFunction  CBDB_Field::GetCompareFunction (bool byte_swapped) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
  bool  CBDB_Field::IsNullable () const   Return TRUE if field can be NULL. More...
  void  CBDB_Field::SetNull ()   Assign field value to NULL. More...
  bool  CBDB_Field::IsNull () const   Return TRUE if field is NULL. More...
  const stringCBDB_Field::GetName () const   Return symbolic name for the field. More...
  const void *  CBDB_Field::GetBuffer () const   Get pointer to the data. NULL if not yet attached. More...
  void *  CBDB_Field::GetBuffer ()   Get pointer to the data. NULL if not yet attached. More...
  size_t  CBDB_Field::GetBufferSize () const   Return maximum possible buffer length. More...
  size_t  CBDB_Field::GetLength () const   Get length of the actual data. More...
  int  CBDB_Field::CompareWith (const CBDB_Field &field) const   Field comparison function. More...
  void  CBDB_Field::CopyFrom (const CBDB_Field &src)   Copies field value from another field. More...
  bool  CBDB_Field::IsVariableLength () const   Return TRUE if it is a variable length variable (like string) More...
  bool  CBDB_Field::IsBufferAttached () const   Return TRUE if external buffer has already been attached. More...
  bool  CBDB_Field::IsSameType (const CBDB_Field &field) const   RTTI based check if fld is of the same type. More...
  bool  CBDB_Field::IsByteSwapped () const   Return TRUE if field belongs to a file with an alternative byte order. More...
  void  CBDB_Field::SetNullable ()   Mark field as "NULL" capable. More...
  void  CBDB_Field::SetNotNull ()   Set "is NULL" flag to FALSE. More...
  void  CBDB_Field::SetName (const char *name)   Set symbolic name for the field. More...
  void  CBDB_Field::SetBufferIdx (unsigned int idx)   Set field position in the buffer manager. More...
  void *  CBDB_Field::Unpack ()   Unpack the buffer which contains this field (using CBDB_BufferManager). More...
  void  CBDB_Field::SetBuffer (void *buf, size_t buf_size=0)   Set external buffer pointer and length. More...
  void  CBDB_Field::SetBufferSize (size_t size)   Set the buffer size. More...
  void  CBDB_Field::SetDataSize (size_t size)   Set data size, taking into account possible extra data for some fields. More...
  virtual size_t  CBDB_Field::GetExtraDataLength ()   Hook for defining extra data length. More...
  void  CBDB_Field::SetBufferManager (CBDB_BufferManager *owner)   Set CBDB_BufferManager – which works as a memory manager for BDB fields. More...
  void  CBDB_Field::CopyFrom (const void *src_buf)   Copy buffer value from the external source. More...
  CBDB_FieldCBDB_Field::operator= (const CBDB_Field &data)     CBDB_Field::CBDB_Field (const CBDB_Field &data)     CBDB_FieldSimple< T >::CBDB_FieldSimple ()   void  CBDB_FieldSimple< T >::SetField (const CBDB_FieldSimple &field)   virtual int  CBDB_FieldSimple< T >::Compare (const void *p1, const void *p2, bool) const   Comparison function. More...
  virtual size_t  CBDB_FieldSimple< T >::GetDataLength (const void *) const   Return current effective size of the buffer. More...
    CBDB_FieldSimpleInt< T >::CBDB_FieldSimpleInt ()   void  CBDB_FieldSimpleInt< T >::Set (T val)   virtual void  CBDB_FieldSimpleInt< T >::SetInt (int val)   virtual void  CBDB_FieldSimpleInt< T >::SetUint (unsigned int val)   virtual void  CBDB_FieldSimpleInt< T >::SetString (const char *val)   virtual int  CBDB_FieldSimpleInt< T >::GetInt () const   virtual unsigned  CBDB_FieldSimpleInt< T >::GetUint () const   virtual void  CBDB_FieldSimpleInt< T >::SetStdString (const string &str)   virtual int  CBDB_FieldSimpleInt< T >::Compare (const void *p1, const void *p2, bool byte_swapped) const   Comparison function. More...
  virtual void  CBDB_FieldSimpleInt< T >::SetMinVal ()   Set minimal possible value for the field type. More...
  virtual void  CBDB_FieldSimpleInt< T >::SetMaxVal ()   Set maximum possible value for the field type. More...
    CBDB_FieldSimpleFloat< T >::CBDB_FieldSimpleFloat ()   void  CBDB_FieldSimpleFloat< T >::Set (T val)   virtual void  CBDB_FieldSimpleFloat< T >::SetInt (int val)   virtual void  CBDB_FieldSimpleFloat< T >::SetUint (unsigned int val)   virtual void  CBDB_FieldSimpleFloat< T >::SetString (const char *val)   virtual void  CBDB_FieldSimpleFloat< T >::SetStdString (const string &str)   virtual void  CBDB_FieldSimpleFloat< T >::SetFloat (float val)   virtual void  CBDB_FieldSimpleFloat< T >::SetDouble (double val)   virtual void  CBDB_FieldSimpleFloat< T >::SetMinVal ()   Set minimal possible value for the field type. More...
  virtual void  CBDB_FieldSimpleFloat< T >::SetMaxVal ()   Set maximum possible value for the field type. More...
  CBDB_FieldInt8CBDB_FieldInt8::operator= (Int8 val)   CBDB_FieldInt8CBDB_FieldInt8::operator= (const CBDB_FieldInt8 &val)   virtual CBDB_FieldCBDB_FieldInt8::Construct (size_t) const   Virtual constructor - class factory for BDB fields. More...
  Int8  CBDB_FieldInt8::Get () const   virtual string  CBDB_FieldInt8::GetString () const   virtual void  CBDB_FieldInt8::ToString (string &str) const     CBDB_FieldInt8::operator Int8 () const   virtual BDB_CompareFunction  CBDB_FieldInt8::GetCompareFunction (bool byte_swapped) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
  virtual int  CBDB_FieldInt8::Compare (const void *p1, const void *p2, bool byte_swapped) const   Comparison function. More...
  CBDB_FieldUint8CBDB_FieldUint8::operator= (Uint8 val)   CBDB_FieldUint8CBDB_FieldUint8::operator= (const CBDB_FieldUint8 &val)   virtual CBDB_FieldCBDB_FieldUint8::Construct (size_t) const   Virtual constructor - class factory for BDB fields. More...
  Uint8  CBDB_FieldUint8::Get () const   virtual string  CBDB_FieldUint8::GetString () const   virtual void  CBDB_FieldUint8::ToString (string &str) const     CBDB_FieldUint8::operator Uint8 () const   virtual BDB_CompareFunction  CBDB_FieldUint8::GetCompareFunction (bool byte_swapped) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
  virtual int  CBDB_FieldUint8::Compare (const void *p1, const void *p2, bool byte_swapped) const   Comparison function. More...
  CBDB_FieldInt4CBDB_FieldInt4::operator= (Int4 val)   CBDB_FieldInt4CBDB_FieldInt4::operator= (const CBDB_FieldInt4 &val)   virtual CBDB_FieldCBDB_FieldInt4::Construct (size_t) const   Virtual constructor - class factory for BDB fields. More...
  Int4  CBDB_FieldInt4::Get () const   virtual string  CBDB_FieldInt4::GetString () const   virtual void  CBDB_FieldInt4::ToString (string &str) const     CBDB_FieldInt4::operator Int4 () const   virtual BDB_CompareFunction  CBDB_FieldInt4::GetCompareFunction (bool byte_swapped) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
  virtual int  CBDB_FieldInt4::Compare (const void *p1, const void *p2, bool byte_swapped) const   Comparison function. More...
  CBDB_FieldInt2CBDB_FieldInt2::operator= (Int2 val)   CBDB_FieldInt2CBDB_FieldInt2::operator= (const CBDB_FieldInt2 &val)   virtual CBDB_FieldCBDB_FieldInt2::Construct (size_t) const   Virtual constructor - class factory for BDB fields. More...
  Int2  CBDB_FieldInt2::Get () const   virtual string  CBDB_FieldInt2::GetString () const   virtual void  CBDB_FieldInt2::ToString (string &str) const     CBDB_FieldInt2::operator Int2 () const   virtual BDB_CompareFunction  CBDB_FieldInt2::GetCompareFunction (bool byte_swapped) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
  virtual int  CBDB_FieldInt2::Compare (const void *p1, const void *p2, bool byte_swapped) const   Comparison function. More...
  CBDB_FieldUint2CBDB_FieldUint2::operator= (Uint2 val)   CBDB_FieldUint2CBDB_FieldUint2::operator= (const CBDB_FieldUint2 &val)   virtual CBDB_FieldCBDB_FieldUint2::Construct (size_t) const   Virtual constructor - class factory for BDB fields. More...
  Uint2  CBDB_FieldUint2::Get () const   virtual string  CBDB_FieldUint2::GetString () const   virtual void  CBDB_FieldUint2::ToString (string &str) const     CBDB_FieldUint2::operator Uint2 () const   virtual BDB_CompareFunction  CBDB_FieldUint2::GetCompareFunction (bool byte_swapped) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
  virtual int  CBDB_FieldUint2::Compare (const void *p1, const void *p2, bool byte_swapped) const   Comparison function. More...
  CBDB_FieldUCharCBDB_FieldUChar::operator= (unsigned char val)   CBDB_FieldUCharCBDB_FieldUChar::operator= (const CBDB_FieldUChar &val)   virtual CBDB_FieldCBDB_FieldUChar::Construct (size_t) const   Virtual constructor - class factory for BDB fields. More...
  unsigned char  CBDB_FieldUChar::Get () const     CBDB_FieldUChar::operator char () const   virtual string  CBDB_FieldUChar::GetString () const   virtual void  CBDB_FieldUChar::ToString (string &s) const   virtual BDB_CompareFunction  CBDB_FieldUChar::GetCompareFunction (bool) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
  virtual int  CBDB_FieldUChar::Compare (const void *p1, const void *p2, bool) const   Comparison function. More...
  CBDB_FieldCharCBDB_FieldChar::operator= (char val)   CBDB_FieldCharCBDB_FieldChar::operator= (const CBDB_FieldChar &val)   virtual CBDB_FieldCBDB_FieldChar::Construct (size_t) const   Virtual constructor - class factory for BDB fields. More...
  char  CBDB_FieldChar::Get () const     CBDB_FieldChar::operator char () const   virtual string  CBDB_FieldChar::GetString () const   virtual void  CBDB_FieldChar::ToString (string &s) const   virtual BDB_CompareFunction  CBDB_FieldChar::GetCompareFunction (bool) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
  virtual int  CBDB_FieldChar::Compare (const void *p1, const void *p2, bool) const   Comparison function. More...
  CBDB_FieldInt1CBDB_FieldInt1::operator= (Int1 val)   CBDB_FieldInt1CBDB_FieldInt1::operator= (const CBDB_FieldChar &val)   virtual CBDB_FieldCBDB_FieldInt1::Construct (size_t) const   Virtual constructor - class factory for BDB fields. More...
  virtual string  CBDB_FieldInt1::GetString () const   virtual void  CBDB_FieldInt1::ToString (string &s) const   CBDB_FieldUint1CBDB_FieldUint1::operator= (unsigned char val)   CBDB_FieldUint1CBDB_FieldUint1::operator= (const CBDB_FieldUChar &val)   virtual CBDB_FieldCBDB_FieldUint1::Construct (size_t) const   Virtual constructor - class factory for BDB fields. More...
  virtual string  CBDB_FieldUint1::GetString () const   virtual void  CBDB_FieldUint1::ToString (string &s) const   CBDB_FieldUint4CBDB_FieldUint4::operator= (Uint4 val)   CBDB_FieldUint4CBDB_FieldUint4::operator= (const CBDB_FieldUint4 &val)   virtual CBDB_FieldCBDB_FieldUint4::Construct (size_t) const   Virtual constructor - class factory for BDB fields. More...
  Uint4  CBDB_FieldUint4::Get () const   virtual string  CBDB_FieldUint4::GetString () const   virtual void  CBDB_FieldUint4::ToString (string &str) const     CBDB_FieldUint4::operator Uint4 () const   virtual BDB_CompareFunction  CBDB_FieldUint4::GetCompareFunction (bool byte_swapped) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
  virtual int  CBDB_FieldUint4::Compare (const void *p1, const void *p2, bool byte_swapped) const   Comparison function. More...
  CBDB_FieldFloatCBDB_FieldFloat::operator= (float val)   CBDB_FieldFloatCBDB_FieldFloat::operator= (const CBDB_FieldFloat &val)   virtual CBDB_FieldCBDB_FieldFloat::Construct (size_t) const   Virtual constructor - class factory for BDB fields. More...
  float  CBDB_FieldFloat::Get () const   virtual string  CBDB_FieldFloat::GetString () const   virtual void  CBDB_FieldFloat::ToString (string &str) const     CBDB_FieldFloat::operator float () const   virtual BDB_CompareFunction  CBDB_FieldFloat::GetCompareFunction (bool byte_swapped) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
  virtual int  CBDB_FieldFloat::Compare (const void *p1, const void *p2, bool byte_swapped) const   Comparison function. More...
  CBDB_FieldDoubleCBDB_FieldDouble::operator= (double val)   CBDB_FieldDoubleCBDB_FieldDouble::operator= (const CBDB_FieldDouble &val)   virtual CBDB_FieldCBDB_FieldDouble::Construct (size_t) const   Virtual constructor - class factory for BDB fields. More...
  double  CBDB_FieldDouble::Get () const   virtual string  CBDB_FieldDouble::GetString () const   virtual void  CBDB_FieldDouble::ToString (string &str) const     CBDB_FieldDouble::operator double () const   virtual BDB_CompareFunction  CBDB_FieldDouble::GetCompareFunction (bool byte_swapped) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
  virtual int  CBDB_FieldDouble::Compare (const void *p1, const void *p2, bool byte_swapped) const   Comparison function. More...
    CBDB_FieldFixedByteString::CBDB_FieldFixedByteString ()   virtual CBDB_FieldCBDB_FieldFixedByteString::Construct (size_t buf_size) const   Virtual constructor - class factory for BDB fields. More...
    CBDB_FieldFixedByteString::operator const char * () const   CBDB_FieldFixedByteStringCBDB_FieldFixedByteString::operator= (const CBDB_FieldFixedByteString &str)   void  CBDB_FieldFixedByteString::Set (const char *str)   virtual void  CBDB_FieldFixedByteString::SetString (const char *val)   string  CBDB_FieldFixedByteString::Get () const   virtual string  CBDB_FieldFixedByteString::GetString () const   bool  CBDB_FieldFixedByteString::IsEmpty () const   bool  CBDB_FieldFixedByteString::IsBlank () const   virtual int  CBDB_FieldFixedByteString::Compare (const void *p1, const void *p2, bool) const   Comparison function. More...
  virtual size_t  CBDB_FieldFixedByteString::GetDataLength (const void *buf) const   Return current effective size of the buffer. More...
  virtual void  CBDB_FieldFixedByteString::SetMinVal ()   Set minimal possible value for the field type. More...
  virtual void  CBDB_FieldFixedByteString::SetMaxVal ()   Set maximum possible value for the field type. More...
  virtual void  CBDB_FieldFixedByteString::SetStdString (const string &str)   virtual void  CBDB_FieldFixedByteString::ToString (string &str) const   virtual BDB_CompareFunction  CBDB_FieldFixedByteString::GetCompareFunction (bool) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
    CBDB_FieldStringBase::CBDB_FieldStringBase ()     CBDB_FieldString::CBDB_FieldString ()   virtual CBDB_FieldCBDB_FieldString::Construct (size_t buf_size) const   Class factory for string fields. More...
    CBDB_FieldString::operator const char * () const   CBDB_FieldStringCBDB_FieldString::operator= (const CBDB_FieldString &str)   CBDB_FieldStringCBDB_FieldString::operator= (const char *str)   CBDB_FieldStringCBDB_FieldString::operator= (const string &str)   void  CBDB_FieldString::Set (const char *str, EOverflowAction if_overflow=eThrowOnOverflow)   string  CBDB_FieldString::Get () const   virtual string  CBDB_FieldString::GetString () const   bool  CBDB_FieldString::IsEmpty () const   bool  CBDB_FieldString::IsBlank () const   virtual int  CBDB_FieldString::Compare (const void *p1, const void *p2, bool) const   Comparison function. More...
  virtual size_t  CBDB_FieldString::GetDataLength (const void *buf) const   Return current effective size of the buffer. More...
  virtual void  CBDB_FieldString::SetMinVal ()   Set minimal possible value for the field type. More...
  virtual void  CBDB_FieldString::SetMaxVal ()   Set maximum possible value for the field type. More...
  virtual void  CBDB_FieldString::SetString (const char *)   virtual void  CBDB_FieldString::SetStdString (const string &str)   virtual void  CBDB_FieldString::ToString (string &str) const   virtual BDB_CompareFunction  CBDB_FieldString::GetCompareFunction (bool) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
    CBDB_FieldStringCase::CBDB_FieldStringCase ()   virtual CBDB_FieldCBDB_FieldStringCase::Construct (size_t buf_size) const   Class factory for string fields. More...
    CBDB_FieldStringCase::operator const char * () const   CBDB_FieldStringCaseCBDB_FieldStringCase::operator= (const CBDB_FieldString &str)   CBDB_FieldStringCaseCBDB_FieldStringCase::operator= (const CBDB_FieldStringCase &str)   CBDB_FieldStringCaseCBDB_FieldStringCase::operator= (const char *str)   CBDB_FieldStringCaseCBDB_FieldStringCase::operator= (const string &str)   virtual int  CBDB_FieldStringCase::Compare (const void *p1, const void *p2, bool) const   Comparison function. More...
  virtual BDB_CompareFunction  CBDB_FieldStringCase::GetCompareFunction (bool) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
    CBDB_FieldLString::CBDB_FieldLString ()   virtual CBDB_FieldCBDB_FieldLString::Construct (size_t buf_size) const   Virtual constructor - class factory for BDB fields. More...
    CBDB_FieldLString::operator string () const   CBDB_FieldLStringCBDB_FieldLString::operator= (const CBDB_FieldLString &str)   CBDB_FieldLStringCBDB_FieldLString::operator= (const char *str)   CBDB_FieldLStringCBDB_FieldLString::operator= (const string &str)   void  CBDB_FieldLString::Set (const char *str, EOverflowAction if_overflow=eThrowOnOverflow)   void  CBDB_FieldLString::Set (const char *str, size_t size, EOverflowAction if_overflow=eThrowOnOverflow)   string  CBDB_FieldLString::Get () const   virtual string  CBDB_FieldLString::GetString () const   bool  CBDB_FieldLString::IsEmpty () const   bool  CBDB_FieldLString::IsBlank () const   virtual int  CBDB_FieldLString::Compare (const void *p1, const void *p2, bool) const   Comparison function. More...
  virtual size_t  CBDB_FieldLString::GetDataLength (const void *buf) const   Return current effective size of the buffer. More...
  virtual void  CBDB_FieldLString::SetMinVal ()   Set minimal possible value for the field type. More...
  virtual void  CBDB_FieldLString::SetMaxVal ()   Set maximum possible value for the field type. More...
  virtual void  CBDB_FieldLString::SetString (const char *)   virtual void  CBDB_FieldLString::SetStdString (const string &str)   virtual BDB_CompareFunction  CBDB_FieldLString::GetCompareFunction (bool) const   Return address to the type specific comparison function By default it's universal BDB_Compare. More...
  virtual void  CBDB_FieldLString::ToString (string &str) const   const unsigned char *  CBDB_FieldLString::GetLString (const unsigned char *str, bool check_legacy, int *str_len) const   virtual size_t  CBDB_FieldLString::GetExtraDataLength ()   Hook for defining extra data length. More...
  unsigned int  CBDB_BufferManager::FieldCount () const   Return number of fields attached using function Bind. More...
  const CBDB_FieldCBDB_BufferManager::GetField (unsigned int idx) const   CBDB_FieldCBDB_BufferManager::GetField (unsigned int idx)   int  CBDB_BufferManager::GetFieldIndex (const string &name) const   Find the field with the specified name. More...
  bool  CBDB_BufferManager::IsByteSwapped () const   Return TRUE if buffer is in a non-native byte order. More...
  void  CBDB_BufferManager::SetFieldCompareLimit (unsigned int n_fields)   Sets maximum number of fields participating in comparison Should be less than total number of fields in the buffer. More...
  unsigned int  CBDB_BufferManager::GetFieldCompareLimit () const   Get number of fields in comparison. More...
  bool  CBDB_BufferManager::IsLegacyStrings () const   Return TRUE if buffer l-strings should check about legacy c-str compatibility. More...
  size_t  CBDB_BufferManager::GetDBT_Size () const   Get DBT.size of the parent file (key or data area) (Set by CBDB_File after read) More...
    CBDB_BufferManager::~CBDB_BufferManager ()   bool  CBDB_BufferManager::HasNull () const   Check if any field is NULL. More...
  void  CBDB_BufferManager::CopyFrom (const CBDB_BufferManager &bman)   Copy all fields from another manager with the same(a must!) structure. More...
  void  CBDB_BufferManager::CopyPackedFrom (void *data, size_t data_size)   Copy packed data (buffer) from an external source. More...
    CBDB_BufferManager::CBDB_BufferManager ()   void  CBDB_BufferManager::Construct ()   Create internal data buffer, assign places in this buffer to the fields. More...
  void  CBDB_BufferManager::SetMinVal (unsigned int idx_from, unsigned int idx_to)   Set minimum possible value to buffer fields from 'idx_from' to 'idx_to'. More...
  void  CBDB_BufferManager::SetMaxVal (unsigned int idx_from, unsigned int idx_to)   Set maximum possible value to buffer fields from 'idx_from' to 'idx_to'. More...
  void  CBDB_BufferManager::Bind (CBDB_Field *field, ENullable is_nullable=eNotNullable)   Attach 'field' to the buffer. More...
  void  CBDB_BufferManager::CopyFieldsFrom (const CBDB_BufferManager &buf_mgr)   Copy all field values from the 'buf_mgr'. More...
  void  CBDB_BufferManager::DuplicateStructureFrom (const CBDB_BufferManager &buf_mgr)   Duplicate (dynamic allocation is used) all fields from 'buf_mgr' and bind them to the this buffer manager. More...
  int  CBDB_BufferManager::Compare (const CBDB_BufferManager &buf_mgr, unsigned int n_fields=0) const   Compare fields of this buffer with those of 'buf_mgr' using CBDB_Field::CompareWith(). More...
  bool  CBDB_BufferManager::IsPackable () const   Return TRUE if any field bound to this buffer manager has variable length (i.e. More...
  void  CBDB_BufferManager::CheckNullConstraint () const   Check if all NOT NULLABLE fields were assigned. More...
  void  CBDB_BufferManager::ArrangePtrsUnpacked ()   void  CBDB_BufferManager::ArrangePtrsPacked ()   void  CBDB_BufferManager::Clear ()   unsigned  CBDB_BufferManager::Pack ()   unsigned  CBDB_BufferManager::Unpack ()   void  CBDB_BufferManager::PrepareDBT_ForWrite (DBT *dbt)   Pack the buffer and initialize DBT structure for write operation. More...
  void  CBDB_BufferManager::PrepareDBT_ForRead (DBT *dbt)   Initialize DBT structure for read operation. More...
  size_t  CBDB_BufferManager::ComputeBufferSize () const   Calculate buffer size. More...
  bool  CBDB_BufferManager::IsNullable () const   Return TRUE if buffer can carry NULL fields. More...
  void  CBDB_BufferManager::SetByteSwapped (bool byte_swapped)   Set byte swapping flag for the buffer. More...
  void  CBDB_BufferManager::SetNullable ()   Mark buffer as "NULL fields ready". More...
  void  CBDB_BufferManager::SetNull (unsigned int field_idx, bool value)   bool  CBDB_BufferManager::IsNull (unsigned int field_idx) const   size_t  CBDB_BufferManager::ComputeNullSetSize () const   bool  CBDB_BufferManager::TestNullBit (unsigned int idx) const   void  CBDB_BufferManager::SetNullBit (unsigned int idx, bool value)   void  CBDB_BufferManager::SetAllNull ()   BDB_CompareFunction  CBDB_BufferManager::GetCompareFunction () const   Return buffer compare function. More...
  BDB_HashFunction  CBDB_BufferManager::GetHashFunction () const   Return buffer hash function. More...
  void  CBDB_BufferManager::SetLegacyStringsCheck (bool value)   Set C-str detection. More...
  void  CBDB_BufferManager::SetDBT_Size (size_t size)   void  CBDB_BufferManager::SetFieldOwnership (bool own_fields)   Fields deletion is managed by the class when own_fields is TRUE. More...
  bool  CBDB_BufferManager::IsOwnFields () const   Return fields ownership flag. More...
  void  CBDB_BufferManager::SetPackable (bool packable)   Disable-enable packing. More...
  void  CBDB_BufferManager::x_ComputePackOpt ()     CBDB_BufferManager::CBDB_BufferManager (const CBDB_BufferManager &)   CBDB_BufferManagerCBDB_BufferManager::operator= (const CBDB_BufferManager &)     CBDB_FieldFactory::CBDB_FieldFactory ()   EType  CBDB_FieldFactory::GetType (const string &type) const   Return type enumerator by string type (case insensitive) More...
  CBDB_FieldCBDB_FieldFactory::Create (EType type) const   CBDB_FieldCBDB_FieldFactory::Create (const string &type) const   Create field type by string. More...
  void  DeleteFields (CBDB_BufferManager &buf)   ◆ CParent ◆ TFieldType [1/13] ◆ TFieldType [2/13] ◆ TFieldType [3/13] ◆ TFieldType [4/13] ◆ TFieldType [5/13] ◆ TFieldType [6/13] ◆ TFieldType [7/13] ◆ TFieldType [8/13] ◆ TFieldType [9/13] ◆ TFieldType [10/13] ◆ TFieldType [11/13] ◆ TFieldType [12/13] ◆ TFieldType [13/13] ◆ TFieldVector ◆ TType [1/12] ◆ TType [2/12] ◆ TType [3/12] ◆ TType [4/12] ◆ TType [5/12] ◆ TType [6/12] ◆ TType [7/12] ◆ TType [8/12] ◆ TType [9/12] ◆ TType [10/12] ◆ TType [11/12] ◆ TType [12/12] ◆ ELengthType

Length based classificator for fields (fixed-variable)

Enumerator eFixedLength 

fixed-length (like int)

eVariableLength 

variable-length (like string)

Definition at line 300 of file bdb_types.hpp.

◆ EOverflowAction Enumerator eThrowOnOverflow  eTruncateOnOverflow  eTruncateOnOverflowLogError 

Definition at line 1574 of file bdb_types.hpp.

◆ EType Enumerator eUnknown  eString  eLString  eInt8  eInt4  eUint4  eInt2  eUint1  eFloat  eDouble  eUChar  eBlob 

Definition at line 1963 of file bdb_types.hpp.

◆ ArrangePtrsPacked() void CBDB_BufferManager::ArrangePtrsPacked ( ) protected ◆ ArrangePtrsUnpacked() void CBDB_BufferManager::ArrangePtrsUnpacked ( ) inlineprotected ◆ BDB_ByteSwap_DoubleCompare() ◆ BDB_ByteSwap_FloatCompare() ◆ BDB_ByteSwap_Int2Compare() ◆ BDB_ByteSwap_Int4Compare() ◆ BDB_ByteSwap_Int8Compare() ◆ BDB_ByteSwap_IntCompare()

Simple and fast comparison function for tables with non-segmented "int" keys Used when the data file is in a different byte order architecture.

Definition at line 377 of file bdb_types.cpp.

References BDB_ByteSwap_Int4Compare().

◆ BDB_ByteSwap_Uint2Compare() ◆ BDB_ByteSwap_Uint4Compare() ◆ BDB_ByteSwap_Uint8Compare() ◆ BDB_ByteSwap_UintCompare()

Simple and fast comparison function for tables with non-segmented "unsigned int" keys.

Used when the data file is in a different byte order architecture.

Definition at line 345 of file bdb_types.cpp.

References BDB_ByteSwap_Uint4Compare().

◆ BDB_CharCompare() ◆ BDB_Compare() ◆ BDB_DoubleCompare() ◆ BDB_FixedByteStringCompare() ◆ BDB_FloatCompare() ◆ BDB_Hash() unsigned int BDB_Hash ( DB *  , const void *  bytes, unsigned  length  ) ◆ BDB_Int2Compare() ◆ BDB_Int4Compare() ◆ BDB_Int8Compare() ◆ BDB_IntCompare() ◆ BDB_LStringCompare() ◆ BDB_StringCaseCompare() ◆ BDB_StringCompare() ◆ BDB_UCharCompare() ◆ BDB_Uint2Compare() ◆ BDB_Uint4Compare() ◆ BDB_Uint4Hash() unsigned int BDB_Uint4Hash ( DBdb, const void *  bytes, unsigned  length  ) ◆ BDB_Uint8Compare() ◆ BDB_UintCompare() ◆ Bind() ◆ CBDB_BufferManager() [1/2] CBDB_BufferManager::CBDB_BufferManager ( ) protected

Definition at line 476 of file bdb_types.cpp.

◆ CBDB_BufferManager() [2/2] ◆ CBDB_Field() [1/2] ◆ CBDB_Field() [2/2] ◆ CBDB_FieldFactory() CBDB_FieldFactory::CBDB_FieldFactory ( )

Definition at line 1163 of file bdb_types.cpp.

◆ CBDB_FieldFixedByteString() CBDB_FieldFixedByteString::CBDB_FieldFixedByteString ( ) ◆ CBDB_FieldLString() CBDB_FieldLString::CBDB_FieldLString ( ) ◆ CBDB_FieldSimple() ◆ CBDB_FieldSimpleFloat() ◆ CBDB_FieldSimpleInt() ◆ CBDB_FieldString() CBDB_FieldString::CBDB_FieldString ( ) inline ◆ CBDB_FieldStringBase() CBDB_FieldStringBase::CBDB_FieldStringBase ( ) inlineprotected

Definition at line 1581 of file bdb_types.hpp.

◆ CBDB_FieldStringCase() CBDB_FieldStringCase::CBDB_FieldStringCase ( ) inlineexplicit ◆ CheckNullConstraint() void CBDB_BufferManager::CheckNullConstraint ( ) const protected ◆ Clear() void CBDB_BufferManager::Clear ( void  ) inlineprotected ◆ Compare() [1/18] ◆ Compare() [2/18]

Comparison function.

p1 and p2 are void pointers on field buffers. Positive if p1>p2, zero if p1==p2, negative if p1<p2. NOTE: both buffers can be unaligned. byte_swapped TRUE indicates that buffers values are in a different byte order architecture

Reimplemented from CBDB_FieldSimple< T >.

Reimplemented in CBDB_FieldChar, CBDB_FieldUChar, CBDB_FieldUint4, CBDB_FieldUint2, CBDB_FieldInt2, CBDB_FieldInt4, CBDB_FieldUint8, and CBDB_FieldInt8.

Definition at line 564 of file bdb_types.hpp.

Referenced by CBDB_FieldInt8::Compare(), CBDB_FieldUint8::Compare(), CBDB_FieldInt4::Compare(), CBDB_FieldInt2::Compare(), CBDB_FieldUint2::Compare(), and CBDB_FieldUint4::Compare().

◆ Compare() [3/18] virtual int CBDB_FieldInt8::Compare ( const void *  p1, const void *  p2, bool  byte_swapped  ) const inlinevirtual ◆ Compare() [4/18] virtual int CBDB_FieldUint8::Compare ( const void *  p1, const void *  p2, bool  byte_swapped  ) const inlinevirtual ◆ Compare() [5/18] virtual int CBDB_FieldInt4::Compare ( const void *  p1, const void *  p2, bool  byte_swapped  ) const inlinevirtual ◆ Compare() [6/18] virtual int CBDB_FieldInt2::Compare ( const void *  p1, const void *  p2, bool  byte_swapped  ) const inlinevirtual ◆ Compare() [7/18] virtual int CBDB_FieldUint2::Compare ( const void *  p1, const void *  p2, bool  byte_swapped  ) const inlinevirtual ◆ Compare() [8/18] virtual int CBDB_FieldUint4::Compare ( const void *  p1, const void *  p2, bool  byte_swapped  ) const inlinevirtual ◆ Compare() [9/18] virtual int CBDB_FieldFloat::Compare ( const void *  p1, const void *  p2, bool    ) const inlinevirtual ◆ Compare() [10/18] virtual int CBDB_FieldDouble::Compare ( const void *  p1, const void *  p2, bool    ) const inlinevirtual ◆ Compare() [11/18] virtual int IBDB_Field::Compare ( const void *  p1, const void *  p2, bool  byte_swapped  ) const pure virtual

Comparison function.

p1 and p2 are void pointers on field buffers. Positive if p1>p2, zero if p1==p2, negative if p1<p2. NOTE: both buffers can be unaligned. byte_swapped TRUE indicates that buffers values are in a different byte order architecture

Implemented in CBDB_FieldLString, CBDB_FieldStringCase, CBDB_FieldString, CBDB_FieldFixedByteString, CBDB_FieldChar, CBDB_FieldUChar, CBDB_FieldSimple< T >, CBDB_FieldSimple< double >, CBDB_FieldSimple< float >, CBDB_FieldSimple< Uint8 >, CBDB_FieldSimple< unsigned char >, CBDB_FieldSimple< Int4 >, CBDB_FieldSimple< Int2 >, CBDB_FieldSimple< char >, CBDB_FieldSimple< Uint4 >, CBDB_FieldSimple< Int8 >, CBDB_FieldSimple< Uint2 >, CBDB_FieldDouble, CBDB_FieldFloat, CBDB_FieldUint4, CBDB_FieldUint2, CBDB_FieldInt2, CBDB_FieldInt4, CBDB_FieldUint8, CBDB_FieldInt8, CBDB_FieldSimpleInt< T >, CBDB_FieldSimpleInt< Uint8 >, CBDB_FieldSimpleInt< unsigned char >, CBDB_FieldSimpleInt< Int4 >, CBDB_FieldSimpleInt< Int2 >, CBDB_FieldSimpleInt< char >, CBDB_FieldSimpleInt< Uint4 >, CBDB_FieldSimpleInt< Int8 >, and CBDB_FieldSimpleInt< Uint2 >.

Referenced by BDB_Compare(), and CBDB_Field::CompareWith().

◆ Compare() [12/18]

Comparison function.

p1 and p2 are void pointers on field buffers. Positive if p1>p2, zero if p1==p2, negative if p1<p2. NOTE: both buffers can be unaligned. byte_swapped TRUE indicates that buffers values are in a different byte order architecture

Implements IBDB_Field.

Reimplemented in CBDB_FieldChar, CBDB_FieldUChar, CBDB_FieldDouble, CBDB_FieldFloat, CBDB_FieldUint4, CBDB_FieldUint2, CBDB_FieldInt2, CBDB_FieldInt4, CBDB_FieldUint8, CBDB_FieldInt8, CBDB_FieldSimpleInt< T >, CBDB_FieldSimpleInt< Uint8 >, CBDB_FieldSimpleInt< unsigned char >, CBDB_FieldSimpleInt< Int4 >, CBDB_FieldSimpleInt< Int2 >, CBDB_FieldSimpleInt< char >, CBDB_FieldSimpleInt< Uint4 >, CBDB_FieldSimpleInt< Int8 >, and CBDB_FieldSimpleInt< Uint2 >.

Definition at line 457 of file bdb_types.hpp.

Referenced by CBDB_FieldSimpleInt< Uint2 >::Compare(), CBDB_FieldFloat::Compare(), and CBDB_FieldDouble::Compare().

◆ Compare() [13/18] virtual int CBDB_FieldUChar::Compare ( const void *  p1, const void *  p2, bool  byte_swapped  ) const inlinevirtual

Comparison function.

p1 and p2 are void pointers on field buffers. Positive if p1>p2, zero if p1==p2, negative if p1<p2. NOTE: both buffers can be unaligned. byte_swapped TRUE indicates that buffers values are in a different byte order architecture

Reimplemented from CBDB_FieldSimpleInt< unsigned char >.

Definition at line 1124 of file bdb_types.hpp.

◆ Compare() [14/18] virtual int CBDB_FieldChar::Compare ( const void *  p1, const void *  p2, bool  byte_swapped  ) const inlinevirtual

Comparison function.

p1 and p2 are void pointers on field buffers. Positive if p1>p2, zero if p1==p2, negative if p1<p2. NOTE: both buffers can be unaligned. byte_swapped TRUE indicates that buffers values are in a different byte order architecture

Reimplemented from CBDB_FieldSimpleInt< char >.

Definition at line 1182 of file bdb_types.hpp.

◆ Compare() [15/18] int CBDB_FieldFixedByteString::Compare ( const void *  p1, const void *  p2, bool  byte_swapped  ) const inlinevirtual

Comparison function.

p1 and p2 are void pointers on field buffers. Positive if p1>p2, zero if p1==p2, negative if p1<p2. NOTE: both buffers can be unaligned. byte_swapped TRUE indicates that buffers values are in a different byte order architecture

Implements IBDB_Field.

Definition at line 2334 of file bdb_types.hpp.

References CBDB_Field::GetBufferSize().

◆ Compare() [16/18] int CBDB_FieldString::Compare ( const void *  p1, const void *  p2, bool  byte_swapped  ) const inlinevirtual

Comparison function.

p1 and p2 are void pointers on field buffers. Positive if p1>p2, zero if p1==p2, negative if p1<p2. NOTE: both buffers can be unaligned. byte_swapped TRUE indicates that buffers values are in a different byte order architecture

Implements IBDB_Field.

Reimplemented in CBDB_FieldStringCase.

Definition at line 2445 of file bdb_types.hpp.

References _ASSERT, and util::strcmp().

◆ Compare() [17/18] virtual int CBDB_FieldStringCase::Compare ( const void *  p1, const void *  p2, bool  byte_swapped  ) const inlinevirtual

Comparison function.

p1 and p2 are void pointers on field buffers. Positive if p1>p2, zero if p1==p2, negative if p1<p2. NOTE: both buffers can be unaligned. byte_swapped TRUE indicates that buffers values are in a different byte order architecture

Reimplemented from CBDB_FieldString.

Definition at line 1687 of file bdb_types.hpp.

References _ASSERT, and NStr::CompareNocase().

◆ Compare() [18/18] int CBDB_FieldLString::Compare ( const void *  p1, const void *  p2, bool  byte_swapped  ) const virtual ◆ CompareWith() ◆ ComputeBufferSize() size_t CBDB_BufferManager::ComputeBufferSize ( ) const protected ◆ ComputeNullSetSize() size_t CBDB_BufferManager::ComputeNullSetSize ( ) const inlineprotected ◆ Construct() [1/18] void CBDB_BufferManager::Construct ( ) protected

Create internal data buffer, assign places in this buffer to the fields.

Definition at line 567 of file bdb_types.cpp.

References _ASSERT, CBDB_BufferManager::ComputeBufferSize(), CBDB_BufferManager::ComputeNullSetSize(), df(), i, CBDB_BufferManager::IsNullable(), CBDB_BufferManager::m_Buffer, CBDB_BufferManager::m_BufferSize, CBDB_BufferManager::m_Fields, CBDB_BufferManager::m_NullSetSize, CBDB_BufferManager::m_PackedSize, and CBDB_BufferManager::m_Ptrs.

Referenced by CBDB_FC_Condition::CBDB_FC_Condition().

◆ Construct() [2/18] virtual CBDB_Field* CBDB_FieldFixedByteString::Construct ( size_t  buf_size ) const inlinevirtual ◆ Construct() [3/18] virtual CBDB_Field* CBDB_FieldString::Construct ( size_t  buf_size ) const inlinevirtual ◆ Construct() [4/18] virtual CBDB_Field* CBDB_FieldStringCase::Construct ( size_t  buf_size ) const inlinevirtual ◆ Construct() [5/18] CBDB_Field * CBDB_FieldLString::Construct ( size_t  buf_size ) const virtual ◆ Construct() [6/18] virtual CBDB_Field* CBDB_Field::Construct ( size_t  buf_size = 0 ) const pure virtual

Virtual constructor - class factory for BDB fields.

Default (zero) value of 'buf-len' uses GetBufferSize(). For fixed length fields this buf_size parameter has no effect

Implemented in CBDB_FieldDouble, CBDB_FieldFloat, CBDB_FieldUint4, CBDB_FieldUint1, CBDB_FieldInt1, CBDB_FieldChar, CBDB_FieldUChar, CBDB_FieldUint2, CBDB_FieldInt2, CBDB_FieldInt4, CBDB_FieldUint8, CBDB_FieldInt8, CBDB_FieldLString, CBDB_FieldStringCase, CBDB_FieldString, and CBDB_FieldFixedByteString.

Referenced by CBDB_BufferManager::DuplicateStructureFrom().

◆ Construct() [7/18] virtual CBDB_Field* CBDB_FieldInt8::Construct ( size_t  buf_size ) const inlinevirtual

Virtual constructor - class factory for BDB fields.

Default (zero) value of 'buf-len' uses GetBufferSize(). For fixed length fields this buf_size parameter has no effect

Implements CBDB_Field.

Definition at line 673 of file bdb_types.hpp.

◆ Construct() [8/18] virtual CBDB_Field* CBDB_FieldUint8::Construct ( size_t  buf_size ) const inlinevirtual

Virtual constructor - class factory for BDB fields.

Default (zero) value of 'buf-len' uses GetBufferSize(). For fixed length fields this buf_size parameter has no effect

Implements CBDB_Field.

Definition at line 757 of file bdb_types.hpp.

◆ Construct() [9/18] virtual CBDB_Field* CBDB_FieldInt4::Construct ( size_t  buf_size ) const inlinevirtual

Virtual constructor - class factory for BDB fields.

Default (zero) value of 'buf-len' uses GetBufferSize(). For fixed length fields this buf_size parameter has no effect

Implements CBDB_Field.

Definition at line 841 of file bdb_types.hpp.

◆ Construct() [10/18] virtual CBDB_Field* CBDB_FieldInt2::Construct ( size_t  buf_size ) const inlinevirtual

Virtual constructor - class factory for BDB fields.

Default (zero) value of 'buf-len' uses GetBufferSize(). For fixed length fields this buf_size parameter has no effect

Implements CBDB_Field.

Definition at line 925 of file bdb_types.hpp.

◆ Construct() [11/18] virtual CBDB_Field* CBDB_FieldUint2::Construct ( size_t  buf_size ) const inlinevirtual

Virtual constructor - class factory for BDB fields.

Default (zero) value of 'buf-len' uses GetBufferSize(). For fixed length fields this buf_size parameter has no effect

Implements CBDB_Field.

Definition at line 1009 of file bdb_types.hpp.

◆ Construct() [12/18] virtual CBDB_Field* CBDB_FieldUChar::Construct ( size_t  buf_size ) const inlinevirtual ◆ Construct() [13/18] virtual CBDB_Field* CBDB_FieldChar::Construct ( size_t  buf_size ) const inlinevirtual ◆ Construct() [14/18] virtual CBDB_Field* CBDB_FieldInt1::Construct ( size_t  buf_size ) const inlinevirtual

Virtual constructor - class factory for BDB fields.

Default (zero) value of 'buf-len' uses GetBufferSize(). For fixed length fields this buf_size parameter has no effect

Reimplemented from CBDB_FieldChar.

Definition at line 1211 of file bdb_types.hpp.

◆ Construct() [15/18] virtual CBDB_Field* CBDB_FieldUint1::Construct ( size_t  buf_size ) const inlinevirtual

Virtual constructor - class factory for BDB fields.

Default (zero) value of 'buf-len' uses GetBufferSize(). For fixed length fields this buf_size parameter has no effect

Reimplemented from CBDB_FieldUChar.

Definition at line 1246 of file bdb_types.hpp.

◆ Construct() [16/18] virtual CBDB_Field* CBDB_FieldUint4::Construct ( size_t  buf_size ) const inlinevirtual

Virtual constructor - class factory for BDB fields.

Default (zero) value of 'buf-len' uses GetBufferSize(). For fixed length fields this buf_size parameter has no effect

Implements CBDB_Field.

Definition at line 1281 of file bdb_types.hpp.

◆ Construct() [17/18] virtual CBDB_Field* CBDB_FieldFloat::Construct ( size_t  buf_size ) const inlinevirtual

Virtual constructor - class factory for BDB fields.

Default (zero) value of 'buf-len' uses GetBufferSize(). For fixed length fields this buf_size parameter has no effect

Implements CBDB_Field.

Definition at line 1366 of file bdb_types.hpp.

◆ Construct() [18/18] virtual CBDB_Field* CBDB_FieldDouble::Construct ( size_t  buf_size ) const inlinevirtual

Virtual constructor - class factory for BDB fields.

Default (zero) value of 'buf-len' uses GetBufferSize(). For fixed length fields this buf_size parameter has no effect

Implements CBDB_Field.

Definition at line 1450 of file bdb_types.hpp.

◆ CopyFieldsFrom() ◆ CopyFrom() [1/3] ◆ CopyFrom() [2/3] ◆ CopyFrom() [3/3] void CBDB_Field::CopyFrom ( const void *  src_buf ) inlineprotected ◆ CopyPackedFrom() void CBDB_BufferManager::CopyPackedFrom ( void *  data, size_t  data_size  ) ◆ Create() [1/2] ◆ Create() [2/2]

Definition at line 1208 of file bdb_types.cpp.

References BDB_THROW, CBDB_FieldFactory::eDouble, CBDB_FieldFactory::eFloat, CBDB_FieldFactory::eInt2, CBDB_FieldFactory::eInt4, CBDB_FieldFactory::eInt8, CBDB_FieldFactory::eLString, CBDB_FieldFactory::eString, CBDB_FieldFactory::eUChar, and CBDB_FieldFactory::eUint1.

Referenced by CBDB_FieldFactory::Create(), and CBDB_FileDumperApp::Dump().

◆ DeleteFields() ◆ DuplicateStructureFrom()

Duplicate (dynamic allocation is used) all fields from 'buf_mgr' and bind them to the this buffer manager.

Field values are not copied. NOTE: CBDB_BufferManager does not own or deallocate fields, caller is responsible for deallocation, unless field ownership is set to TRUE

Definition at line 777 of file bdb_types.cpp.

References _ASSERT, CBDB_BufferManager::Bind(), CBDB_Field::Construct(), CBDB_BufferManager::FieldCount(), CBDB_BufferManager::GetField(), CBDB_Field::GetName(), i, CBDB_BufferManager::IsLegacyStrings(), and CBDB_BufferManager::m_LegacyString.

Referenced by CBDB_FC_Condition::CBDB_FC_Condition().

◆ FieldCount() unsigned int CBDB_BufferManager::FieldCount ( ) const inline

Return number of fields attached using function Bind.

Definition at line 2529 of file bdb_types.hpp.

References CBDB_BufferManager::m_Fields.

Referenced by BDB_Compare(), BDB_find_field(), CBDB_BufferManager::Compare(), CBDB_BufferManager::ComputeNullSetSize(), CBDB_BufferManager::CopyFieldsFrom(), CBDB_FileDumperApp::Dump(), CBDB_BufferManager::DuplicateStructureFrom(), CBDB_FC_Condition::GetUnassignedField(), CBDB_FC_Condition::IncFieldsAssigned(), CBDB_FC_Condition::InitUnassignedFields(), CBDB_FC_Condition::IsComplete(), CBDB_BufferManager::SetMaxVal(), CBDB_BufferManager::SetMinVal(), CBDB_FileDumper::x_DumpFields(), and CBDB_FileDumper::x_SetQuoteFlags().

◆ Get() [1/13] Int8 CBDB_FieldInt8::Get ( void  ) const inline ◆ Get() [2/13] Uint8 CBDB_FieldUint8::Get ( void  ) const inline ◆ Get() [3/13] Int4 CBDB_FieldInt4::Get ( void  ) const inline

Definition at line 846 of file bdb_types.hpp.

References _ASSERT, b, CBDB_Field::GetBuffer(), CByteSwap::GetInt4(), CBDB_Field::IsByteSwapped(), and CBDB_Field::IsNull().

Referenced by BDB_get_rowid(), CBDB_FieldInt4::GetString(), CBDB_FieldInt4::operator Int4(), PrintRecord(), SearchPhoneBook(), and CBDB_FieldInt4::ToString().

◆ Get() [4/13] Int2 CBDB_FieldInt2::Get ( void  ) const inline ◆ Get() [5/13] Uint2 CBDB_FieldUint2::Get ( void  ) const inline ◆ Get() [6/13] unsigned char CBDB_FieldUChar::Get ( void  ) const inline ◆ Get() [7/13] char CBDB_FieldChar::Get ( void  ) const inline ◆ Get() [8/13] Uint4 CBDB_FieldUint4::Get ( void  ) const inline ◆ Get() [9/13] float CBDB_FieldFloat::Get ( void  ) const inline ◆ Get() [10/13] double CBDB_FieldDouble::Get ( void  ) const inline ◆ Get() [11/13] string CBDB_FieldFixedByteString::Get ( void  ) const inline ◆ Get() [12/13] string CBDB_FieldString::Get ( void  ) const inline ◆ Get() [13/13] string CBDB_FieldLString::Get ( void  ) const ◆ GetBuffer() [1/2] void * CBDB_Field::GetBuffer ( void  ) inline ◆ GetBuffer() [2/2] const void * CBDB_Field::GetBuffer ( void  ) const inline

Get pointer to the data. NULL if not yet attached.

Definition at line 2213 of file bdb_types.hpp.

References CBDB_Field::m_Buffer.

Referenced by BDB_GetStringFieldBuf(), CBDB_Field::CompareWith(), CBDB_Field::CopyFrom(), CBDB_MergeBlobWalkerAsync< BF >::DoFetch(), CBDB_MergeBlobWalker< BF >::Fetch(), CBDB_MergeBlobWalkerAsync< BF >::Fetch(), CBDB_FieldInt8::Get(), CBDB_FieldUint8::Get(), CBDB_FieldInt4::Get(), CBDB_FieldInt2::Get(), CBDB_FieldUint2::Get(), CBDB_FieldUChar::Get(), CBDB_FieldChar::Get(), CBDB_FieldUint4::Get(), CBDB_FieldFloat::Get(), CBDB_FieldDouble::Get(), CBDB_FieldFixedByteString::Get(), CBDB_FieldString::Get(), CBDB_FieldLString::Get(), CBDB_FieldSimpleInt< Uint2 >::GetInt(), CBDB_FieldSimpleInt< Uint2 >::GetUint(), CBDB_FieldString::IsBlank(), CBDB_FieldLString::IsBlank(), CBDB_FieldString::IsEmpty(), CBDB_FieldLString::IsEmpty(), CBDB_FieldStringCase::operator const char *(), CBDB_FieldFixedByteString::operator=(), CBDB_FieldLString::operator=(), CBDB_FieldString::operator=(), CBDB_FieldFixedByteString::Set(), CBDB_FieldString::Set(), CBDB_FieldLString::Set(), CBDB_FieldSimpleFloat< float >::Set(), CBDB_FieldSimpleInt< Uint2 >::Set(), CBDB_FieldSimple< Uint2 >::SetField(), CBDB_FieldFixedByteString::ToString(), CBDB_FieldString::ToString(), CBDB_FieldLString::ToString(), and CBDB_Field::Unpack().

◆ GetBufferSize() size_t CBDB_Field::GetBufferSize ( ) const inline

Return maximum possible buffer length.

Definition at line 2134 of file bdb_types.hpp.

References CBDB_Field::m_BufferSize.

Referenced by CBDB_FieldFixedByteString::Compare(), CBDB_BufferManager::ComputeBufferSize(), CBDB_FieldFixedByteString::Construct(), CBDB_FieldString::Construct(), CBDB_FieldStringCase::Construct(), CBDB_FieldLString::Construct(), CBDB_Field::CopyFrom(), CBDB_FieldFixedByteString::Get(), CBDB_FieldFixedByteString::GetDataLength(), CBDB_FieldFixedByteString::operator=(), CBDB_FieldLString::operator=(), CBDB_FieldString::operator=(), CBDB_FieldFixedByteString::Set(), CBDB_FieldString::Set(), CBDB_FieldLString::Set(), CBDB_FieldFixedByteString::SetMaxVal(), CBDB_FieldString::SetMaxVal(), CBDB_FieldLString::SetMaxVal(), CBDB_FieldFixedByteString::SetMinVal(), CBDB_FieldFixedByteString::SetStdString(), CBDB_FieldLString::SetStdString(), and CBDB_FieldFixedByteString::ToString().

◆ GetCompareFunction() [1/16] ◆ GetCompareFunction() [2/16]

Return address to the type specific comparison function By default it's universal BDB_Compare.

Reimplemented in CBDB_FieldLString, CBDB_FieldStringCase, CBDB_FieldString, CBDB_FieldFixedByteString, CBDB_FieldChar, CBDB_FieldUChar, CBDB_FieldDouble, CBDB_FieldFloat, CBDB_FieldUint4, CBDB_FieldUint2, CBDB_FieldInt2, CBDB_FieldInt4, CBDB_FieldUint8, and CBDB_FieldInt8.

Definition at line 459 of file bdb_types.cpp.

References BDB_Compare().

◆ GetCompareFunction() [3/16] ◆ GetCompareFunction() [4/16] ◆ GetCompareFunction() [5/16] ◆ GetCompareFunction() [6/16] ◆ GetCompareFunction() [7/16] ◆ GetCompareFunction() [8/16] ◆ GetCompareFunction() [9/16] ◆ GetCompareFunction() [10/16] ◆ GetCompareFunction() [11/16] ◆ GetCompareFunction() [12/16] ◆ GetCompareFunction() [13/16] ◆ GetCompareFunction() [14/16] ◆ GetCompareFunction() [15/16] ◆ GetCompareFunction() [16/16] ◆ GetDataLength() [1/5] ◆ GetDataLength() [2/5] size_t CBDB_FieldFixedByteString::GetDataLength ( const void *  buf ) const inlinevirtual ◆ GetDataLength() [3/5] size_t CBDB_FieldString::GetDataLength ( const void *  buf ) const inlinevirtual ◆ GetDataLength() [4/5] size_t CBDB_FieldLString::GetDataLength ( const void *  buf ) const virtual ◆ GetDataLength() [5/5] virtual size_t IBDB_Field::GetDataLength ( const void *  buf ) const pure virtual

Return current effective size of the buffer.

Implemented in CBDB_FieldLString, CBDB_FieldString, CBDB_FieldFixedByteString, CBDB_FieldSimple< T >, CBDB_FieldSimple< double >, CBDB_FieldSimple< float >, CBDB_FieldSimple< Uint8 >, CBDB_FieldSimple< unsigned char >, CBDB_FieldSimple< Int4 >, CBDB_FieldSimple< Int2 >, CBDB_FieldSimple< char >, CBDB_FieldSimple< Uint4 >, CBDB_FieldSimple< Int8 >, and CBDB_FieldSimple< Uint2 >.

Referenced by BDB_Compare(), BDB_find_field(), CBDB_Field::CopyFrom(), and CBDB_Field::GetLength().

◆ GetDBT_Size() size_t CBDB_BufferManager::GetDBT_Size ( ) const inline ◆ GetExtraDataLength() [1/2] size_t CBDB_Field::GetExtraDataLength ( ) protectedvirtual ◆ GetExtraDataLength() [2/2] size_t CBDB_FieldLString::GetExtraDataLength ( ) protectedvirtual ◆ GetField() [1/2] ◆ GetField() [2/2]

Definition at line 2517 of file bdb_types.hpp.

References CBDB_BufferManager::m_Fields, and n.

Referenced by CBDB_BufferManager::ArrangePtrsUnpacked(), BDB_Compare(), BDB_find_field(), BDB_get_rowid(), CBDB_BufferManager::Compare(), CBDB_BufferManager::CopyFieldsFrom(), CBDB_MergeBlobWalkerAsync< BF >::DoFetch(), CBDB_BufferManager::DuplicateStructureFrom(), CBDB_MergeBlobWalker< BF >::Fetch(), CBDB_MergeBlobWalkerAsync< BF >::Fetch(), CBDB_BufferManager::SetMaxVal(), CBDB_BufferManager::SetMinVal(), CBDB_FileDumper::x_DumpFields(), and CBDB_FileDumper::x_SetQuoteFlags().

◆ GetFieldCompareLimit() unsigned int CBDB_BufferManager::GetFieldCompareLimit ( ) const inline ◆ GetFieldIndex() ◆ GetHashFunction() ◆ GetInt() [1/2] virtual int IBDB_FieldConvert::GetInt ( void  ) const inlinevirtual ◆ GetInt() [2/2] ◆ GetLength() size_t CBDB_Field::GetLength ( void  ) const inline ◆ GetLString() const unsigned char * CBDB_FieldLString::GetLString ( const unsigned char *  str, bool  check_legacy, intstr_len  ) const protected

Definition at line 865 of file bdb_types.cpp.

References _ASSERT, CBDB_BufferManager::GetDBT_Size(), int, CBDB_Field::m_BufferManager, s_GetLString(), and str().

Referenced by CBDB_FieldLString::Compare(), CBDB_FieldLString::Get(), CBDB_FieldLString::GetDataLength(), CBDB_FieldLString::IsBlank(), CBDB_FieldLString::IsEmpty(), and CBDB_FieldLString::ToString().

◆ GetName() ◆ GetString() [1/16] virtual string CBDB_FieldInt8::GetString ( void  ) const inlinevirtual ◆ GetString() [2/16] virtual string CBDB_FieldUint8::GetString ( void  ) const inlinevirtual ◆ GetString() [3/16] virtual string CBDB_FieldInt4::GetString ( void  ) const inlinevirtual ◆ GetString() [4/16] virtual string CBDB_FieldInt2::GetString ( void  ) const inlinevirtual ◆ GetString() [5/16] virtual string CBDB_FieldUint2::GetString ( void  ) const inlinevirtual ◆ GetString() [6/16] virtual string CBDB_FieldUChar::GetString ( void  ) const inlinevirtual ◆ GetString() [7/16] virtual string CBDB_FieldChar::GetString ( void  ) const inlinevirtual ◆ GetString() [8/16] virtual string CBDB_FieldInt1::GetString ( void  ) const inlinevirtual ◆ GetString() [9/16] virtual string CBDB_FieldUint1::GetString ( void  ) const inlinevirtual ◆ GetString() [10/16] virtual string CBDB_FieldUint4::GetString ( void  ) const inlinevirtual ◆ GetString() [11/16] virtual string CBDB_FieldFloat::GetString ( void  ) const inlinevirtual ◆ GetString() [12/16] virtual string CBDB_FieldDouble::GetString ( void  ) const inlinevirtual ◆ GetString() [13/16] virtual string CBDB_FieldFixedByteString::GetString ( void  ) const inlinevirtual ◆ GetString() [14/16] virtual string CBDB_FieldString::GetString ( void  ) const inlinevirtual ◆ GetString() [15/16] virtual string CBDB_FieldLString::GetString ( void  ) const inlinevirtual ◆ GetString() [16/16] virtual string IBDB_FieldConvert::GetString ( ) const pure virtual

Implemented in CBDB_FieldLString, CBDB_FieldString, CBDB_FieldFixedByteString, CBDB_FieldDouble, CBDB_FieldFloat, CBDB_FieldUint4, CBDB_FieldUint1, CBDB_FieldInt1, CBDB_FieldChar, CBDB_FieldUChar, CBDB_FieldUint2, CBDB_FieldInt2, CBDB_FieldInt4, CBDB_FieldUint8, and CBDB_FieldInt8.

Referenced by CBDB_FileDumper::x_DumpFields().

◆ GetType()

Return type enumerator by string type (case insensitive)

Definition at line 1166 of file bdb_types.cpp.

References NStr::CompareNocase(), CBDB_FieldFactory::eBlob, CBDB_FieldFactory::eDouble, CBDB_FieldFactory::eFloat, CBDB_FieldFactory::eInt2, CBDB_FieldFactory::eInt4, CBDB_FieldFactory::eInt8, CBDB_FieldFactory::eLString, CBDB_FieldFactory::eString, CBDB_FieldFactory::eUChar, CBDB_FieldFactory::eUint1, CBDB_FieldFactory::eUint4, and CBDB_FieldFactory::eUnknown.

Referenced by CBDB_FieldFactory::Create(), CBDB_FileDumperApp::Dump(), and CBDB_ConfigStructureParser::ParseConfigFile().

◆ GetUint() [1/2] virtual unsigned IBDB_FieldConvert::GetUint ( ) const inlinevirtual

Reimplemented in CBDB_FieldSimpleInt< T >, CBDB_FieldSimpleInt< Uint8 >, CBDB_FieldSimpleInt< unsigned char >, CBDB_FieldSimpleInt< Int4 >, CBDB_FieldSimpleInt< Int2 >, CBDB_FieldSimpleInt< char >, CBDB_FieldSimpleInt< Uint4 >, CBDB_FieldSimpleInt< Int8 >, and CBDB_FieldSimpleInt< Uint2 >.

Definition at line 261 of file bdb_types.hpp.

References BDB_THROW, and eType.

Referenced by CBDB_MergeBlobWalkerAsync< BF >::DoFetch(), CBDB_MergeBlobWalker< BF >::Fetch(), and CBDB_MergeBlobWalkerAsync< BF >::Fetch().

◆ GetUint() [2/2] ◆ HasNull() bool CBDB_BufferManager::HasNull ( ) const inline ◆ IsBlank() [1/3] ◆ IsBlank() [2/3] bool CBDB_FieldString::IsBlank ( ) const inline ◆ IsBlank() [3/3] bool CBDB_FieldLString::IsBlank ( ) const ◆ IsBufferAttached() bool CBDB_Field::IsBufferAttached ( ) const inlineprotected ◆ IsByteSwapped() [1/2] bool CBDB_Field::IsByteSwapped ( ) const inlineprotected

Return TRUE if field belongs to a file with an alternative byte order.

Definition at line 2301 of file bdb_types.hpp.

References CBDB_BufferManager::IsByteSwapped(), and CBDB_Field::m_BufferManager.

Referenced by CBDB_FieldInt8::Get(), CBDB_FieldUint8::Get(), CBDB_FieldInt4::Get(), CBDB_FieldInt2::Get(), CBDB_FieldUint2::Get(), CBDB_FieldUint4::Get(), CBDB_FieldFloat::Get(), CBDB_FieldDouble::Get(), CBDB_FieldSimpleFloat< float >::Set(), CBDB_FieldSimpleInt< Uint2 >::Set(), and CBDB_FieldSimple< Uint2 >::SetField().

◆ IsByteSwapped() [2/2] bool CBDB_BufferManager::IsByteSwapped ( ) const inline ◆ IsEmpty() [1/3] bool CBDB_FieldFixedByteString::IsEmpty ( void  ) const inline

Definition at line 1538 of file bdb_types.hpp.

◆ IsEmpty() [2/3] bool CBDB_FieldString::IsEmpty ( void  ) const inline ◆ IsEmpty() [3/3] bool CBDB_FieldLString::IsEmpty ( void  ) const ◆ IsLegacyStrings() bool CBDB_BufferManager::IsLegacyStrings ( ) const inline ◆ IsNull() [1/2] bool CBDB_Field::IsNull ( void  ) const inline

Return TRUE if field is NULL.

Definition at line 2171 of file bdb_types.hpp.

References CBDB_BufferManager::IsNull(), CBDB_Field::m_BufferIdx, and CBDB_Field::m_BufferManager.

Referenced by BDB_find_field(), BuildZipIndex(), CBDB_FieldInt8::Get(), CBDB_FieldUint8::Get(), CBDB_FieldInt4::Get(), CBDB_FieldInt2::Get(), CBDB_FieldUint2::Get(), CBDB_FieldUChar::Get(), CBDB_FieldChar::Get(), CBDB_FieldUint4::Get(), CBDB_FieldFloat::Get(), CBDB_FieldDouble::Get(), CBDB_FieldFixedByteString::Get(), CBDB_FieldLString::Get(), CScannerFunctorArgN::GetArguments(), PrintRecord(), CBDB_FieldSimple< Uint2 >::SetField(), and CBDB_FileDumper::x_DumpFields().

◆ IsNull() [2/2] bool CBDB_BufferManager::IsNull ( unsigned int  field_idx ) const inlineprotected ◆ IsNullable() [1/2] bool CBDB_Field::IsNullable ( ) const inline ◆ IsNullable() [2/2] bool CBDB_BufferManager::IsNullable ( ) const inlineprotected ◆ IsOwnFields() bool CBDB_BufferManager::IsOwnFields ( ) const inlineprotected ◆ IsPackable() bool CBDB_BufferManager::IsPackable ( ) const inlineprotected ◆ IsSameType() ◆ IsVariableLength() bool CBDB_Field::IsVariableLength ( ) const inlineprotected ◆ operator char() [1/2] CBDB_FieldUChar::operator char ( ) const inline ◆ operator char() [2/2] CBDB_FieldChar::operator char ( ) const inline ◆ operator const char *() [1/3] CBDB_FieldFixedByteString::operator const char * ( ) const inline ◆ operator const char *() [2/3] CBDB_FieldString::operator const char * ( ) const inline ◆ operator const char *() [3/3] CBDB_FieldStringCase::operator const char * ( ) const inline ◆ operator double() CBDB_FieldDouble::operator double ( ) const inline ◆ operator float() CBDB_FieldFloat::operator float ( ) const inline ◆ operator Int2() CBDB_FieldInt2::operator Int2 ( ) const inline ◆ operator Int4() CBDB_FieldInt4::operator Int4 ( ) const inline ◆ operator Int8() CBDB_FieldInt8::operator Int8 ( ) const inline ◆ operator string() CBDB_FieldLString::operator string ( ) const inline ◆ operator Uint2() CBDB_FieldUint2::operator Uint2 ( ) const inline ◆ operator Uint4() CBDB_FieldUint4::operator Uint4 ( ) const inline ◆ operator Uint8() CBDB_FieldUint8::operator Uint8 ( ) const inline ◆ operator=() [1/37] ◆ operator=() [2/37] ◆ operator=() [3/37] ◆ operator=() [4/37] ◆ operator=() [5/37] ◆ operator=() [6/37] ◆ operator=() [7/37] ◆ operator=() [8/37] ◆ operator=() [9/37] ◆ operator=() [10/37] ◆ operator=() [11/37] ◆ operator=() [12/37] ◆ operator=() [13/37] ◆ operator=() [14/37] ◆ operator=() [15/37] ◆ operator=() [16/37] ◆ operator=() [17/37] ◆ operator=() [18/37] ◆ operator=() [19/37] ◆ operator=() [20/37] ◆ operator=() [21/37] ◆ operator=() [22/37] ◆ operator=() [23/37] ◆ operator=() [24/37] ◆ operator=() [25/37] ◆ operator=() [26/37] ◆ operator=() [27/37] ◆ operator=() [28/37] ◆ operator=() [29/37] ◆ operator=() [30/37] ◆ operator=() [31/37] ◆ operator=() [32/37] ◆ operator=() [33/37] ◆ operator=() [34/37] ◆ operator=() [35/37] ◆ operator=() [36/37] ◆ operator=() [37/37] ◆ Pack() unsigned int CBDB_BufferManager::Pack ( ) protected

Definition at line 659 of file bdb_types.cpp.

References _ASSERT, df(), i, CBDB_BufferManager::IsPackable(), CBDB_BufferManager::m_Buffer, CBDB_BufferManager::m_BufferSize, CBDB_BufferManager::m_Fields, CBDB_BufferManager::m_FirstVarFieldIdx, CBDB_BufferManager::m_FirstVarFieldIdxOffs, CBDB_BufferManager::m_NullSetSize, CBDB_BufferManager::m_PackedSize, CBDB_BufferManager::m_PackOptComputed, CBDB_BufferManager::m_Ptrs, memmove, CBDB_BufferManager::TestNullBit(), and CBDB_BufferManager::x_ComputePackOpt().

Referenced by CBDB_BufferManager::PrepareDBT_ForWrite().

◆ PrepareDBT_ForRead() void CBDB_BufferManager::PrepareDBT_ForRead ( DBTdbt ) protected ◆ PrepareDBT_ForWrite() void CBDB_BufferManager::PrepareDBT_ForWrite ( DBTdbt ) protected ◆ Set() [1/6] void CBDB_FieldFixedByteString::Set ( const char *  str ) inline ◆ Set() [2/6]

Definition at line 2406 of file bdb_types.hpp.

References BDB_THROW, ERR_POST, CBDB_FieldStringBase::eThrowOnOverflow, CBDB_FieldStringBase::eTruncateOnOverflow, CBDB_FieldStringBase::eTruncateOnOverflowLogError, CBDB_Field::GetBuffer(), CBDB_Field::GetBufferSize(), CBDB_Field::GetName(), kEmptyCStr, msg(), NCBI_FALLTHROUGH, CBDB_Field::SetNotNull(), NStr::SizetToString(), str(), CBDB_Field::Unpack(), and Warning().

Referenced by CBDB_FieldStringCase::operator=(), and CBDB_FieldString::operator=().

◆ Set() [3/6] ◆ Set() [4/6]

Definition at line 930 of file bdb_types.cpp.

References BDB_THROW, CBDB_FieldStringBase::eTruncateOnOverflow, CBDB_Field::GetBuffer(), CBDB_Field::GetBufferSize(), int, kEmptyCStr, NStr::NumericToString(), CBDB_Field::SetNotNull(), ncbi::grid::netcache::search::fields::size, str(), and CBDB_Field::Unpack().

◆ Set() [5/6] ◆ Set() [6/6] ◆ SetAllNull() void CBDB_BufferManager::SetAllNull ( ) inlineprotected ◆ SetBuffer() void CBDB_Field::SetBuffer ( void *  buf, size_t  buf_size = 0  ) inlineprotected ◆ SetBufferIdx() void CBDB_Field::SetBufferIdx ( unsigned int  idx ) inlineprotected ◆ SetBufferManager() ◆ SetBufferSize() void CBDB_Field::SetBufferSize ( size_t  size ) inlineprotected ◆ SetByteSwapped() void CBDB_BufferManager::SetByteSwapped ( bool  byte_swapped ) inlineprotected ◆ SetDataSize() void CBDB_Field::SetDataSize ( size_t  size ) inlineprotected ◆ SetDBT_Size() void CBDB_BufferManager::SetDBT_Size ( size_t  size ) inlineprotected ◆ SetDouble() [1/2] ◆ SetDouble() [2/2] virtual void IBDB_FieldConvert::SetDouble ( double  ) inlinevirtual ◆ SetField() ◆ SetFieldCompareLimit() void CBDB_BufferManager::SetFieldCompareLimit ( unsigned int  n_fields ) inline ◆ SetFieldOwnership() void CBDB_BufferManager::SetFieldOwnership ( bool  own_fields ) inlineprotected ◆ SetFloat() [1/2] ◆ SetFloat() [2/2] virtual void IBDB_FieldConvert::SetFloat ( float  ) inlinevirtual ◆ SetInt() [1/3] ◆ SetInt() [2/3] ◆ SetInt() [3/3] virtual void IBDB_FieldConvert::SetInt ( int  ) inlinevirtual

Reimplemented in CBDB_FieldSimpleFloat< T >, CBDB_FieldSimpleFloat< double >, CBDB_FieldSimpleFloat< float >, CBDB_FieldSimpleInt< T >, CBDB_FieldSimpleInt< Uint8 >, CBDB_FieldSimpleInt< unsigned char >, CBDB_FieldSimpleInt< Int4 >, CBDB_FieldSimpleInt< Int2 >, CBDB_FieldSimpleInt< char >, CBDB_FieldSimpleInt< Uint4 >, CBDB_FieldSimpleInt< Int8 >, and CBDB_FieldSimpleInt< Uint2 >.

Definition at line 255 of file bdb_types.hpp.

References BDB_THROW, and eType.

Referenced by BDB_batch_delete_recs(), BDB_iterate_file(), and CBDB_ConditionHandle::operator<<().

◆ SetLegacyStringsCheck() void CBDB_BufferManager::SetLegacyStringsCheck ( bool  value ) inlineprotected ◆ SetMaxVal() [1/7] ◆ SetMaxVal() [2/7] ◆ SetMaxVal() [3/7] void CBDB_FieldFixedByteString::SetMaxVal ( ) inlinevirtual ◆ SetMaxVal() [4/7] void CBDB_FieldString::SetMaxVal ( ) inlinevirtual ◆ SetMaxVal() [5/7] void CBDB_FieldLString::SetMaxVal ( ) virtual ◆ SetMaxVal() [6/7] virtual void IBDB_Field::SetMaxVal ( ) pure virtual

Set maximum possible value for the field type.

Implemented in CBDB_FieldLString, CBDB_FieldString, CBDB_FieldFixedByteString, CBDB_FieldSimpleFloat< T >, CBDB_FieldSimpleFloat< double >, CBDB_FieldSimpleFloat< float >, CBDB_FieldSimpleInt< T >, CBDB_FieldSimpleInt< Uint8 >, CBDB_FieldSimpleInt< unsigned char >, CBDB_FieldSimpleInt< Int4 >, CBDB_FieldSimpleInt< Int2 >, CBDB_FieldSimpleInt< char >, CBDB_FieldSimpleInt< Uint4 >, CBDB_FieldSimpleInt< Int8 >, and CBDB_FieldSimpleInt< Uint2 >.

Referenced by CBDB_BufferManager::SetMaxVal().

◆ SetMaxVal() [7/7] void CBDB_BufferManager::SetMaxVal ( unsigned int  idx_from, unsigned int  idx_to  ) inlineprotected ◆ SetMinVal() [1/7] ◆ SetMinVal() [2/7] ◆ SetMinVal() [3/7] void CBDB_FieldFixedByteString::SetMinVal ( ) inlinevirtual ◆ SetMinVal() [4/7] void CBDB_FieldString::SetMinVal ( ) inlinevirtual ◆ SetMinVal() [5/7] void CBDB_FieldLString::SetMinVal ( ) virtual ◆ SetMinVal() [6/7] virtual void IBDB_Field::SetMinVal ( ) pure virtual

Set minimal possible value for the field type.

Implemented in CBDB_FieldLString, CBDB_FieldString, CBDB_FieldFixedByteString, CBDB_FieldSimpleFloat< T >, CBDB_FieldSimpleFloat< double >, CBDB_FieldSimpleFloat< float >, CBDB_FieldSimpleInt< T >, CBDB_FieldSimpleInt< Uint8 >, CBDB_FieldSimpleInt< unsigned char >, CBDB_FieldSimpleInt< Int4 >, CBDB_FieldSimpleInt< Int2 >, CBDB_FieldSimpleInt< char >, CBDB_FieldSimpleInt< Uint4 >, CBDB_FieldSimpleInt< Int8 >, and CBDB_FieldSimpleInt< Uint2 >.

Referenced by CBDB_BufferManager::SetMinVal().

◆ SetMinVal() [7/7] void CBDB_BufferManager::SetMinVal ( unsigned int  idx_from, unsigned int  idx_to  ) inlineprotected ◆ SetName() void CBDB_Field::SetName ( const char *  name ) inlineprotected ◆ SetNotNull() void CBDB_Field::SetNotNull ( ) inlineprotected

Set "is NULL" flag to FALSE.

Definition at line 2158 of file bdb_types.hpp.

References CBDB_Field::m_BufferIdx, CBDB_Field::m_BufferManager, and CBDB_BufferManager::SetNull().

Referenced by CBDB_Field::CopyFrom(), CBDB_FieldFixedByteString::operator=(), CBDB_FieldLString::operator=(), CBDB_FieldString::operator=(), CBDB_FieldString::Set(), CBDB_FieldLString::Set(), CBDB_FieldSimpleFloat< float >::Set(), CBDB_FieldSimpleInt< Uint2 >::Set(), CBDB_FieldSimple< Uint2 >::SetField(), CBDB_FieldString::SetMaxVal(), CBDB_FieldLString::SetMaxVal(), and CBDB_FieldLString::SetStdString().

◆ SetNull() [1/2] void CBDB_Field::SetNull ( ) inline ◆ SetNull() [2/2] void CBDB_BufferManager::SetNull ( unsigned int  field_idx, bool  value  ) inlineprotected ◆ SetNullable() [1/2] void CBDB_Field::SetNullable ( ) inlineprotected ◆ SetNullable() [2/2] void CBDB_BufferManager::SetNullable ( ) inlineprotected ◆ SetNullBit() void CBDB_BufferManager::SetNullBit ( unsigned int  idx, bool  value  ) inlineprotected ◆ SetPackable() void CBDB_BufferManager::SetPackable ( bool  packable ) inlineprotected ◆ SetStdString() [1/6] virtual void IBDB_FieldConvert::SetStdString ( const string &  ) inlinevirtual

Reimplemented in CBDB_FieldLString, CBDB_FieldString, CBDB_FieldFixedByteString, CBDB_FieldSimpleFloat< T >, CBDB_FieldSimpleFloat< double >, CBDB_FieldSimpleFloat< float >, CBDB_FieldSimpleInt< T >, CBDB_FieldSimpleInt< Uint8 >, CBDB_FieldSimpleInt< unsigned char >, CBDB_FieldSimpleInt< Int4 >, CBDB_FieldSimpleInt< Int2 >, CBDB_FieldSimpleInt< char >, CBDB_FieldSimpleInt< Uint4 >, CBDB_FieldSimpleInt< Int8 >, and CBDB_FieldSimpleInt< Uint2 >.

Definition at line 265 of file bdb_types.hpp.

References BDB_THROW, and eType.

Referenced by CBDB_ConditionHandle::operator<<().

◆ SetStdString() [2/6] ◆ SetStdString() [3/6] ◆ SetStdString() [4/6] virtual void CBDB_FieldFixedByteString::SetStdString ( const stringstr ) inlinevirtual ◆ SetStdString() [5/6] virtual void CBDB_FieldString::SetStdString ( const stringstr ) inlinevirtual ◆ SetStdString() [6/6] void CBDB_FieldLString::SetStdString ( const stringstr ) virtual ◆ SetString() [1/6] virtual void IBDB_FieldConvert::SetString ( const char *  ) inlinevirtual

Reimplemented in CBDB_FieldFixedByteString, CBDB_FieldSimpleFloat< T >, CBDB_FieldSimpleFloat< double >, CBDB_FieldSimpleFloat< float >, CBDB_FieldSimpleInt< T >, CBDB_FieldSimpleInt< Uint8 >, CBDB_FieldSimpleInt< unsigned char >, CBDB_FieldSimpleInt< Int4 >, CBDB_FieldSimpleInt< Int2 >, CBDB_FieldSimpleInt< char >, CBDB_FieldSimpleInt< Uint4 >, CBDB_FieldSimpleInt< Int8 >, CBDB_FieldSimpleInt< Uint2 >, CBDB_FieldLString, and CBDB_FieldString.

Definition at line 263 of file bdb_types.hpp.

References BDB_THROW, and eType.

Referenced by CBDB_ConditionHandle::operator<<().

◆ SetString() [2/6] void CBDB_FieldString::SetString ( const char *  str ) inlinevirtual ◆ SetString() [3/6] void CBDB_FieldLString::SetString ( const char *  str ) virtual ◆ SetString() [4/6] ◆ SetString() [5/6] ◆ SetString() [6/6] virtual void CBDB_FieldFixedByteString::SetString ( const char *  val ) inlinevirtual ◆ SetUint() [1/3] ◆ SetUint() [2/3] ◆ SetUint() [3/3] virtual void IBDB_FieldConvert::SetUint ( unsigned  ) inlinevirtual ◆ TestNullBit() bool CBDB_BufferManager::TestNullBit ( unsigned int  idx ) const inlineprotected ◆ ToString() [1/16] virtual void CBDB_FieldUChar::ToString ( strings ) const inlinevirtual ◆ ToString() [2/16] virtual void CBDB_FieldChar::ToString ( strings ) const inlinevirtual ◆ ToString() [3/16] virtual void CBDB_FieldInt1::ToString ( strings ) const inlinevirtual ◆ ToString() [4/16] virtual void CBDB_FieldUint1::ToString ( strings ) const inlinevirtual ◆ ToString() [5/16] virtual void CBDB_FieldInt8::ToString ( stringstr ) const inlinevirtual ◆ ToString() [6/16] virtual void CBDB_FieldUint8::ToString ( stringstr ) const inlinevirtual ◆ ToString() [7/16] virtual void CBDB_FieldInt4::ToString ( stringstr ) const inlinevirtual ◆ ToString() [8/16] virtual void CBDB_FieldInt2::ToString ( stringstr ) const inlinevirtual ◆ ToString() [9/16] virtual void CBDB_FieldUint2::ToString ( stringstr ) const inlinevirtual ◆ ToString() [10/16] virtual void CBDB_FieldUint4::ToString ( stringstr ) const inlinevirtual ◆ ToString() [11/16] virtual void CBDB_FieldFloat::ToString ( stringstr ) const inlinevirtual ◆ ToString() [12/16] virtual void CBDB_FieldDouble::ToString ( stringstr ) const inlinevirtual ◆ ToString() [13/16] virtual void CBDB_FieldFixedByteString::ToString ( stringstr ) const inlinevirtual ◆ ToString() [14/16] virtual void CBDB_FieldString::ToString ( stringstr ) const inlinevirtual ◆ ToString() [15/16] void CBDB_FieldLString::ToString ( stringstr ) const virtual ◆ ToString() [16/16] virtual void IBDB_FieldConvert::ToString ( stringstr ) const pure virtual

Implemented in CBDB_FieldLString, CBDB_FieldString, CBDB_FieldFixedByteString, CBDB_FieldDouble, CBDB_FieldFloat, CBDB_FieldUint4, CBDB_FieldUint2, CBDB_FieldInt2, CBDB_FieldInt4, CBDB_FieldUint8, CBDB_FieldInt8, CBDB_FieldUint1, CBDB_FieldInt1, CBDB_FieldChar, and CBDB_FieldUChar.

Referenced by BDB_find_field(), and CScannerFunctorArgN::GetArguments().

◆ Unpack() [1/2] void * CBDB_Field::Unpack ( ) inlineprotected

Unpack the buffer which contains this field (using CBDB_BufferManager).

Return new pointer to the field data – located in the unpacked buffer.

Definition at line 2177 of file bdb_types.hpp.

References _ASSERT, CBDB_Field::GetBuffer(), CBDB_Field::m_BufferManager, and CBDB_BufferManager::Unpack().

Referenced by CBDB_Field::CopyFrom(), CBDB_FieldFixedByteString::operator=(), CBDB_FieldLString::operator=(), CBDB_FieldString::operator=(), CBDB_FieldString::Set(), CBDB_FieldLString::Set(), CBDB_FieldFixedByteString::SetMaxVal(), CBDB_FieldString::SetMaxVal(), CBDB_FieldLString::SetMaxVal(), CBDB_FieldFixedByteString::SetMinVal(), CBDB_FieldString::SetMinVal(), and CBDB_FieldLString::SetStdString().

◆ Unpack() [2/2] unsigned int CBDB_BufferManager::Unpack ( ) protected

Definition at line 702 of file bdb_types.cpp.

References _ASSERT, df(), i, CBDB_BufferManager::IsPackable(), CBDB_BufferManager::m_BufferSize, CBDB_BufferManager::m_Fields, CBDB_BufferManager::m_FirstVarFieldIdx, CBDB_BufferManager::m_FirstVarFieldIdxOffs, CBDB_BufferManager::m_PackedSize, CBDB_BufferManager::m_PackOptComputed, CBDB_BufferManager::m_Ptrs, memmove, and CBDB_BufferManager::x_ComputePackOpt().

Referenced by CBDB_Field::Unpack().

◆ x_ComputePackOpt() void CBDB_BufferManager::x_ComputePackOpt ( ) private ◆ ~CBDB_BufferManager() CBDB_BufferManager::~CBDB_BufferManager ( ) ◆ ~CBDB_Field() virtual CBDB_Field::~CBDB_Field ( ) inlinevirtual

Definition at line 305 of file bdb_types.hpp.

◆ ~IBDB_Field() IBDB_Field::~IBDB_Field ( ) virtual

Definition at line 439 of file bdb_types.cpp.

◆ ~IBDB_FieldConvert() virtual IBDB_FieldConvert::~IBDB_FieldConvert ( ) inlinevirtual

Definition at line 253 of file bdb_types.hpp.

◆ Attached [1/2] ◆  [2/2] ◆ m_Buffer [1/2] void* CBDB_Field::m_Buffer private ◆ m_Buffer [2/2] char* CBDB_BufferManager::m_Buffer private

Definition at line 1919 of file bdb_types.hpp.

Referenced by CBDB_BufferManager::ArrangePtrsPacked(), CBDB_BufferManager::Clear(), CBDB_BufferManager::Construct(), CBDB_BufferManager::CopyPackedFrom(), CBDB_BufferManager::HasNull(), CBDB_BufferManager::Pack(), CBDB_BufferManager::PrepareDBT_ForRead(), CBDB_BufferManager::PrepareDBT_ForWrite(), CBDB_BufferManager::SetAllNull(), CBDB_BufferManager::SetNullable(), CBDB_BufferManager::SetNullBit(), CBDB_BufferManager::TestNullBit(), and CBDB_BufferManager::~CBDB_BufferManager().

◆ m_BufferIdx unsigned CBDB_Field::m_BufferIdx private ◆ m_BufferManager

Definition at line 401 of file bdb_types.hpp.

Referenced by CBDB_FieldLString::Compare(), CBDB_Field::CompareWith(), CBDB_FieldLString::Get(), CBDB_FieldLString::GetDataLength(), CBDB_FieldLString::GetLString(), CBDB_FieldLString::IsBlank(), CBDB_Field::IsByteSwapped(), CBDB_FieldLString::IsEmpty(), CBDB_Field::IsNull(), CBDB_Field::SetBufferManager(), CBDB_Field::SetNotNull(), CBDB_Field::SetNull(), CBDB_FieldLString::ToString(), and CBDB_Field::Unpack().

◆ m_BufferSize [1/2] size_t CBDB_Field::m_BufferSize private ◆ m_BufferSize [2/2] size_t CBDB_BufferManager::m_BufferSize private ◆ m_ByteSwapped bool CBDB_BufferManager::m_ByteSwapped private ◆ m_CompareLimit unsigned int CBDB_BufferManager::m_CompareLimit private ◆ m_DBT_Size size_t CBDB_BufferManager::m_DBT_Size private ◆ m_Fields

Definition at line 1916 of file bdb_types.hpp.

Referenced by CBDB_BufferManager::ArrangePtrsPacked(), CBDB_BufferManager::ArrangePtrsUnpacked(), CBDB_BufferManager::Bind(), CBDB_BufferManager::CheckNullConstraint(), CBDB_BufferManager::ComputeBufferSize(), CBDB_BufferManager::Construct(), CBDB_BufferManager::CopyFieldsFrom(), CBDB_BufferManager::FieldCount(), CBDB_BufferManager::GetCompareFunction(), CBDB_BufferManager::GetField(), CBDB_BufferManager::GetFieldIndex(), CBDB_BufferManager::IsNull(), CBDB_BufferManager::Pack(), CBDB_BufferManager::SetNull(), CBDB_BufferManager::Unpack(), CBDB_BufferManager::x_ComputePackOpt(), and CBDB_BufferManager::~CBDB_BufferManager().

◆ m_FirstVarFieldIdx unsigned int CBDB_BufferManager::m_FirstVarFieldIdx private ◆ m_FirstVarFieldIdxOffs unsigned int CBDB_BufferManager::m_FirstVarFieldIdxOffs private ◆  ◆ m_LegacyString bool CBDB_BufferManager::m_LegacyString private ◆ m_Name ◆ m_Nullable bool CBDB_BufferManager::m_Nullable private ◆ m_NullSetSize size_t CBDB_BufferManager::m_NullSetSize private ◆ m_OwnFields bool CBDB_BufferManager::m_OwnFields private ◆ m_Packable bool CBDB_BufferManager::m_Packable private ◆ m_PackedSize size_t CBDB_BufferManager::m_PackedSize private ◆ m_PackOptComputed bool CBDB_BufferManager::m_PackOptComputed private ◆ m_Ptrs vector<void*> CBDB_BufferManager::m_Ptrs private ◆  [1/2] ◆ Nullable [2/2] ◆ VariableLength [1/2] unsigned CBDB_Field::VariableLength

Definition at line 403 of file bdb_types.hpp.

◆  [2/2] ◆ CBDB_BLobFile [1/2] ◆ CBDB_BLobFile [2/2] ◆ CBDB_BufferManager ◆ CBDB_FC_Condition ◆ CBDB_Field ◆ CBDB_File [1/2] ◆ CBDB_File [2/2] ◆ CBDB_FileCursor [1/2] ◆ CBDB_FileCursor [2/2]

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