summaryrefslogtreecommitdiff
path: root/Algorithms/bplus-tree/src/bplus_iterator.h
blob: c7ae9b2ba5baefca22a7e8d270dfe35530778b16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/**
 * Distributed under the Boost Software License, Version 1.0.
 * See accompanying file LICENSE or copy at http://www.boost.org/LICENSE_1_0.txt
 */

#ifndef __BPLUS_ITERATOR_H__
#define __BPLUS_ITERATOR_H__

#include "bplus_tree_private.h"

#ifdef __cplusplus
extern "C"
{
#endif // ifdef __cplusplus

struct _BplusIterator
{
    BplusItem const* item;
    BplusLeaf const* leaf;

    BplusLeaf const* leaf_from;
    BplusItem const* item_from;
    BplusLeaf const* leaf_to;
    BplusItem const* item_to;
};

#ifdef __cplusplus
}
#endif // ifdef __cplusplus

#endif // ifndef __BPLUS_ITERATOR_H__