typedef
OPAQUE_64_BITS
PDNumTree
;
void
PDNumTreeEnum(
PDNumTree
theTree
,
CosObjEnumProc
proc
,
void
*
clientData
);
theTree | IN/OUT A number tree.
|
proc | IN/OUT A procedure to call once for each number destination pair in
theTree . |
clientData | IN/OUT Data used by the enumeration procedure.
clientData is passed to the enumeration procedure proc each time a number tree is encountered. |
ASBool
PDNumTreeEqual(
PDNumTree
tree1
,
PDNumTree
tree2
);
tree1 | A number tree.
|
tree2 | Another number tree.
|
PDNumTree
PDNumTreeFromCosObj(
CosObj
obj
);
obj |
obj
. ASBool
PDNumTreeGet(
PDNumTree
theTree
,
ASInt32
key
,
CosObj
*
value
);
theTree | The PDNumTree requested.
|
key | The number of the entry to retrieve.
|
value | (Filled by the method) The value associated with
key . |
CosObj
PDNumTreeGetCosObj(
PDNumTree
theTree
);
theTree |
theTree
. ASBool
PDNumTreeIsValid(
PDNumTree
theTree
);
theTree | The PDNumTree whose validity is desired.
|
PDNumTree
PDNumTreeNew(
PDDoc
pdDoc
);
pdDoc | The document for which a new number tree is desired.
|
The newly created number tree, or a NULL
CosObj if Acrobat is unable to create a PDNumTree for the document specified by pdDoc
.
PDNumTreeIsValid() should be called to determine if the number tree returned by PDNumTreeNew() is usable.
void
PDNumTreePut(
PDNumTree
theTree
,
ASInt32
key
,
CosObj
value
);
theTree | IN/OUT The number tree for which a new entry is added
|
key | IN/OUT The number of the entry.
|
value | IN/OUT The value associated with
key . |
void
PDNumTreeRemove(
PDNumTree
theTree
,
ASInt32
key
);
theTree | IN/OUT The number tree from which an entry is removed.
|
key | IN/OUT The number of the entry to remove.
|