CArchive::operator <<

This operator stores the indicated object or primitive type to the archive.

friend CArchive& operator <<( CArchive& ar, const CObject* pOb );
throw( CArchiveException, CFileException );

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::WriteObject, CObject::Serialize