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

void PoDoFo::PdfVariant::DelayedLoadImpl (  ) [inline, protected, virtual]

Load all data of the object if delayed loading is enabled.

Never call this method directly; use DelayedLoad() instead.

You should override this to control deferred loading in your subclass. Note that this method should not load any associated streams, just the base object.

The default implementation throws. It should never be called, since objects that do not support delayed loading should not enable it.

While this method is not `const' it may be called from a const context, so be careful what you mess with.

Reimplemented in PoDoFo::PdfParserObject.

Definition at line 861 of file PdfVariant.h.

References PoDoFo::ePdfError_InternalLogic, and PODOFO_RAISE_ERROR.

Referenced by DelayedLoad().

{
    // Default implementation of virtual void DelayedLoadImpl() throws, since delayed
    // loading should not be enabled except by types that support it.
    PODOFO_RAISE_ERROR( ePdfError_InternalLogic );
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index