LibreOffice Module connectivity (master) 1
|
#include <dindexnode.hxx>
Public Member Functions | |
ONDXNode () | |
ONDXNode (const ONDXKey &rKey) | |
bool | HasChild () const |
ONDXPagePtr & | GetChild (ODbaseIndex *pIndex=nullptr, ONDXPage *=nullptr) |
const ONDXKey & | GetKey () const |
ONDXKey & | GetKey () |
void | SetChild (ONDXPagePtr aCh=ONDXPagePtr(), ONDXPage *=nullptr) |
void | Write (SvStream &rStream, const ONDXPage &rPage) const |
void | Read (SvStream &rStream, ODbaseIndex const &) |
Private Attributes | |
ONDXPagePtr | aChild |
ONDXKey | aKey |
Friends | |
class | ONDXPage |
Definition at line 229 of file dindexnode.hxx.
|
inline |
Definition at line 236 of file dindexnode.hxx.
|
inline |
Definition at line 237 of file dindexnode.hxx.
ONDXPagePtr & ONDXNode::GetChild | ( | ODbaseIndex * | pIndex = nullptr , |
ONDXPage * | pParent = nullptr |
||
) |
Definition at line 725 of file dindexnode.cxx.
References aChild, connectivity::dbase::ODbaseIndex::CreatePage(), connectivity::dbase::ONDXPagePtr::GetPagePos(), connectivity::dbase::ONDXPagePtr::HasPage(), and connectivity::dbase::ONDXPagePtr::Is().
Referenced by connectivity::dbase::ONDXPage::Insert(), connectivity::dbase::ONDXPage::PrintPage(), and connectivity::dbase::ONDXPage::Split().
|
inline |
Definition at line 246 of file dindexnode.hxx.
References aKey.
|
inline |
Definition at line 245 of file dindexnode.hxx.
References aKey.
Referenced by connectivity::dbase::ONDXPage::Delete(), connectivity::dbase::ONDXPage::Insert(), connectivity::dbase::ONDXPage::Merge(), connectivity::dbase::ONDXPage::PrintPage(), and connectivity::dbase::ONDXPage::Split().
|
inline |
Definition at line 241 of file dindexnode.hxx.
References aChild, and connectivity::dbase::ONDXPagePtr::HasPage().
void ONDXNode::Read | ( | SvStream & | rStream, |
ODbaseIndex const & | rIndex | ||
) |
Definition at line 661 of file dindexnode.cxx.
References aBuf, aChild, aKey, connectivity::dbase::ODbaseIndex::NDXHeader::db_keylen, connectivity::dbase::ODbaseIndex::NDXHeader::db_keytype, connectivity::file::OFileTable::getConnection(), connectivity::dbase::ODbaseIndex::getHeader(), connectivity::OMetaConnection::getTextEncoding(), connectivity::dbase::ODbaseIndex::m_pTable, connectivity::dbase::ONDXKey::nRecord, read_uInt8s_ToOString(), SvStream::ReadDouble(), and SvStream::ReadUInt32().
|
inline |
Definition at line 296 of file dindexnode.hxx.
References aChild, connectivity::dbase::ONDXPagePtr::Is(), and connectivity::dbase::ONDXPage::SetParent().
Referenced by connectivity::dbase::ONDXPage::Insert(), and connectivity::dbase::ONDXPage::Split().
Definition at line 685 of file dindexnode.cxx.
References aChild, aKey, connectivity::dbase::ODbaseIndex::NDXHeader::db_keylen, connectivity::dbase::ODbaseIndex::NDXHeader::db_keytype, connectivity::file::OFileTable::getConnection(), connectivity::ORowSetValue::getDouble(), connectivity::dbase::ODbaseIndex::getHeader(), connectivity::dbase::ONDXPage::GetIndex(), connectivity::ORowSetValue::getString(), connectivity::OMetaConnection::getTextEncoding(), connectivity::dbase::ONDXKey::getValue(), connectivity::dbase::ONDXPage::IsLeaf(), connectivity::ORowSetValue::isNull(), connectivity::dbase::ODbaseIndex::isUnique(), connectivity::dbase::ODbaseIndex::m_pTable, connectivity::dbase::ONDXKey::nRecord, pq_sdbc_driver::OUStringToOString(), SAL_WARN, SvStream::WriteBytes(), SvStream::WriteDouble(), connectivity::dbase::WriteONDXPagePtr(), and SvStream::WriteUInt32().
|
friend |
Definition at line 231 of file dindexnode.hxx.
|
private |
Definition at line 232 of file dindexnode.hxx.
Referenced by GetChild(), HasChild(), Read(), SetChild(), and Write().
|
private |
Definition at line 233 of file dindexnode.hxx.