Symbian3/SDK/Source/GUID-EEA5F7C6-8916-5FB9-8367-002F41A576D4.dita
author Dominic Pinkman <Dominic.Pinkman@Nokia.com>
Thu, 21 Jan 2010 18:18:20 +0000
changeset 0 89d6a7a84779
permissions -rw-r--r--
Initial contribution of Documentation_content according to Feature bug 1266 bug 1268 bug 1269 bug 1270 bug 1372 bug 1374 bug 1375 bug 1379 bug 1380 bug 1381 bug 1382 bug 1383 bug 1385

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies) All rights reserved. -->
<!-- This component and the accompanying materials are made available under the terms of the License 
"Eclipse Public License v1.0" which accompanies this distribution, 
and is available at the URL "http://www.eclipse.org/legal/epl-v10.html". -->
<!-- Initial Contributors:
    Nokia Corporation - initial contribution.
Contributors: 
-->
<!DOCTYPE concept
  PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd">
<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>