PDFix SDK  6.12.0
PdsObject Struct Referenceabstract

PdsObject class. More...

Inheritance diagram for PdsObject:
PdsArray PdsBoolean PdsDictionary PdsName PdsNull PdsNumber PdsStream PdsString

Public Member Functions

virtual PdfObjectType GetObjectType () const =0
 Gets the type of an object. More...
 
virtual int GetId () const =0
 Gets the object number. More...
 
virtual int GetGenId () const =0
 Gets the generation number. More...
 
virtual PdfDocGetDoc () const =0
 Gets a reference to a document. More...
 

Detailed Description

PdsObject class.

A PdsObject is a general object in a PDF file, which may be of any PdsObject object type. The Object layer provides several methods that are not specific to any particular object.

Member Function Documentation

◆ GetDoc()

virtual PdfDoc* PdsObject::GetDoc ( ) const
pure virtual

Gets a reference to a document.

Returns
PdfDoc object.

◆ GetGenId()

virtual int PdsObject::GetGenId ( ) const
pure virtual

Gets the generation number.

Returns
Generation number

◆ GetId()

virtual int PdsObject::GetId ( ) const
pure virtual

Gets the object number.

Returns
Object number or zero in case of a direct object

◆ GetObjectType()

virtual PdfObjectType PdsObject::GetObjectType ( ) const
pure virtual

Gets the type of an object.

Returns
Object type, kObjectUnknown otherwise.