1.1 --- a/epoc32/include/s32mem.inl Tue Nov 24 13:55:44 2009 +0000
1.2 +++ b/epoc32/include/s32mem.inl Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -1,1 +1,62 @@
1.4 -s32mem.inl
1.5 +// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
1.6 +// All rights reserved.
1.7 +// This component and the accompanying materials are made available
1.8 +// under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
1.9 +// which accompanies this distribution, and is available
1.10 +// at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
1.11 +//
1.12 +// Initial Contributors:
1.13 +// Nokia Corporation - initial contribution.
1.14 +//
1.15 +// Contributors:
1.16 +//
1.17 +// Description:
1.18 +//
1.19 +
1.20 +// Class RMemWriteStream
1.21 +inline RMemWriteStream::RMemWriteStream(const MExternalizer<TStreamRef>& anExter)
1.22 + : RWriteStream(anExter)
1.23 +/**
1.24 +Constructs a write stream with an externalizer. For example, CStoreMap implements
1.25 +MExternalizer<TStreamRef>.
1.26 +
1.27 +@param anExter Specifies an externalizer.
1.28 +@see MExternalizer
1.29 +@see CStoreMap
1.30 +*/
1.31 + {}
1.32 +
1.33 +// Class RDesWriteStream
1.34 +inline RDesWriteStream::RDesWriteStream(const MExternalizer<TStreamRef>& anExter)
1.35 + : RWriteStream(anExter)
1.36 +/**
1.37 +Constructs a write stream with an externalizer. For example, CStoreMap implements
1.38 +MExternalizer<TStreamRef>.
1.39 +
1.40 +@param anExter Specifies an externalizer.
1.41 +@see MExternalizer
1.42 +@see CStoreMap
1.43 +*/
1.44 + {}
1.45 +
1.46 +// Class RBufWriteStream
1.47 +inline RBufWriteStream::RBufWriteStream(const MExternalizer<TStreamRef>& anExter)
1.48 + : RWriteStream(anExter)
1.49 +/**
1.50 +Constructs a write stream with an externalizer. For example, CStoreMap implements
1.51 +MExternalizer<TStreamRef>.
1.52 +
1.53 +@param anExter Specifies an externalizer.
1.54 +@see MExternalizer
1.55 +@see CStoreMap
1.56 +*/
1.57 + {}
1.58 +
1.59 +inline void RBufWriteStream::Append(CBufBase& aBuf)
1.60 +/**
1.61 +Open a stream that writes to a dynamic buffer using insert mode.
1.62 +
1.63 +@param aBuf The dynamic buffer that will be the sink of this stream.
1.64 +@see RBufWriteStream::Insert
1.65 +*/
1.66 + {Insert(aBuf,aBuf.Size());}