File: HFBTreeByteArray.h

package info (click to toggle)
sameboy 1.0.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 10,528 kB
  • sloc: ansic: 29,948; objc: 22,249; asm: 1,424; pascal: 1,373; makefile: 1,065; xml: 111
file content (30 lines) | stat: -rw-r--r-- 754 bytes parent folder | download | duplicates (2)
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
//
//  HFBTreeByteArray.h
//  HexFiend_2
//
//  Created by peter on 4/28/09.
//  Copyright 2009 ridiculous_fish. All rights reserved.
//

#import <HexFiend/HFByteArray.h>

@class HFBTree;

/*! @class HFBTreeByteArray
@brief The principal efficient implementation of HFByteArray.

HFBTreeByteArray is an efficient subclass of HFByteArray that stores @link HFByteSlice HFByteSlices@endlink, using a 10-way B+ tree.  This allows for insertion, deletion, and searching in approximately log-base-10 time.

Create an HFBTreeByteArray via \c -init.  It has no methods other than those on HFByteArray.
*/

@interface HFBTreeByteArray : HFByteArray {
@private
    HFBTree *btree;
}

/*! Designated initializer for HFBTreeByteArray.
*/
- (instancetype)init;

@end