Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_cent_rep_example.html
changeset 1 25a17d01db0c
child 6 43e37759235e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_cent_rep_example.html	Fri Jan 22 18:26:19 2010 +0000
@@ -0,0 +1,281 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
+<title>TB10.1 Example Applications: CCentRepExample Class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+<link href="tabs.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.5.3 -->
+<h1>CCentRepExample Class Reference</h1><!-- doxytag: class="CCentRepExample" -->
+<p>
+<a href="class_c_cent_rep_example-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
+<tr><td></td></tr>
+<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_cent_rep_example.html#971b2383437b99571ed67451d76c9e58">~CCentRepExample</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_cent_rep_example.html#513576b361a857b6cdc737672179a612">ResetL</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_cent_rep_example.html#9c9e68c292232731fe5e5608251a05e2">OpenRepositoryL</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="3e29c63f9211c107407e7ab5a667541e"></a><!-- doxytag: member="CCentRepExample::RdChgSetL" ref="3e29c63f9211c107407e7ab5a667541e" args="()" -->
+void&nbsp;</td><td class="memItemRight" valign="bottom"><b>RdChgSetL</b> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_cent_rep_example.html#b96ba0baa8204931f40a32834f1849f3">ReadSettingsL</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_cent_rep_example.html#4e0ebe8e6bff9c146211cca8748d5739">ChangeSettingsL</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_cent_rep_example.html#88cdab03335c7b3d261cbf84592b38d4">MoveSettingsL</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_cent_rep_example.html#5b2b3b4cdba5336eec39b703458c9971">ResetAndNotifyL</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_cent_rep_example.html#4d89eb968ca8b89aff9b363e73a4fa38">FindSettingsL</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_cent_rep_example.html#f6321df74160a46e24b176883973d7f5">TransactionFuncL</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_cent_rep_example.html#f1334cf942baf9af3ac1d53f71af4419">DeleteL</a> ()</td></tr>
+
+<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="el" href="class_c_cent_rep_example.html">CCentRepExample</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_c_cent_rep_example.html#6761078f15ec4f9085cb01402f8444a2">NewLC</a> ()</td></tr>
+
+</table>
+<hr><a name="_details"></a><h2>Detailed Description</h2>
+<a class="el" href="class_c_cent_rep_example.html">CCentRepExample</a> demonstrates some uses of the CRepository class. CRepository provides access to the Symbian platform central repository, which is used to store system and application settings.<p>
+The class demonstrates how to open a repository, read, write, and delete settings, perform operations in a transaction, find settings, restore default settings, and request change notifications. 
+<p>Definition at line <a class="el" href="centrepexample_8h-source.html#l00039">39</a> of file <a class="el" href="centrepexample_8h-source.html">centrepexample.h</a>.</p>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="971b2383437b99571ed67451d76c9e58"></a><!-- doxytag: member="CCentRepExample::~CCentRepExample" ref="971b2383437b99571ed67451d76c9e58" args="()" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">CCentRepExample::~CCentRepExample           </td>
+          <td>(</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Destructor 
+<p>Definition at line <a class="el" href="centrepexample_8cpp-source.html#l00112">112</a> of file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
+
+</div>
+</div><p>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="6761078f15ec4f9085cb01402f8444a2"></a><!-- doxytag: member="CCentRepExample::NewLC" ref="6761078f15ec4f9085cb01402f8444a2" args="()" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname"><a class="el" href="class_c_cent_rep_example.html">CCentRepExample</a> * CCentRepExample::NewLC           </td>
+          <td>(</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"><code> [static]</code></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Allocates and constructs a <a class="el" href="class_c_cent_rep_example.html">CCentRepExample</a> object and leaves it on the cleanup stack. Initialises all member data to their default values. 
+<p>Definition at line <a class="el" href="centrepexample_8cpp-source.html#l00086">86</a> of file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="513576b361a857b6cdc737672179a612"></a><!-- doxytag: member="CCentRepExample::ResetL" ref="513576b361a857b6cdc737672179a612" args="()" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void CCentRepExample::ResetL           </td>
+          <td>(</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Resets the whole repository to the state of the initialization file originally used to set it up.  KErrNotSupported, system-wide error codes. 
+<p>Definition at line <a class="el" href="centrepexample_8cpp-source.html#l00128">128</a> of file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="9c9e68c292232731fe5e5608251a05e2"></a><!-- doxytag: member="CCentRepExample::OpenRepositoryL" ref="9c9e68c292232731fe5e5608251a05e2" args="()" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void CCentRepExample::OpenRepositoryL           </td>
+          <td>(</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Creates a CRepository object for accessing the repository with the specified UID and displays some of the initial settings.  KErrNotFound, KErrAbort, KErrPermissionDenied, KErrArgument, system-wide error codes. 
+<p>Definition at line <a class="el" href="centrepexample_8cpp-source.html#l00151">151</a> of file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="b96ba0baa8204931f40a32834f1849f3"></a><!-- doxytag: member="CCentRepExample::ReadSettingsL" ref="b96ba0baa8204931f40a32834f1849f3" args="()" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void CCentRepExample::ReadSettingsL           </td>
+          <td>(</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Reads the Changed settings and prints them.  KErrNotFound, KErrAbort, KErrPermissionDenied, KErrArgument, system-wide error codes. 
+<p>Definition at line <a class="el" href="centrepexample_8cpp-source.html#l00201">201</a> of file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="4e0ebe8e6bff9c146211cca8748d5739"></a><!-- doxytag: member="CCentRepExample::ChangeSettingsL" ref="4e0ebe8e6bff9c146211cca8748d5739" args="()" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void CCentRepExample::ChangeSettingsL           </td>
+          <td>(</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Sets an existing setting to a new value or creates a new setting with a value if the setting doesn't exist.  KErrAbort, KErrPermissionDenied, KErrArgument, system-wide error codes. 
+<p>Definition at line <a class="el" href="centrepexample_8cpp-source.html#l00181">181</a> of file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="88cdab03335c7b3d261cbf84592b38d4"></a><!-- doxytag: member="CCentRepExample::MoveSettingsL" ref="88cdab03335c7b3d261cbf84592b38d4" args="()" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void CCentRepExample::MoveSettingsL           </td>
+          <td>(</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Moves a key from one location to another.  KErrAbort, KErrPermissionDenied, KErrArgument, system-wide error codes. 
+<p>Definition at line <a class="el" href="centrepexample_8cpp-source.html#l00342">342</a> of file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="5b2b3b4cdba5336eec39b703458c9971"></a><!-- doxytag: member="CCentRepExample::ResetAndNotifyL" ref="5b2b3b4cdba5336eec39b703458c9971" args="()" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void CCentRepExample::ResetAndNotifyL           </td>
+          <td>(</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Sets KInt1 to a different value, resets it and gets notification that this value has changed.  KErrAlreadyExists error from IPC or server side resource allocation failure 
+<p>Definition at line <a class="el" href="centrepexample_8cpp-source.html#l00303">303</a> of file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="4d89eb968ca8b89aff9b363e73a4fa38"></a><!-- doxytag: member="CCentRepExample::FindSettingsL" ref="4d89eb968ca8b89aff9b363e73a4fa38" args="()" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void CCentRepExample::FindSettingsL           </td>
+          <td>(</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Finds all the settings for both simple and structured data. Finds all the settings that exist and match the specification given by a partialKey and a mask. Matches occur whenever (key &amp; mask) == (partialKey &amp; mask).  KErrAbort, KErrPermissionDenied, KErrArgument, system-wide error codes. 
+<p>Definition at line <a class="el" href="centrepexample_8cpp-source.html#l00240">240</a> of file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="f6321df74160a46e24b176883973d7f5"></a><!-- doxytag: member="CCentRepExample::TransactionFuncL" ref="f6321df74160a46e24b176883973d7f5" args="()" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void CCentRepExample::TransactionFuncL           </td>
+          <td>(</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Perform read and write operations using transactions.  KErrLocked, panic. 
+<p>Definition at line <a class="el" href="centrepexample_8cpp-source.html#l00358">358</a> of file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
+
+</div>
+</div><p>
+<a class="anchor" name="f1334cf942baf9af3ac1d53f71af4419"></a><!-- doxytag: member="CCentRepExample::DeleteL" ref="f1334cf942baf9af3ac1d53f71af4419" args="()" -->
+<div class="memitem">
+<div class="memproto">
+      <table class="memname">
+        <tr>
+          <td class="memname">void CCentRepExample::DeleteL           </td>
+          <td>(</td>
+          <td class="paramname">          </td>
+          <td>&nbsp;)&nbsp;</td>
+          <td width="100%"></td>
+        </tr>
+      </table>
+</div>
+<div class="memdoc">
+
+<p>
+Deletes 3 settings KInt1_InitialValue, KMoveTarget and KReal1  KErrAbort, KErrPermissionDenied, KErrArgument, system-wide error codes. 
+<p>Definition at line <a class="el" href="centrepexample_8cpp-source.html#l00431">431</a> of file <a class="el" href="centrepexample_8cpp-source.html">centrepexample.cpp</a>.</p>
+
+</div>
+</div><p>
+<hr size="1"><address style="text-align: right;"><small>Generated on Thu Jan 21 10:33:03 2010 for TB10.1 Example Applications by&nbsp;
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>
+</body>
+</html>