persistentstorage/store/INC/S32MEM.INL
changeset 0 08ec8eefde2f
equal deleted inserted replaced
-1:000000000000 0:08ec8eefde2f
       
     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 "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 // Class RMemWriteStream
       
    17 inline RMemWriteStream::RMemWriteStream(const MExternalizer<TStreamRef>& anExter)
       
    18 	: RWriteStream(anExter)
       
    19 /**
       
    20 Constructs a write stream with an externalizer.  For example, CStoreMap implements
       
    21 MExternalizer<TStreamRef>.
       
    22 
       
    23 @param anExter Specifies an externalizer.
       
    24 @see MExternalizer
       
    25 @see CStoreMap
       
    26 */
       
    27 	{}
       
    28 
       
    29 // Class RDesWriteStream
       
    30 inline RDesWriteStream::RDesWriteStream(const MExternalizer<TStreamRef>& anExter)
       
    31 	: RWriteStream(anExter)
       
    32 /**
       
    33 Constructs a write stream with an externalizer.  For example, CStoreMap implements
       
    34 MExternalizer<TStreamRef>.
       
    35 
       
    36 @param anExter Specifies an externalizer.
       
    37 @see MExternalizer
       
    38 @see CStoreMap
       
    39 */
       
    40 	{}
       
    41 
       
    42 // Class RBufWriteStream
       
    43 inline RBufWriteStream::RBufWriteStream(const MExternalizer<TStreamRef>& anExter)
       
    44 	: RWriteStream(anExter)
       
    45 /**
       
    46 Constructs a write stream with an externalizer.  For example, CStoreMap implements
       
    47 MExternalizer<TStreamRef>.
       
    48 
       
    49 @param anExter Specifies an externalizer.
       
    50 @see MExternalizer
       
    51 @see CStoreMap
       
    52 */
       
    53 	{}
       
    54 
       
    55 inline void RBufWriteStream::Append(CBufBase& aBuf)
       
    56 /**
       
    57 Open a stream that writes to the dynamic buffer specified in the aBuf argument
       
    58 using insert mode.
       
    59 
       
    60 @param aBuf The dynamic buffer that will be the source of this stream.
       
    61 @see RBufWriteStream::Insert
       
    62 */
       
    63 	{Insert(aBuf,aBuf.Size());}
       
    64