diff options
Diffstat (limited to 'docs/doxygen/nel/a03332.html')
-rw-r--r-- | docs/doxygen/nel/a03332.html | 152 |
1 files changed, 152 insertions, 0 deletions
diff --git a/docs/doxygen/nel/a03332.html b/docs/doxygen/nel/a03332.html new file mode 100644 index 00000000..0a029d3f --- /dev/null +++ b/docs/doxygen/nel/a03332.html @@ -0,0 +1,152 @@ +<!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::URetrieverBank 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::URetrieverBank Class Reference</h1><code>#include <<a class="el" href="a06624.html">u_retriever_bank.h</a>></code> +<p> +<p>Inheritance diagram for NLPACS::URetrieverBank: +<p><center><img src="a03332.png" usemap="#NLPACS::URetrieverBank_map" border="0" alt=""></center> +<map name="NLPACS::URetrieverBank_map"> +<area href="a03331.html" alt="NLPACS::CRetrieverBank" shape="rect" coords="0,56,157,80"> +</map> +<hr><a name="_details"></a><h2>Detailed Description</h2> +<dl compact><dt><b>Author:</b></dt><dd>Benjamin Legros <p> +Nevrax France </dd></dl> +<dl compact><dt><b>Date:</b></dt><dd>2001 </dd></dl> + +<p> + +<p> +Definition at line <a class="el" href="a06624.html#l00045">45</a> of file <a class="el" href="a06624.html">u_retriever_bank.h</a>.<table border=0 cellpadding=0 cellspacing=0> +<tr><td></td></tr> +<tr><td colspan=2><br><h2>Static Public Member Functions</h2></td></tr> +<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="a03332.html">URetrieverBank</a> * </td><td class="memItemRight" valign=bottom><a class="el" href="a03332.html#NLPACS_1_1URetrieverBanke0">createRetrieverBank</a> (const char *retrieverBank, bool loadAll=true)</td></tr> + +<tr><td class="memItemLeft" nowrap align=right valign=top>void </td><td class="memItemRight" valign=bottom><a class="el" href="a03332.html#NLPACS_1_1URetrieverBanke1">deleteRetrieverBank</a> (<a class="el" href="a03332.html">URetrieverBank</a> *retrieverBank)</td></tr> + +</table> +<hr><h2>Member Function Documentation</h2> +<a class="anchor" name="NLPACS_1_1URetrieverBanke0" doxytag="NLPACS::URetrieverBank::createRetrieverBank" ></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="a03332.html">NLPACS::URetrieverBank</a> * NLPACS::URetrieverBank::createRetrieverBank </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top">const char * </td> + <td class="mdname" nowrap> <em>retrieverBank</em>, </td> + </tr> + <tr> + <td class="md" nowrap align="right"></td> + <td></td> + <td class="md" nowrap>bool </td> + <td class="mdname" nowrap> <em>loadAll</em> = true</td> + </tr> + <tr> + <td></td> + <td class="md">) </td> + <td class="md" colspan="2"><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Create a retriever bank.<p> +<dl compact><dt><b>Parameters:</b></dt><dd> + <table border="0" cellspacing="2" cellpadding="0"> + <tr><td valign=top><em>retrieverBank</em> </td><td>is the global retriver bank path file name. This method use CPath to find the retriever </td></tr> + </table> +</dl> +<dl compact><dt><b>Returns:</b></dt><dd>the retriver bank interface or NULL if the bank was not found.</dd></dl> + +<p> +Definition at line <a class="el" href="a06335.html#l00039">39</a> of file <a class="el" href="a06335.html">retriever_bank.cpp</a>. +<p> +References <a class="el" href="a06336.html#l00060">NLPACS::CRetrieverBank::_AllLoaded</a>, <a class="el" href="a06336.html#l00063">NLPACS::CRetrieverBank::_NamePrefix</a>, and <a class="el" href="a05538.html#l02654">file</a>. +<p> +<div class="fragment"><pre>00040 { +00041 NL_ALLOC_CONTEXT( Pacs ) +00042 +00043 <a class="code" href="a02653.html">CIFile</a> <a class="code" href="a04115.html#a95">file</a>; +00044 <span class="keywordflow">if</span> (<a class="code" href="a04115.html#a95">file</a>.open( CPath::lookup(retrieverBank) )) +00045 { +00046 CRetrieverBank *bank = <span class="keyword">new</span> CRetrieverBank(); +00047 +00048 bank->_AllLoaded = loadAll; +00049 bank->_NamePrefix = CFile::getFilenameWithoutExtension(retrieverBank); +00050 +00051 <a class="code" href="a04115.html#a95">file</a>.serial(*bank); +00052 +00053 <span class="keywordflow">return</span> static_cast<URetrieverBank *>(bank); +00054 } +00055 <span class="keywordflow">else</span> +00056 <span class="keywordflow">return</span> NULL; +00057 } +</pre></div> </td> + </tr> +</table> +<a class="anchor" name="NLPACS_1_1URetrieverBanke1" doxytag="NLPACS::URetrieverBank::deleteRetrieverBank" ></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::URetrieverBank::deleteRetrieverBank </td> + <td class="md" valign="top">( </td> + <td class="md" nowrap valign="top"><a class="el" href="a03332.html">URetrieverBank</a> * </td> + <td class="mdname1" valign="top" nowrap> <em>retrieverBank</em> </td> + <td class="md" valign="top"> ) </td> + <td class="md" nowrap><code> [static]</code></td> + </tr> + + </table> + </td> + </tr> +</table> +<table cellspacing=5 cellpadding=0 border=0> + <tr> + <td> + + </td> + <td> + +<p> +Delete a retriever bank. +<p> +Definition at line <a class="el" href="a06335.html#l00060">60</a> of file <a class="el" href="a06335.html">retriever_bank.cpp</a>. +<p> +References <a class="el" href="a05646.html#l00993">r</a>. +<p> +<div class="fragment"><pre>00061 { +00062 <span class="comment">// Cast</span> +00063 <span class="comment">// nlassert (dynamic_cast<NLPACS::CRetrieverBank*>(retrieverBank));</span> +00064 <a class="code" href="a03331.html">NLPACS::CRetrieverBank</a>* <a class="code" href="a04223.html#a628">r</a>=static_cast<NLPACS::CRetrieverBank*>(retrieverBank); +00065 +00066 <span class="comment">// Delete</span> +00067 <span class="keyword">delete</span> <a class="code" href="a04223.html#a628">r</a>; +00068 } +</pre></div> </td> + </tr> +</table> +<hr>The documentation for this class was generated from the following files:<ul> +<li><a class="el" href="a06624.html">u_retriever_bank.h</a><li><a class="el" href="a06335.html">retriever_bank.cpp</a></ul> +<hr size="1"><address style="align: right;"><small>Generated on Tue Mar 16 14:26:38 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> |