#include <index.h>
Inheritance diagram for IndexSegment:
Public Member Functions | |
~IndexSegment () | |
Destructor cleans up the segment. | |
bool | AddIndexEntry (Int8 TemporalOffset, Int8 KeyFrameOffset, UInt8 Flags, UInt64 StreamOffset, int SliceCount=0, UInt32 *SliceOffsets=NULL, int PosCount=0, Rational *PosTable=NULL) |
Add a single index entry. | |
bool | AddIndexEntries (int Count, int Size, UInt8 *Entries) |
Add multiple - pre-formed index entries. | |
void | Update (Position EditUnit, UInt64 StreamOffset) |
Update the Stream Offset of an index entry. | |
Static Public Member Functions | |
static IndexSegmentPtr | AddIndexSegmentToIndexTable (IndexTablePtr ParentTable, Int64 IndexStartPosition) |
Index segment pseudo-constructor. | |
Public Attributes | |
IndexTableParent | Parent |
Table that owns this segment. | |
Int64 | StartPosition |
Edit unit of the first entry in this segment. | |
int | DeltaCount |
Number of entries in DeltaArray. | |
DeltaEntry * | DeltaArray |
Deltas for this segment. | |
int | EntryCount |
Number of entries in IndexEntryArray. | |
DataChunk | IndexEntryArray |
Index Entries for this segment. | |
Private Member Functions | |
IndexSegment () | |
Private constructor to force construction via AddIndexSegmentToIndexTable(). | |
Static Private Attributes | |
static PrimerPtr | IndexPrimer |
IndexSegment | ( | ) | [inline, private] |
Private constructor to force construction via AddIndexSegmentToIndexTable().
~IndexSegment | ( | ) | [inline] |
Destructor cleans up the segment.
IndexSegmentPtr AddIndexSegmentToIndexTable | ( | IndexTablePtr | ParentTable, | |
Int64 | IndexStartPosition | |||
) | [static] |
Index segment pseudo-constructor.
bool AddIndexEntry | ( | Int8 | TemporalOffset, | |
Int8 | KeyFrameOffset, | |||
UInt8 | Flags, | |||
UInt64 | StreamOffset, | |||
int | SliceCount = 0 , |
|||
UInt32 * | SliceOffsets = NULL , |
|||
int | PosCount = 0 , |
|||
Rational * | PosTable = NULL | |||
) |
Add a single index entry.
bool AddIndexEntries | ( | int | Count, | |
int | Size, | |||
UInt8 * | Entries | |||
) |
Add multiple - pre-formed index entries.
PrimerPtr IndexPrimer [static, private] |
Table that owns this segment.
Edit unit of the first entry in this segment.
int DeltaCount |
Number of entries in DeltaArray.
Deltas for this segment.
int EntryCount |
Number of entries in IndexEntryArray.
Index Entries for this segment.