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

PdfReference PoDoFo::PdfVecObjects::GetNextFreeObject (  ) [private]
Returns:
the next free object reference

Definition at line 201 of file PdfVecObjects.cpp.

Referenced by CreateObject().

{
    PdfReference ref( static_cast<unsigned int>(m_nObjectCount), 0 );

    if( !m_lstFreeObjects.empty() )
    {
        ref = m_lstFreeObjects.front();
        m_lstFreeObjects.pop_front();
    }

    return ref;
}

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index