PoDoFo::PdfDataType Class Reference

#include <PdfDataType.h>

Inheritance diagram for PoDoFo::PdfDataType:

PoDoFo::PdfData PoDoFo::PdfName PoDoFo::PdfReference PoDoFo::PdfString

List of all members.

Public Member Functions

virtual void Write (PdfOutputDevice *pDevice, const PdfEncrypt *pEncrypt=NULL) const =0
virtual bool IsDirty () const
virtual void SetDirty (bool bDirty)

Protected Member Functions

 PdfDataType ()


Detailed Description

An interface for all PDF datatype classes.

See also:
PdfName

PdfArray

PdfReference

PdfVariant

PdfDictionary

PdfString


Constructor & Destructor Documentation

PoDoFo::PdfDataType::PdfDataType (  )  [protected]

Create a new PdfDataType. Can only be called by subclasses


Member Function Documentation

bool PoDoFo::PdfDataType::IsDirty (  )  const [virtual]

The dirty flag is set if this variant has been modified after construction.

Usually the dirty flag is also set if you call any non-const member function as we cannot determine if you actually changed something or not.

Returns:
true if the value is dirty and has been modified since construction

void PoDoFo::PdfDataType::SetDirty ( bool  bDirty  )  [virtual]

Sets the dirty flag of this PdfVariant

Parameters:
bDirty true if this PdfVariant has been modified from the outside
See also:
IsDirty

virtual void PoDoFo::PdfDataType::Write ( PdfOutputDevice pDevice,
const PdfEncrypt pEncrypt = NULL 
) const [pure virtual]

Write the complete datatype to a file.

Parameters:
pDevice write the object to this device
pEncrypt an encryption object which is used to encrypt this object or NULL to not encrypt this object

Implemented in PoDoFo::PdfData, PoDoFo::PdfName, PoDoFo::PdfReference, and PoDoFo::PdfString.


Generated on Tue Jul 28 00:01:46 2009 for PoDoFo by  doxygen 1.5.9