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

const PdfArray & PoDoFo::PdfVariant::GetArray_NoDL (  ) const [inline, protected, inherited]

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

a array

Definition at line 740 of file PdfVariant.h.

References PoDoFo::ePdfDataType_Array, PoDoFo::ePdfError_InvalidDataType, PoDoFo::PdfVariant::m_eDataType, PoDoFo::PdfVariant::UVariant::pData, and PODOFO_RAISE_ERROR.

Referenced by PoDoFo::PdfVariant::GetArray().

    // 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_Array )
        PODOFO_RAISE_ERROR( ePdfError_InvalidDataType );

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

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index