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

const PdfDictionary & PoDoFo::PdfVariant::GetDictionary_NoDL (  ) const [inline, protected, inherited]

Version of GetDictionary() that doesn't trigger a delayed load

a PdfDictionary

Definition at line 789 of file PdfVariant.h.

References PoDoFo::ePdfDataType_Dictionary, PoDoFo::ePdfError_InvalidDataType, PoDoFo::PdfVariant::m_eDataType, and PoDoFo::PdfVariant::UVariant::pData.

Referenced by PoDoFo::PdfVariant::GetDictionary(), and PoDoFo::PdfParserObject::ParseStream().

    // Test against eDataType directly not GetDataType() since
    // we don't want to trigger a delayed load (and if required one has
    // already been triggered).
    if( m_eDataType != ePdfDataType_Dictionary )
        PODOFO_RAISE_ERROR( ePdfError_InvalidDataType );

    return *(reinterpret_cast<PdfDictionary* const>(m_Data.pData));

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index