Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
CArchive::operator >>
CArchive                                    Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  friend CArchive& operator >>( CArchive &ar, CObject *& pOb )
  throw( CArchiveException, CFileException, CMemoryException );
  friend CArchive& operator >>( CArchive& ar, const CObject *& pOb )
  throw( CArchiveException, CFileException, CMemoryException );
  CArchive& operator >>( BYTE& by )
  throw( CArchiveException, CFileException );
  CArchive& operator >>( WORD& w )
  throw( CArchiveException, CFileException );
  CArchive& operator >>( LONG& l )
  throw( CArchiveException, CFileException );
  CArchive& operator >>( DWORD& dw )
  throw( CArchiveException, CFileException );
 
  Remarks
 
  Loads the indicated object or primitive type from the archive.
 
  If you used the IMPLEMENT_SERIAL macro in your class implementation,
  then the extraction operators overloaded for CObject call the protected
  ReadObject function (with a nonzero run-time class pointer). This
  function, in turn, calls the Serialize function of the class.
 
  Return Value
 
  A CArchive reference that enables multiple insertion operators on a
  single line.
 
  Example
 
  int i;
  extern CArchive ar;
  if( ar.IsLoading() )
    ar >> i;
 
 
  See Also
 
  CArchive::ReadObject, CObject::Serialize
 
 
                                     -♦-