Symbian3/SDK/Source/GUID-EEA5F7C6-8916-5FB9-8367-002F41A576D4.dita
author Dominic Pinkman <dominic.pinkman@nokia.com>
Tue, 20 Jul 2010 12:00:49 +0100
changeset 13 48780e181b38
parent 7 51a74ef9ed63
permissions -rw-r--r--
Week 28 contribution of SDK documentation content. See release notes for details. Fixes bugs Bug 1897 and Bug 1522.

<?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 id="GUID-EEA5F7C6-8916-5FB9-8367-002F41A576D4" xml:lang="en"><title>Memory
Stores</title><shortdesc>Introduces in-RAM stores. </shortdesc><prolog><metadata><keywords/></metadata></prolog><conbody>
<p>A memory store is a non-persistent store and is implemented entirely within
RAM. 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 id="GUID-40543B50-15EB-4A42-B00A-04686AFCD470"><title>See also</title><p><xref href="GUID-D8CC5B36-41DA-5989-8FA8-3F56306146A3.dita">Introduction
to Stores</xref> </p> </section>
</conbody></concept>