1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // 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
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 // Class RMemWriteStream
17 inline RMemWriteStream::RMemWriteStream(const MExternalizer<TStreamRef>& anExter)
18 : RWriteStream(anExter)
20 Constructs a write stream with an externalizer. For example, CStoreMap implements
21 MExternalizer<TStreamRef>.
23 @param anExter Specifies an externalizer.
29 // Class RDesWriteStream
30 inline RDesWriteStream::RDesWriteStream(const MExternalizer<TStreamRef>& anExter)
31 : RWriteStream(anExter)
33 Constructs a write stream with an externalizer. For example, CStoreMap implements
34 MExternalizer<TStreamRef>.
36 @param anExter Specifies an externalizer.
42 // Class RBufWriteStream
43 inline RBufWriteStream::RBufWriteStream(const MExternalizer<TStreamRef>& anExter)
44 : RWriteStream(anExter)
46 Constructs a write stream with an externalizer. For example, CStoreMap implements
47 MExternalizer<TStreamRef>.
49 @param anExter Specifies an externalizer.
55 inline void RBufWriteStream::Append(CBufBase& aBuf)
57 Open a stream that writes to a dynamic buffer using insert mode.
59 @param aBuf The dynamic buffer that will be the sink of this stream.
60 @see RBufWriteStream::Insert
62 {Insert(aBuf,aBuf.Size());}