NumberTree Class Documentation

classNumberTree : SystemIDisposable

Namespace:Datalogics::PDFL

Inherits from:
SystemIDisposable

Detailed Description

The number tree is a common data structure in PDF files.

The number tree is a type of dictionary that can store many more pairs of matched records than a standard object dictionary.

A number tree uses keys that are integers to map to data objects, sorted in ascending numerical order.

Referenced by

Constructor & Destructor Documentation

NumberTree

NumberTree(NumberTreerhs, InternalConstructsignifier)

Parameters

signifier: InternalConstruct

~NumberTree

~NumberTree()

Property Documentation

PDFDict

PDFDictPDFDict[get]

Member Function Documentation

ConstructorRetrieve

static NumberTreeConstructorRetrieve(System.IntPtrignored)

Parameters

ignored: System.IntPtr

Returns:

NumberTree

Dispose

voidDispose()

Returns:

void

DisposeChildren

voidDisposeChildren()

Returns:

void

Equals

override boolEquals(objectobj)

Parameters

obj: object

Returns:

override bool

Get

PDFObjectGet(intkey)

Parameters

key: int

The integer of the PDFObject to get from the tree.

Returns:

- The PDFObject value corresponding to the supplied key

Retrieves an entry from this NumberTree.

Put

voidPut(intkey, PDFObjectvalue)

Parameters

key: int

The integer of the PDFObject to put in the tree.

value: PDFObject

The PDFObject to be associated with key.

Returns:

void

Puts a new entry in this NumberTree. If an entry with this name is already in the tree, it is replaced.

Remove

voidRemove(intkey)

Parameters

key: int

The integer of the PDFObject to remove from the tree.

Returns:

void

Removes the specified PDFObject from this NumberTree. It does nothing if no PDFObject of that number exists in this NumberTree.