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

PdfStream * PoDoFo::PdfVecObjects::CreateStream ( PdfObject pParent )

Creates a stream object This method is a factory for PdfStream objects.

Parameters:
pParentparent object
Returns:
a new stream object

Definition at line 478 of file PdfVecObjects.cpp.

References PoDoFo::PdfVecObjects::StreamFactory::CreateStream().

Referenced by PoDoFo::PdfObject::GetStream_NoDL(), PoDoFo::PdfObject::operator=(), and PoDoFo::PdfObject::PdfObject().

{
    PdfStream* pStream = m_pStreamFactory ?
        m_pStreamFactory->CreateStream( pParent ) :
        new PdfMemStream( pParent );

    return pStream;
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index