Length based classificator for fields (fixed-variable)
Enumerator eFixedLengthfixed-length (like int)
eVariableLengthvariable-length (like string)
Definition at line 300 of file bdb_types.hpp.
◆ EOverflowAction Enumerator eThrowOnOverflow eTruncateOnOverflow eTruncateOnOverflowLogErrorDefinition at line 1574 of file bdb_types.hpp.
◆ EType Enumerator eUnknown eString eLString eInt8 eInt4 eUint4 eInt2 eUint1 eFloat eDouble eUChar eBlobDefinition 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 ( DB * db, const void * bytes, unsigned length ) ◆ BDB_Uint8Compare() ◆ BDB_UintCompare() ◆ Bind() ◆ CBDB_BufferManager() [1/2] CBDB_BufferManager::CBDB_BufferManager ( ) protectedDefinition 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 ( ) inlineprotectedDefinition 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 virtualComparison 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 inlinevirtualComparison 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 inlinevirtualComparison 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 inlinevirtualComparison 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 inlinevirtualComparison 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 inlinevirtualComparison 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 ( ) protectedCreate 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 inlinevirtualVirtual 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 inlinevirtualVirtual 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 inlinevirtualVirtual 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 inlinevirtualVirtual 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 inlinevirtualVirtual 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 inlinevirtualVirtual 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 inlinevirtualVirtual 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 inlinevirtualVirtual 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 inlinevirtualVirtual 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 inlinevirtualVirtual 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 inlineReturn 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 inlineDefinition 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 inlineGet 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 inlineReturn 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 virtualReturn 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, int * str_len ) const protectedDefinition 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 virtualImplemented 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 inlinevirtualReimplemented 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 inlineprotectedReturn 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 inlineDefinition 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 inlineReturn 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 ( ) protectedDefinition 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 ( DBT * dbt ) protected ◆ PrepareDBT_ForWrite() void CBDB_BufferManager::PrepareDBT_ForWrite ( DBT * dbt ) 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 virtualSet 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 virtualSet 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 ( ) inlineprotectedSet "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 & ) inlinevirtualReimplemented 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 string & str ) inlinevirtual ◆ SetStdString() [5/6] virtual void CBDB_FieldString::SetStdString ( const string & str ) inlinevirtual ◆ SetStdString() [6/6] void CBDB_FieldLString::SetStdString ( const string & str ) virtual ◆ SetString() [1/6] virtual void IBDB_FieldConvert::SetString ( const char * ) inlinevirtualReimplemented 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 ( string & s ) const inlinevirtual ◆ ToString() [2/16] virtual void CBDB_FieldChar::ToString ( string & s ) const inlinevirtual ◆ ToString() [3/16] virtual void CBDB_FieldInt1::ToString ( string & s ) const inlinevirtual ◆ ToString() [4/16] virtual void CBDB_FieldUint1::ToString ( string & s ) const inlinevirtual ◆ ToString() [5/16] virtual void CBDB_FieldInt8::ToString ( string & str ) const inlinevirtual ◆ ToString() [6/16] virtual void CBDB_FieldUint8::ToString ( string & str ) const inlinevirtual ◆ ToString() [7/16] virtual void CBDB_FieldInt4::ToString ( string & str ) const inlinevirtual ◆ ToString() [8/16] virtual void CBDB_FieldInt2::ToString ( string & str ) const inlinevirtual ◆ ToString() [9/16] virtual void CBDB_FieldUint2::ToString ( string & str ) const inlinevirtual ◆ ToString() [10/16] virtual void CBDB_FieldUint4::ToString ( string & str ) const inlinevirtual ◆ ToString() [11/16] virtual void CBDB_FieldFloat::ToString ( string & str ) const inlinevirtual ◆ ToString() [12/16] virtual void CBDB_FieldDouble::ToString ( string & str ) const inlinevirtual ◆ ToString() [13/16] virtual void CBDB_FieldFixedByteString::ToString ( string & str ) const inlinevirtual ◆ ToString() [14/16] virtual void CBDB_FieldString::ToString ( string & str ) const inlinevirtual ◆ ToString() [15/16] void CBDB_FieldLString::ToString ( string & str ) const virtual ◆ ToString() [16/16] virtual void IBDB_FieldConvert::ToString ( string & str ) const pure virtualImplemented 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 ( ) inlineprotectedUnpack 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 ( ) protectedDefinition 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 ( ) inlinevirtualDefinition at line 305 of file bdb_types.hpp.
◆ ~IBDB_Field() IBDB_Field::~IBDB_Field ( ) virtualDefinition at line 439 of file bdb_types.cpp.
◆ ~IBDB_FieldConvert() virtual IBDB_FieldConvert::~IBDB_FieldConvert ( ) inlinevirtualDefinition 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 privateDefinition 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_BufferManagerDefinition 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_FieldsDefinition 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::VariableLengthDefinition 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