PdfObjectId class final
Identity of an indirect object: the (number, generation) pair.
The generation is part of the key because a file can hold 5 0 obj and
5 1 obj at the same time, and 5 0 R points only to the first.
Constructors
- PdfObjectId(int number, int generation)
-
Creates the identity from the number and the generation.
const
- PdfObjectId.fromIndirect(PdfIndirect ref)
-
Identity pointed to by an indirect reference.
factory
-
PdfObjectId.fromObject(PdfObjectBase<
PdfDataType> object) -
Identity of an already materialized object.
factory
Properties
- generation → int
-
Object generation (
objgen).final - hashCode → int
-
The hash code for this object.
no setteroverride
- number → int
-
Object number (
objser).final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toIndirect(
) → PdfIndirect - Matching indirect reference.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override