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

void PoDoFo::PdfDataType::AssertMutable (  ) const [inline, protected, inherited]

Will throw an exception if called on an immutable object, so this should be called before actually changing a value!

Definition at line 131 of file PdfDataType.h.

References PoDoFo::ePdfError_ChangeOnImmutable.

Referenced by PoDoFo::PdfDictionary::AddKey(), PoDoFo::PdfDictionary::Clear(), PoDoFo::PdfArray::Clear(), PoDoFo::PdfArray::push_back(), PoDoFo::PdfDictionary::RemoveKey(), and SetHexData().

        throw new PdfError( ePdfError_ChangeOnImmutable );

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index