diff options
Diffstat (limited to '')
-rw-r--r-- | docs/doxygen/nel/a02593.html | 356 |
1 files changed, 356 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a02593.html b/docs/doxygen/nel/a02593.html new file mode 100644 index 00000000..13f240d1 --- /dev/null +++ b/docs/doxygen/nel/a02593.html @@ -0,0 +1,356 @@ +<!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: NLPACS::CGlobalRetriever::CLrLoader 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 Page</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class Hierarchy</a> | <a class="qindex" href="classes.html">Alphabetical List</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="namespacemembers.html">Namespace Members</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a> | <span class="search"><u>S</u>earch for <input class="search" type="text" name="query" value="" size="20" accesskey="s"/></span></form></div> +<h1>NLPACS::CGlobalRetriever::CLrLoader Class Reference</h1><code>#include <<a class="el" href="a05762.html">global_retriever.h</a>></code> +<p> +<p>Inheritance diagram for NLPACS::CGlobalRetriever::CLrLoader: +<p><center><img src="a02593.png" usemap="#NLPACS::CGlobalRetriever::CLrLoader_map" border="0" alt=""></center> +<map name="NLPACS::CGlobalRetriever::CLrLoader_map"> +<area href="a02221.html" alt="NLMISC::IRunnablePos" shape="rect" coords="0,56,232,80"> +<area href="a02187.html" alt="NLMISC::IRunnable" shape="rect" coords="0,0,232,24"> +</map> +<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> </td><td class="memItemRight" valign=bottom><a class="el" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadera0">CLrLoader</a> (const <a class="el" href="a03128.html">NLMISC::CVector</a> &position)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadera1">getName</a> (std::string &result) const </td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadera2">run</a> ()</td></tr> + +<tr><td colspan=2><br><h2>Data Fields</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a02271.html">NLMISC::CMemStream</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero0">_Buffer</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Loading buffer. <a href="#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero0"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>volatile bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero1">Finished</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Finished task. <a href="#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero1"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top>std::string </td><td class="memItemRight" valign=bottom><a class="el" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero2">LoadFile</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Lr to load. <a href="#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero2"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a04558.html#a15">uint</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero3">LrId</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Lr Id. <a href="#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero3"></a><br><br></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03128.html">NLMISC::CVector</a> </td><td class="memItemRight" valign=bottom><a class="el" href="a02221.html#NLMISC_1_1IRunnablePoso0">Position</a></td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>volatile bool </td><td class="memItemRight" valign=bottom><a class="el" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero5">Successful</a></td></tr> + +<tr><td class="mdescLeft"> </td><td class="mdescRight">Finished successfully. <a href="#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero5"></a><br><br></td></tr> +</table> +<hr><h2>Constructor & Destructor Documentation</h2> +<a class="anchor" name="NLPACS_1_1CGlobalRetriever_1_1CLrLoadera0" doxytag="NLPACS::CGlobalRetriever::CLrLoader::CLrLoader" ></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"> NLPACS::CGlobalRetriever::CLrLoader::CLrLoader </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const <a class="el" href="a03128.html">NLMISC::CVector</a> & </td> + <td class="mdname1" valign="top" nowrap> <em>position</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [inline]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a05762.html#l00135">135</a> of file <a class="el" href="a05762.html">global_retriever.h</a>. +<p> +References <a class="el" href="a05762.html#l00119">Finished</a>. +<p> +<div class="fragment"><pre>00135 : <a class="code" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero1">Finished</a>(<span class="keyword">true</span>) +00136 { +00137 <a class="code" href="a02221.html#NLMISC_1_1IRunnablePoso0">Position</a> = position; +00138 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLPACS_1_1CGlobalRetriever_1_1CLrLoadera1" doxytag="NLPACS::CGlobalRetriever::CLrLoader::getName" ></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"> void NLPACS::CGlobalRetriever::CLrLoader::getName </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">std::string & </td> + <td class="mdname1" valign="top" nowrap> <em>result</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap> const<code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Reimplemented from <a class="el" href="a02187.html#NLMISC_1_1IRunnablePosa0">NLMISC::IRunnable</a>. +<p> +Definition at line <a class="el" href="a05761.html#l02648">2648</a> of file <a class="el" href="a05761.html">global_retriever.cpp</a>. +<p> +References <a class="el" href="a05762.html#l00125">LoadFile</a>. +<p> +<div class="fragment"><pre>02649 { +02650 result = <span class="stringliteral">"LoadLR("</span> + <a class="code" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero2">LoadFile</a> + <span class="stringliteral">")"</span>; +02651 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CGlobalRetriever_1_1CLrLoadera2" doxytag="NLPACS::CGlobalRetriever::CLrLoader::run" ></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"> void NLPACS::CGlobalRetriever::CLrLoader::run </td> + <td class="md" valign="top">( </td> + <td class="mdname1" valign="top" nowrap> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [virtual]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Implements <a class="el" href="a02187.html#NLMISC_1_1IRunnablePosa1">NLMISC::IRunnable</a>. +<p> +Definition at line <a class="el" href="a05761.html#l02623">2623</a> of file <a class="el" href="a05761.html">global_retriever.cpp</a>. +<p> +References <a class="el" href="a05762.html#l00128">_Buffer</a>, <a class="el" href="a05646.html#l00649">buffer</a>, <a class="el" href="a05979.html#l00306">NLMISC::CMemStream::bufferToFill()</a>, <a class="el" href="a05979.html#l00201">NLMISC::CMemStream::clear()</a>, <a class="el" href="a05762.html#l00119">Finished</a>, <a class="el" href="a05979.html#l00331">NLMISC::CMemStream::invert()</a>, <a class="el" href="a06463.html#l00064">NLMISC::IStream::isReading()</a>, <a class="el" href="a05762.html#l00125">LoadFile</a>, <a class="el" href="a05622.html#l00135">nlwarning</a>, <a class="el" href="a05762.html#l00121">Successful</a>, and <a class="el" href="a05981.html#l00096">uint8</a>. +<p> +<div class="fragment"><pre>02624 { +02625 <a class="code" href="a02653.html">CIFile</a> f; +02626 +02627 <a class="code" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero5">Successful</a> = <span class="keyword">false</span>; +02628 +02629 <span class="keywordflow">if</span> (!f.<a class="code" href="a02653.html#NLMISC_1_1CIFilea12">open</a>(CPath::lookup(LoadFile, <span class="keyword">false</span>))) +02630 { +02631 <a class="code" href="a04199.html#a2">nlwarning</a>(<span class="stringliteral">"Couldn't find file '%s' to load, retriever loading aborted"</span>, <a class="code" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero2">LoadFile</a>.c_str()); +02632 <a class="code" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero0">_Buffer</a>.<a class="code" href="a02271.html#NLMISC_1_1CStringStreama2">clear</a>(); +02633 <a class="code" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero1">Finished</a> = <span class="keyword">true</span>; +02634 <span class="keywordflow">return</span>; +02635 } +02636 +02637 <span class="keywordflow">if</span> (!<a class="code" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero0">_Buffer</a>.<a class="code" href="a02270.html#NLMISC_1_1IStreama0">isReading</a>()) +02638 <a class="code" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero0">_Buffer</a>.<a class="code" href="a02271.html#NLMISC_1_1CStringStreama12">invert</a>(); +02639 +02640 <a class="code" href="a04558.html#a7">uint8</a> *<a class="code" href="a04223.html#a589">buffer</a> = <a class="code" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero0">_Buffer</a>.<a class="code" href="a02271.html#NLMISC_1_1CStringStreama1">bufferToFill</a>(f.<a class="code" href="a02653.html#NLMISC_1_1CIFilea6">getFileSize</a>()); +02641 f.<a class="code" href="a02653.html#NLMISC_1_1CIFilea15">serialBuffer</a>(buffer, f.<a class="code" href="a02653.html#NLMISC_1_1CIFilea6">getFileSize</a>()); +02642 +02643 <a class="code" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero5">Successful</a> = <span class="keyword">true</span>; +02644 <a class="code" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero1">Finished</a> = <span class="keyword">true</span>; +02645 } +</pre></div> </td> + </tr> +</table> +<hr><h2>Field Documentation</h2> +<a class="anchor" name="NLPACS_1_1CGlobalRetriever_1_1CLrLoadero0" doxytag="NLPACS::CGlobalRetriever::CLrLoader::_Buffer" ></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="a02271.html">NLMISC::CMemStream</a> <a class="el" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero0">NLPACS::CGlobalRetriever::CLrLoader::_Buffer</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Loading buffer. +<p> + +<p> +Definition at line <a class="el" href="a05762.html#l00128">128</a> of file <a class="el" href="a05762.html">global_retriever.h</a>. +<p> +Referenced by <a class="el" href="a05761.html#l02623">run()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CGlobalRetriever_1_1CLrLoadero1" doxytag="NLPACS::CGlobalRetriever::CLrLoader::Finished" ></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"> volatile bool <a class="el" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero1">NLPACS::CGlobalRetriever::CLrLoader::Finished</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Finished task. +<p> + +<p> +Definition at line <a class="el" href="a05762.html#l00119">119</a> of file <a class="el" href="a05762.html">global_retriever.h</a>. +<p> +Referenced by <a class="el" href="a05762.html#l00135">CLrLoader()</a>, <a class="el" href="a05761.html#l02448">NLPACS::CGlobalRetriever::refreshLrAround()</a>, and <a class="el" href="a05761.html#l02623">run()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CGlobalRetriever_1_1CLrLoadero2" doxytag="NLPACS::CGlobalRetriever::CLrLoader::LoadFile" ></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"> std::string <a class="el" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero2">NLPACS::CGlobalRetriever::CLrLoader::LoadFile</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Lr to load. +<p> + +<p> +Definition at line <a class="el" href="a05762.html#l00125">125</a> of file <a class="el" href="a05762.html">global_retriever.h</a>. +<p> +Referenced by <a class="el" href="a05761.html#l02648">getName()</a>, <a class="el" href="a05761.html#l02448">NLPACS::CGlobalRetriever::refreshLrAround()</a>, and <a class="el" href="a05761.html#l02623">run()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CGlobalRetriever_1_1CLrLoadero3" doxytag="NLPACS::CGlobalRetriever::CLrLoader::LrId" ></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#a15">uint</a> <a class="el" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero3">NLPACS::CGlobalRetriever::CLrLoader::LrId</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Lr Id. +<p> + +<p> +Definition at line <a class="el" href="a05762.html#l00123">123</a> of file <a class="el" href="a05762.html">global_retriever.h</a>. +<p> +Referenced by <a class="el" href="a05761.html#l02448">NLPACS::CGlobalRetriever::refreshLrAround()</a>. </td> + </tr> +</table> +<a class="anchor" name="NLMISC_1_1IRunnablePoso0" doxytag="NLPACS::CGlobalRetriever::CLrLoader::Position" ></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="a03128.html">NLMISC::CVector</a> <a class="el" href="a02221.html#NLMISC_1_1IRunnablePoso0">NLMISC::IRunnablePos::Position</a><code> [inherited]</code> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> + +<p> +Definition at line <a class="el" href="a06486.html#l00046">46</a> of file <a class="el" href="a06486.html">task_manager.h</a>. </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1CGlobalRetriever_1_1CLrLoadero5" doxytag="NLPACS::CGlobalRetriever::CLrLoader::Successful" ></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"> volatile bool <a class="el" href="a02593.html#NLPACS_1_1CGlobalRetriever_1_1CLrLoadero5">NLPACS::CGlobalRetriever::CLrLoader::Successful</a> + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Finished successfully. +<p> + +<p> +Definition at line <a class="el" href="a05762.html#l00121">121</a> of file <a class="el" href="a05762.html">global_retriever.h</a>. +<p> +Referenced by <a class="el" href="a05761.html#l02623">run()</a>. </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a05762.html">global_retriever.h</a><li><a class="el" href="a05761.html">global_retriever.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 14:14:39 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> |