Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: s32strm.h
Link against:

operator<<()

template <class T>
RWriteStream& operator<<(RWriteStream& aStream,const T& anObject);

Support

Supported from 5.0

Description

Externalises objects belonging to a store-aware class to the specified stream.

A store-aware class is one which defines the ExternalizeL() member function. The store framework causes the operator to call the ExternalizeL() member function, passing aStream as a parameter.

Almost any type of object may be externalised using this operator.

Parameters

RWriteStream& aStream

A reference to the write stream.

const T& anObject

The object of type <class T> to be externalised to the stream aStream.

Return value

RWriteStream& aStream

A reference to the write stream.