Symbian3/PDK/Source/GUID-EEA5F7C6-8916-5FB9-8367-002F41A576D4.dita
changeset 1 25a17d01db0c
child 3 46218c8b8afa
equal deleted inserted replaced
0:89d6a7a84779 1:25a17d01db0c
       
     1 <?xml version="1.0" encoding="utf-8"?>
       
     2 <!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
       
     3 <!-- This component and the accompanying materials are made available under the terms of the License 
       
     4 "Eclipse Public License v1.0" which accompanies this distribution, 
       
     5 and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
       
     6 <!-- Initial Contributors:
       
     7     Nokia Corporation - initial contribution.
       
     8 Contributors: 
       
     9 -->
       
    10 <!DOCTYPE concept
       
    11   PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
       
    12 <concept xml:lang="en" id="GUID-EEA5F7C6-8916-5FB9-8367-002F41A576D4"><title>Memory stores</title><prolog><metadata><keywords/></metadata></prolog><conbody><p>A memory store is a non-persistent store and is implemented entirely within RAM.</p> <p>It implements many of the operations defined by the store abstract framework; existing streams within the store can be changed.</p> <p>Specifically, streams in a memory store can be:</p> <ul><li id="GUID-9218D335-73FA-5DEC-AC11-0185752DE133"><p>overwritten </p> </li> <li id="GUID-CAAB0DA6-176D-500A-96ED-F920BCD85318"><p>replaced </p> </li> <li id="GUID-E145D872-750F-5564-8ABD-7E20B3D6AD3D"><p>appended </p> </li> <li id="GUID-4E48D573-E561-55C5-A316-629042031310"><p>deleted </p> </li> <li id="GUID-996787DA-78C3-5B85-A446-4F30D26024E8"><p>created in advance of being written to </p> </li> </ul> <p>Overwriting an existing stream can result in a shorter stream; however, a stream cannot be extended beyond its original length. Replacing a stream can result in a stream which is longer or shorter than the original.</p> <p>The order in which streams are written to a memory store is not important as streams can be changed and rewritten.</p> <p>The <codeph>CBufStore</codeph> class encapsulates an in-memory non-persistent store. </p> <section><title>See also</title> <p><xref href="GUID-D8CC5B36-41DA-5989-8FA8-3F56306146A3.dita">Introduction to stores</xref> </p> </section> </conbody></concept>