1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
14 #include "rowinputbinary.hxx"
15 #include "columndef.hxx"
22 sal_Int32 m_nLeft
= -1;
23 sal_Int32 m_nRight
= -1;
24 sal_Int32 m_nPos
= -1;
28 * Represents one element of an AVL tree in the binary file which contains
31 HsqlBinaryNode(sal_Int32 nPos
);
34 * Read position of children from data file.
36 * @param rInput input stream where the positions should be read from.
38 void readChildren(HsqlRowInputStream
const& rInput
);
41 * Get Position of left children. It should be called only after position of
44 sal_Int32
getLeft() const;
47 * Get Position of right children. It should be called only after position of
50 sal_Int32
getRight() const;
53 * Read the row represented by this node.
55 * @param rInput input stream where the row should be read from.
57 std::vector
<css::uno::Any
> readRow(HsqlRowInputStream
& rInput
,
58 const std::vector
<ColumnDefinition
>& aColTypes
,
59 sal_Int32 nIndexCount
);
63 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */