1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). |
1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 // All rights reserved. |
2 // All rights reserved. |
3 // This component and the accompanying materials are made available |
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 |
4 // under the terms of "Eclipse Public License v1.0" |
5 // which accompanies this distribution, and is available |
5 // which accompanies this distribution, and is available |
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html". |
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 // |
7 // |
8 // Initial Contributors: |
8 // Initial Contributors: |
9 // Nokia Corporation - initial contribution. |
9 // Nokia Corporation - initial contribution. |
10 // |
10 // |
11 // Contributors: |
11 // Contributors: |
14 // |
14 // |
15 |
15 |
16 // Class RMemWriteStream |
16 // Class RMemWriteStream |
17 inline RMemWriteStream::RMemWriteStream(const MExternalizer<TStreamRef>& anExter) |
17 inline RMemWriteStream::RMemWriteStream(const MExternalizer<TStreamRef>& anExter) |
18 : RWriteStream(anExter) |
18 : RWriteStream(anExter) |
19 /** |
19 /** |
20 Constructs a write stream with an externalizer. For example, CStoreMap implements |
20 Constructs a write stream with an externalizer. For example, CStoreMap implements |
21 MExternalizer<TStreamRef>. |
21 MExternalizer<TStreamRef>. |
22 |
22 |
23 @param anExter Specifies an externalizer. |
23 @param anExter Specifies an externalizer. |
24 @see MExternalizer |
24 @see MExternalizer |
25 @see CStoreMap |
25 @see CStoreMap |
26 */ |
26 */ |
27 {} |
27 {} |
28 |
28 |
29 // Class RDesWriteStream |
29 // Class RDesWriteStream |
30 inline RDesWriteStream::RDesWriteStream(const MExternalizer<TStreamRef>& anExter) |
30 inline RDesWriteStream::RDesWriteStream(const MExternalizer<TStreamRef>& anExter) |
31 : RWriteStream(anExter) |
31 : RWriteStream(anExter) |
32 /** |
32 /** |
33 Constructs a write stream with an externalizer. For example, CStoreMap implements |
33 Constructs a write stream with an externalizer. For example, CStoreMap implements |
34 MExternalizer<TStreamRef>. |
34 MExternalizer<TStreamRef>. |
35 |
35 |
36 @param anExter Specifies an externalizer. |
36 @param anExter Specifies an externalizer. |
37 @see MExternalizer |
37 @see MExternalizer |
38 @see CStoreMap |
38 @see CStoreMap |
39 */ |
39 */ |
40 {} |
40 {} |
41 |
41 |
42 // Class RBufWriteStream |
42 // Class RBufWriteStream |
43 inline RBufWriteStream::RBufWriteStream(const MExternalizer<TStreamRef>& anExter) |
43 inline RBufWriteStream::RBufWriteStream(const MExternalizer<TStreamRef>& anExter) |
44 : RWriteStream(anExter) |
44 : RWriteStream(anExter) |
45 /** |
45 /** |
46 Constructs a write stream with an externalizer. For example, CStoreMap implements |
46 Constructs a write stream with an externalizer. For example, CStoreMap implements |
47 MExternalizer<TStreamRef>. |
47 MExternalizer<TStreamRef>. |
48 |
48 |
49 @param anExter Specifies an externalizer. |
49 @param anExter Specifies an externalizer. |
50 @see MExternalizer |
50 @see MExternalizer |
51 @see CStoreMap |
51 @see CStoreMap |
52 */ |
52 */ |
53 {} |
53 {} |
54 |
54 |
55 inline void RBufWriteStream::Append(CBufBase& aBuf) |
55 inline void RBufWriteStream::Append(CBufBase& aBuf) |
56 /** |
56 /** |
57 Open a stream that writes to a dynamic buffer using insert mode. |
57 Open a stream that writes to the dynamic buffer specified in the aBuf argument |
|
58 using insert mode. |
58 |
59 |
59 @param aBuf The dynamic buffer that will be the sink of this stream. |
60 @param aBuf The dynamic buffer that will be the source of this stream. |
60 @see RBufWriteStream::Insert |
61 @see RBufWriteStream::Insert |
61 */ |
62 */ |
62 {Insert(aBuf,aBuf.Size());} |
63 {Insert(aBuf,aBuf.Size());} |
|
64 |