CPtrArrayFTR Class

class CPtrArrayFTR: public CArrayFTRBase

The CPtrArrayFTR class is the XML formatter for the MFC CPtrArray collection class. In order to serialize the contents of a CPtrArray, your serialization code should first create an instance of the CPtrArrayFTR class, initialize it with the array object and then pass the formatter to the SECXMLArchive::Read/Write method.

Defined in: XMLCollFormatters.h

Class Template Arguments

_dataType

Template parameter specifying the type of objects stored in the array.

_dataFTR

XML formatter for the data type stored in the array.

Class Members

CPtrArrayFTR(CPtrArray*& pArray, LPCTSTR strElementType = _T("PtrArray"))

Constructor.