1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> 3 <title>oscl_rand.h Source File</title> 4 <link href="doxygen.css" rel="stylesheet" type="text/css"> 5 </head><body> 6 <!-- Generated by Doxygen 1.2.18 --> 7 <center> 8 <a class="qindex" href="index.html">Main Page</a> <a class="qindex" href="modules.html">Modules</a> <a class="qindex" href="hierarchy.html">Class Hierarchy</a> <a class="qindex" href="annotated.html">Data Structures</a> <a class="qindex" href="files.html">File List</a> <a class="qindex" href="functions.html">Data Fields</a> <a class="qindex" href="globals.html">Globals</a> </center> 9 <hr><h1>oscl_rand.h</h1><a href="oscl__rand_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="comment">// -*- c++ -*-</span> 10 00002 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> 11 00003 12 00004 <span class="comment">// O S C L _ R A N D</span> 13 00005 14 00006 <span class="comment">// = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =</span> 15 00007 16 00020 <span class="preprocessor">#ifndef OSCL_RAND_H_INCLUDED</span> 17 00021 <span class="preprocessor"></span><span class="preprocessor">#define OSCL_RAND_H_INCLUDED</span> 18 00022 <span class="preprocessor"></span> 19 00023 <span class="preprocessor">#ifndef OSCLCONFIG_UTIL_H_INCLUDED</span> 20 00024 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="osclconfig__util_8h.html">osclconfig_util.h</a>"</span> 21 00025 <span class="preprocessor">#endif</span> 22 00026 <span class="preprocessor"></span> 23 00027 <span class="preprocessor">#ifndef OSCL_BASE_H_INCLUDED</span> 24 00028 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__base_8h.html">oscl_base.h</a>"</span> 25 00029 <span class="preprocessor">#endif</span> 26 00030 <span class="preprocessor"></span> 27 00031 <span class="preprocessor">#ifndef OSCL_MEM_BASIC_FUNCTIONS_H</span> 28 00032 <span class="preprocessor"></span><span class="preprocessor">#include "<a class="code" href="oscl__mem__basic__functions_8h.html">oscl_mem_basic_functions.h</a>"</span> 29 00033 <span class="preprocessor">#endif</span> 30 00034 <span class="preprocessor"></span> 31 <a name="l00035"></a><a class="code" href="classOsclRand.html">00035</a> <span class="keyword">class </span><a class="code" href="classOsclRand.html">OsclRand</a> 32 00036 { 33 00037 <span class="keyword">public</span>: 34 00038 <a class="code" href="group__osclbase.html#a84">OSCL_COND_IMPORT_REF</a> <span class="keywordtype">void</span> <a class="code" href="classOsclRand.html#a0">Seed</a>(int32 seed); 35 00039 <a class="code" href="group__osclbase.html#a84">OSCL_COND_IMPORT_REF</a> int32 <a class="code" href="classOsclRand.html#a1">Rand</a>(); 36 00040 <span class="keyword">private</span>: 37 00041 }; 38 00042 39 00043 <span class="preprocessor">#if (!OSCL_DISABLE_INLINES)</span> 40 00044 <span class="preprocessor"></span><span class="preprocessor">#include "oscl_rand.inl"</span> 41 00045 <span class="preprocessor">#endif</span> 42 00046 <span class="preprocessor"></span> 43 00047 44 00048 <span class="preprocessor">#endif</span> 45 00049 <span class="preprocessor"></span> 46 </pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small> 47 <address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small> 48 </small></address> 49 </body> 50 </html> 51