CArchive::IsLoading
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

CArchive::IsLoading

Determines whether the archive is loading data.

BOOL IsLoading( ) const;

Return Value

Nonzero if the archive is currently being used for loading; otherwise 0.

Remarks

This member function is called by the Serialize functions of the archived classes.

Example

int i;
extern CArchive ar;
if( ar.IsLoading() )
  ar >> i;
else
  ar << i;

See Also

CArchive Overview | Class Members | Hierarchy Chart | CArchive::IsStoring

Show:
© 2016 Microsoft