CTypedPtrArrayFTR Class

class CTypedPtrArrayFTR: public CArrayFTRBase,_dataType>

The CTypedPtrArrayFTR class is the XML formatter for the MFC CTypedPtrArray collection template class. In order to serialize the contents of a CTypedPtrArray, your serialization code should first create an instance of the CTypedPtrArrayFTR 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

_arrBase

Template parameter specifying the base class of the typed pointer array class.

_dataType

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

_dataFTR=CObjectFTR_Router<_dataType>

XML formatter for the data type stored in the array.

Comments

The CObjectFTR_Router<_dataType> default option serves as a step-in when using the CTypedPtrArray with a CObArray and the XML Formatter Factory.

Class Members

CTypedPtrArrayFTR(_array*& pArray, LPCTSTR strElement = _T("TypedPtrArray"))

Constructor.