Table of Contents

Class ObjectDirectory

Namespace
PlaIO
Assembly
PlaIO.dll

A run of directory records found inside a raw block. Where a directory starts and ends is not documented: the run is an estimate (the longest stretch whose extents mostly abut), and the pair counts are reported so callers can judge it. The run can be shorter than the real directory: it stops at a stretch of more than 8 consecutive records without an abutting neighbour. It can also take in records with a count of 0 whose position repeats another record's or falls inside another extent; such records show up in PlaIO.ObjectDirectory.OverlappingPairs and PlaIO.ObjectDirectory.DuplicatePositions.

public sealed class ObjectDirectory

Inheritance

Inherited Members

Properties

AbuttingPairs

Adjacent pairs of the records sorted by position where one extent ends exactly where the next starts.

public int AbuttingPairs { get; }

Property Value

int

Block

The raw block that holds the directory.

public PlaBlock Block { get; }

Property Value

PlaBlock

DuplicatePositions

Adjacent sorted pairs with the same position.

public int DuplicatePositions { get; }

Property Value

int

OverlappingPairs

Adjacent sorted pairs whose extents overlap.

public int OverlappingPairs { get; }

Property Value

int

Phase

The record alignment within the payload, RecordOffset % 30.

public int Phase { get; }

Property Value

int

RecordOffset

Payload offset of the first reported record.

public int RecordOffset { get; }

Property Value

int

Records

The records in file order.

public IReadOnlyList<ObjectDirectoryRecord> Records { get; }

Property Value

IReadOnlyList<ObjectDirectoryRecord>