LibreOffice Module dbaccess (master) 1
|
#include <hsqlbinarynode.hxx>
Public Member Functions | |
HsqlBinaryNode (sal_Int32 nPos) | |
Represents one element of an AVL tree in the binary file which contains the data. More... | |
void | readChildren (HsqlRowInputStream const &rInput) |
Read position of children from data file. More... | |
sal_Int32 | getLeft () const |
Get Position of left children. More... | |
sal_Int32 | getRight () const |
Get Position of right children. More... | |
std::vector< css::uno::Any > | readRow (HsqlRowInputStream &rInput, const std::vector< ColumnDefinition > &aColTypes, sal_Int32 nIndexCount) |
Read the row represented by this node. More... | |
Private Attributes | |
sal_Int32 | m_nLeft = -1 |
sal_Int32 | m_nRight = -1 |
sal_Int32 | m_nPos = -1 |
Definition at line 19 of file hsqlbinarynode.hxx.
dbahsql::HsqlBinaryNode::HsqlBinaryNode | ( | sal_Int32 | nPos | ) |
Represents one element of an AVL tree in the binary file which contains the data.
Definition at line 25 of file hsqlbinarynode.cxx.
sal_Int32 dbahsql::HsqlBinaryNode::getLeft | ( | ) | const |
Get Position of left children.
It should be called only after position of children is read.
Definition at line 54 of file hsqlbinarynode.cxx.
References m_nLeft.
Referenced by dbahsql::HsqlImporter::processTree().
sal_Int32 dbahsql::HsqlBinaryNode::getRight | ( | ) | const |
Get Position of right children.
It should be called only after position of children is read.
Definition at line 55 of file hsqlbinarynode.cxx.
References m_nRight.
Referenced by dbahsql::HsqlImporter::processTree().
void dbahsql::HsqlBinaryNode::readChildren | ( | HsqlRowInputStream const & | rInput | ) |
Read position of children from data file.
rInput | input stream where the positions should be read from. |
Definition at line 30 of file hsqlbinarynode.cxx.
References dbahsql::HsqlRowInputStream::getInputStream(), m_nLeft, m_nPos, m_nRight, SvStream::ReadInt32(), and SvStream::Seek().
Referenced by dbahsql::HsqlImporter::processTree().
std::vector< css::uno::Any > dbahsql::HsqlBinaryNode::readRow | ( | HsqlRowInputStream & | rInput, |
const std::vector< ColumnDefinition > & | aColTypes, | ||
sal_Int32 | nIndexCount | ||
) |
Read the row represented by this node.
rInput | input stream where the row should be read from. |
Definition at line 45 of file hsqlbinarynode.cxx.
References m_nPos, nIndexCount, dbahsql::HsqlRowInputStream::readOneRow(), and dbahsql::HsqlRowInputStream::seek().
Referenced by dbahsql::HsqlImporter::processTree().
|
private |
Definition at line 22 of file hsqlbinarynode.hxx.
Referenced by getLeft(), and readChildren().
|
private |
Definition at line 24 of file hsqlbinarynode.hxx.
Referenced by readChildren(), and readRow().
|
private |
Definition at line 23 of file hsqlbinarynode.hxx.
Referenced by getRight(), and readChildren().