Vanilla.PDF  1.3.0
Cross-platform toolkit for creating and modifying PDF documents
List of all members
ObjectHandle Class Reference

Base class for syntactic tokens. More...

Inheritance diagram for ObjectHandle:
IUnknownHandle ArrayObjectHandle BooleanObjectHandle DictionaryObjectHandle IndirectObjectReferenceHandle IntegerObjectHandle NameObjectHandle NullObjectHandle RealObjectHandle StreamObjectHandle StringObjectHandle
error_type Object_GetType (ObjectHandle *handle, ObjectType *result)
 Get derived type of current object.
 
error_type Object_TypeName (ObjectType type, string_type *result)
 Get string representation of object type.
 
error_type Object_GetOffset (ObjectHandle *handle, offset_type *result)
 Get input file offset where this object was found.
 
error_type Object_Release (ObjectHandle *handle)
 Decrement the internal reference counter. More...
 
error_type Object_ToArray (ObjectHandle *handle, ArrayObjectHandle **result)
 Reinterpret current object as ArrayObjectHandle.
 
error_type Object_ToStream (ObjectHandle *handle, StreamObjectHandle **result)
 Reinterpret current object as StreamObjectHandle.
 
error_type Object_ToDictionary (ObjectHandle *handle, DictionaryObjectHandle **result)
 Reinterpret current object as DictionaryObjectHandle.
 
error_type Object_ToIndirectReference (ObjectHandle *handle, IndirectObjectReferenceHandle **result)
 Reinterpret current object as IndirectObjectReferenceHandle.
 
error_type Object_ToInteger (ObjectHandle *handle, IntegerObjectHandle **result)
 Reinterpret current object as IntegerObjectHandle.
 
error_type Object_ToBoolean (ObjectHandle *handle, BooleanObjectHandle **result)
 Reinterpret current object as BooleanObjectHandle.
 
error_type Object_ToReal (ObjectHandle *handle, RealObjectHandle **result)
 Reinterpret current object as RealObjectHandle.
 
error_type Object_ToNull (ObjectHandle *handle, NullObjectHandle **result)
 Reinterpret current object as NullObjectHandle.
 
error_type Object_ToName (ObjectHandle *handle, NameObjectHandle **result)
 Reinterpret current object as NameObjectHandle.
 
error_type Object_ToString (ObjectHandle *handle, StringObjectHandle **result)
 Reinterpret current object as StringObjectHandle.
 

Additional Inherited Members

- Public Member Functions inherited from IUnknownHandle
error_type IUnknown_AddRef (IUnknownHandle *handle)
 Increment the internal reference counter.
 

Detailed Description

Base class for syntactic tokens.

Examples:
extract.c.

Friends And Related Function Documentation

◆ Object_Release()

error_type Object_Release ( ObjectHandle handle)
related

Decrement the internal reference counter.

When the internal counter reaches zero the object is deleted. Releasing already disposed object causes undefined behavior.

See also
IUnknown_Release
Examples:
extract.c.

The documentation for this class was generated from the following file: