Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
CArchive::IsStoring
CArchive                                    Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL IsStoring() const;
 
  Remarks
 
  Determines if the archive is storing data. This member function is
  called by the Serialize functions of the archived classes.
 
  If the IsStoring status of an archive is TRUE, then its IsLoading status
  is FALSE, and vice versa.
 
  Return Value
 
  TRUE if the archive is currently being used for storing; otherwise
  FALSE.
 
  Example
 
  int i;
  extern CArchive ar;
  if( ar.IsStoring() )
    ar << i;
  else
    ar >> i;
 
 
  See Also
 
  CArchive::IsLoading
 
 
                                     -♦-