CArchive::operator >>

This operator loads the indicated object or primitive type from the archive.

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 );

CArchive& operator >>( float& f );
throw( CArchiveException, CFileException );

CArchive& operator >>( double& d );
throw( CArchiveException, CFileException );

At a Glance

Header file: Afx.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CArchive Overview, CArchive Operators,, Run-Time Object Model Support, CArchive::ReadObject, CObject::Serialize