From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/a03332.html | 152 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 docs/doxygen/nel/a03332.html (limited to 'docs/doxygen/nel/a03332.html') 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 @@ + + +NeL: NLPACS::URetrieverBank class Reference + + + +
+

NLPACS::URetrieverBank Class Reference

#include <u_retriever_bank.h> +

+

Inheritance diagram for NLPACS::URetrieverBank: +

+ +NLPACS::CRetrieverBank + +

Detailed Description

+
Author:
Benjamin Legros

+Nevrax France

+
Date:
2001
+ +

+ +

+Definition at line 45 of file u_retriever_bank.h. + + + + + + +

Static Public Member Functions

URetrieverBankcreateRetrieverBank (const char *retrieverBank, bool loadAll=true)
void deleteRetrieverBank (URetrieverBank *retrieverBank)
+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
NLPACS::URetrieverBank * NLPACS::URetrieverBank::createRetrieverBank const char *  retrieverBank,
bool  loadAll = true
[static]
+
+ + + + + +
+   + + +

+Create a retriever bank.

+

Parameters:
+ + +
retrieverBank is the global retriver bank path file name. This method use CPath to find the retriever
+
+
Returns:
the retriver bank interface or NULL if the bank was not found.
+ +

+Definition at line 39 of file retriever_bank.cpp. +

+References NLPACS::CRetrieverBank::_AllLoaded, NLPACS::CRetrieverBank::_NamePrefix, and file. +

+

00040 {
+00041         NL_ALLOC_CONTEXT( Pacs )
+00042 
+00043         CIFile  file;
+00044         if (file.open( CPath::lookup(retrieverBank) ))
+00045         {
+00046                 CRetrieverBank  *bank = new CRetrieverBank();
+00047 
+00048                 bank->_AllLoaded = loadAll;
+00049                 bank->_NamePrefix = CFile::getFilenameWithoutExtension(retrieverBank);
+00050 
+00051                 file.serial(*bank);
+00052 
+00053                 return static_cast<URetrieverBank *>(bank);
+00054         }
+00055         else
+00056                 return NULL;
+00057 }
+
+

+ + + + +
+ + + + + + + + + + +
void NLPACS::URetrieverBank::deleteRetrieverBank URetrieverBank retrieverBank  )  [static]
+
+ + + + + +
+   + + +

+Delete a retriever bank. +

+Definition at line 60 of file retriever_bank.cpp. +

+References r. +

+

00061 {
+00062         // Cast
+00063 //      nlassert (dynamic_cast<NLPACS::CRetrieverBank*>(retrieverBank));
+00064         NLPACS::CRetrieverBank* r=static_cast<NLPACS::CRetrieverBank*>(retrieverBank);
+00065 
+00066         // Delete
+00067         delete r;
+00068 }
+
+


The documentation for this class was generated from the following files: +
Generated on Tue Mar 16 14:26:38 2004 for NeL by + +doxygen +1.3.6
+ + -- cgit v1.2.1