IPersistStorageImpl Class

This class implements the IPersistStorage interface.

template <
   class T
>
class ATL_NO_VTABLE IPersistStorageImpl :
   public IPersistStorage

Parameters

  • T
    Your class, derived from IPersistStorageImpl.

Remarks

IPersistStorageImpl implements the IPersistStorage interface, which allows a client to request that your object load and save its persistent data using a storage.

The implementation of this class requires class T to make an implementation of the IPersistStreamInit interface available via QueryInterface. Typically this means that class T should derive from IPersistStreamInitImpl, provide an entry for IPersistStreamInit in the COM map, and use a property map to describe the class's persistent data.

Related Articles   ATL Tutorial, Creating an ATL Project

Requirements

Header: atlcom.h

See Also

Concepts

IPersistStorageImpl Members

Storages and Streams

IPersistStreamInitImpl Class

IPersistPropertyBagImpl Class

ATL Class Overview