CXMLSerializeImp Class

class CXMLSerializeImp: public IXMLSerialize

The CXMLSerializeImp class provides a basic implementation of the IXMLSerialize interface. To take part in the serialization process, a formatter class should derive from CXMLSerializeImp and provide an implementation for the IXMLSerialize::XMLSerialize() virtual. During an XML File Open/Save operation, the serialization framework calls the formatter's XMLSerialize() override through the application's document.

 GetElementType,  IsDataAvailableToWrite,  PreReadXML,  XMLSerialize, and IXMLSerialize*

See Also  IXMLSerialize

Defined in: XMLCommon.h

Class Members

CXMLSerializeImp(LPCTSTR strElementType = NULL)

Constructor.

virtual  ~CXMLSerializeImp()

Destructor.

virtual void  GetElementType(LPTSTR str)

Gets the tag name.

virtual BOOL  IsDataAvailableToWrite()

Called to confirm the availability of persistable data.

virtual void  PreReadXML()

Called before a read operation.

virtual void  XMLSerialize(SECXMLArchive& ar)

Serialization function

virtual  operator IXMLSerialize*()

Overloaded operator