aboutsummaryrefslogtreecommitdiff
path: root/docs/doxygen/nel/a02266.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--docs/doxygen/nel/a02266.html216
1 files changed, 216 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02266.html b/docs/doxygen/nel/a02266.html
new file mode 100644
index 00000000..0e14d0c1
--- /dev/null
+++ b/docs/doxygen/nel/a02266.html
@@ -0,0 +1,216 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
+<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
+<title>NeL: NLMISC::CBigFile::CThreadFileArray class Reference</title>
+<link href="doxygen.css" rel="stylesheet" type="text/css">
+</head><body>
+<!-- Generated by Doxygen 1.3.6 -->
+<div class="qindex"> <form class="search" action="search.php" method="get">
+<a class="qindex" href="main.html">Main&nbsp;Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical&nbsp;List</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a> | <span class="search"><u>S</u>earch&nbsp;for&nbsp;<input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div>
+<h1>NLMISC::CBigFile::CThreadFileArray Class Reference</h1><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><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02266.html#NLMISC_1_1CBigFile_1_1CThreadFileArraya0">allocate</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02266.html#NLMISC_1_1CBigFile_1_1CThreadFileArraya1">CThreadFileArray</a> ()</td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02265.html">CHandleFile</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02266.html#NLMISC_1_1CBigFile_1_1CThreadFileArraya2">get</a> (<a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a04223.html#a566">index</a>)</td></tr>
+
+<tr><td colspan=2><br><h2>Private Attributes</h2></td></tr>
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02266.html#NLMISC_1_1CBigFile_1_1CThreadFileArrayr0">_CurrentId</a></td></tr>
+
+<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03473.html">CTDS</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="a02266.html#NLMISC_1_1CBigFile_1_1CThreadFileArrayr1">_TDS</a></td></tr>
+
+</table>
+<hr><h2>Constructor &amp; Destructor Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CBigFile_1_1CThreadFileArraya1" doxytag="NLMISC::CBigFile::CThreadFileArray::CThreadFileArray" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> NLMISC::CBigFile::CThreadFileArray::CThreadFileArray </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05480.html#l00040">40</a> of file <a class="el" href="a05480.html">big_file.cpp</a>.
+<p>
+References <a class="el" href="a05481.html#l00106">_CurrentId</a>.
+<p>
+<div class="fragment"><pre>00041 {
+00042 <a class="code" href="a02266.html#NLMISC_1_1CBigFile_1_1CThreadFileArrayr0">_CurrentId</a>= 0;
+00043 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Member Function Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CBigFile_1_1CThreadFileArraya0" doxytag="NLMISC::CBigFile::CThreadFileArray::allocate" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> NLMISC::CBigFile::CThreadFileArray::allocate </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05480.html#l00045">45</a> of file <a class="el" href="a05480.html">big_file.cpp</a>.
+<p>
+References <a class="el" href="a05481.html#l00106">_CurrentId</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a05480.html#l00086">NLMISC::CBigFile::add()</a>.
+<p>
+<div class="fragment"><pre>00046 {
+00047 <span class="keywordflow">return</span> <a class="code" href="a02266.html#NLMISC_1_1CBigFile_1_1CThreadFileArrayr0">_CurrentId</a>++;
+00048 }
+</pre></div> </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CBigFile_1_1CThreadFileArraya2" doxytag="NLMISC::CBigFile::CThreadFileArray::get" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a02265.html">CBigFile::CHandleFile</a> &amp; NLMISC::CBigFile::CThreadFileArray::get </td>
+ <td class="md" valign="top">(&nbsp;</td>
+ <td class="md" nowrap valign="top"><a class="el" href="a04558.html#a11">uint32</a>&nbsp;</td>
+ <td class="mdname1" valign="top" nowrap> <em>index</em> </td>
+ <td class="md" valign="top">&nbsp;)&nbsp;</td>
+ <td class="md" nowrap></td>
+ </tr>
+
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05480.html#l00050">50</a> of file <a class="el" href="a05480.html">big_file.cpp</a>.
+<p>
+References <a class="el" href="a05481.html#l00104">_TDS</a>, <a class="el" href="a06489.html#l00066">NLMISC::CTDS::getPointer()</a>, <a class="el" href="a05646.html#l00225">index</a>, <a class="el" href="a06489.html#l00077">NLMISC::CTDS::setPointer()</a>, and <a class="el" href="a05981.html#l00100">uint32</a>.
+<p>
+Referenced by <a class="el" href="a05480.html#l00086">NLMISC::CBigFile::add()</a>, <a class="el" href="a05480.html#l00273">NLMISC::CBigFile::getFile()</a>, and <a class="el" href="a05480.html#l00213">NLMISC::CBigFile::remove()</a>.
+<p>
+<div class="fragment"><pre>00051 {
+00052 <span class="comment">// If the thread struct ptr is NULL, must allocate it.</span>
+00053 vector&lt;CHandleFile&gt; *ptr= (vector&lt;CHandleFile&gt;*)<a class="code" href="a02266.html#NLMISC_1_1CBigFile_1_1CThreadFileArrayr1">_TDS</a>.<a class="code" href="a03473.html#NLMISC_1_1CTDSa1">getPointer</a>();
+00054 <span class="keywordflow">if</span>(ptr==NULL)
+00055 {
+00056 ptr= <span class="keyword">new</span> vector&lt;CHandleFile&gt;;
+00057 <a class="code" href="a02266.html#NLMISC_1_1CBigFile_1_1CThreadFileArrayr1">_TDS</a>.<a class="code" href="a03473.html#NLMISC_1_1CTDSa2">setPointer</a>(ptr);
+00058 }
+00059
+00060 <span class="comment">// if the vector is not allocated, allocate it (empty entries filled with NULL =&gt; not opened FILE* in this thread)</span>
+00061 <span class="keywordflow">if</span>(<a class="code" href="a04223.html#a566">index</a>&gt;=ptr-&gt;size())
+00062 {
+00063 ptr-&gt;resize(index+1);
+00064 }
+00065
+00066 <span class="keywordflow">return</span> (*ptr)[<a class="code" href="a04223.html#a566">index</a>];
+00067 }
+</pre></div> </td>
+ </tr>
+</table>
+<hr><h2>Field Documentation</h2>
+<a class="anchor" name="NLMISC_1_1CBigFile_1_1CThreadFileArrayr0" doxytag="NLMISC::CBigFile::CThreadFileArray::_CurrentId" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a04558.html#a11">uint32</a> <a class="el" href="a02266.html#NLMISC_1_1CBigFile_1_1CThreadFileArrayr0">NLMISC::CBigFile::CThreadFileArray::_CurrentId</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05481.html#l00106">106</a> of file <a class="el" href="a05481.html">big_file.h</a>.
+<p>
+Referenced by <a class="el" href="a05480.html#l00045">allocate()</a>, and <a class="el" href="a05480.html#l00040">CThreadFileArray()</a>. </td>
+ </tr>
+</table>
+<a class="anchor" name="NLMISC_1_1CBigFile_1_1CThreadFileArrayr1" doxytag="NLMISC::CBigFile::CThreadFileArray::_TDS" ></a><p>
+<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
+ <tr>
+ <td class="mdRow">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td class="md" nowrap valign="top"> <a class="el" href="a03473.html">CTDS</a> <a class="el" href="a02266.html#NLMISC_1_1CBigFile_1_1CThreadFileArrayr1">NLMISC::CBigFile::CThreadFileArray::_TDS</a><code> [private]</code>
+ </table>
+ </td>
+ </tr>
+</table>
+<table cellspacing=5 cellpadding=0 border=0>
+ <tr>
+ <td>
+ &nbsp;
+ </td>
+ <td>
+
+<p>
+
+<p>
+Definition at line <a class="el" href="a05481.html#l00104">104</a> of file <a class="el" href="a05481.html">big_file.h</a>.
+<p>
+Referenced by <a class="el" href="a05480.html#l00050">get()</a>. </td>
+ </tr>
+</table>
+<hr>The documentation for this class was generated from the following files:<ul>
+<li><a class="el" href="a05481.html">big_file.h</a><li><a class="el" href="a05480.html">big_file.cpp</a></ul>
+<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 13:02:24 2004 for NeL by
+<a href="http://www.doxygen.org/index.html">
+<img src="doxygen.png" alt="doxygen" align="middle" border=0 >
+</a>1.3.6 </small></address>
+</body>
+</html>