Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

bool PoDoFo::PdfReference::IsIndirect (  ) const [inline]

Allows to check if a reference points to an indirect object.

A reference is indirect if object number and generation number are both not equal 0.

Returns:
true if this reference is the reference of an indirect object.

Definition at line 229 of file PdfReference.h.

Referenced by PoDoFo::PdfObject::GetStream_NoDL(), and PoDoFo::PdfObject::WriteObject().

{
    return !( !m_nObjectNo && !m_nGenerationNo );
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index