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/classNLMISC_1_1CBigFile.html | 512 ++++++++++++++++++++++++++ 1 file changed, 512 insertions(+) create mode 100644 docs/doxygen/nel/classNLMISC_1_1CBigFile.html (limited to 'docs/doxygen/nel/classNLMISC_1_1CBigFile.html') diff --git a/docs/doxygen/nel/classNLMISC_1_1CBigFile.html b/docs/doxygen/nel/classNLMISC_1_1CBigFile.html new file mode 100644 index 00000000..855c16a4 --- /dev/null +++ b/docs/doxygen/nel/classNLMISC_1_1CBigFile.html @@ -0,0 +1,512 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLMISC::CBigFile Class Reference

#include <big_file.h> +

+List of all members. + + + + + + + + + + + + + + + + + + +

Public Methods

bool add (const std::string &sBigFileName, uint32 nOptions)
void remove (const std::string &sBigFileName)
bool isBigFileAdded (const std::string &sBigFileName)
void list (const std::string &sBigFileName, std::vector< std::string > &vAllFiles)
void removeAll ()
FILE * getFile (const std::string &sFileName, uint32 &rFileSize, uint32 &rBigFileOffset, bool &rCacheFileOnOpen, bool &rAlwaysOpened)

Static Public Methods

CBigFile & getInstance ()

Private Methods

 CBigFile ()

Private Attributes

CThreadFileArray _ThreadFileArray
std::map< std::string, BNP_BNPs

Static Private Attributes

CBigFile * _Singleton = NULL

Friends

class CThreadFileArray
+


Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLMISC::CBigFile::CBigFile   [private]
+
+ + + + + +
+   + + +

+ +

+Definition at line 70 of file big_file.cpp. +

+Referenced by getInstance.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
bool NLMISC::CBigFile::add const std::string &   sBigFileName,
uint32   nOptions
+
+ + + + + +
+   + + +

+ +

+Definition at line 85 of file big_file.cpp. +

+References _BNPs, _ThreadFileArray, NLMISC::CBigFile::CThreadFileArray::allocate, NLMISC::BF_ALWAYS_OPENED, NLMISC::BF_CACHE_FILE_ON_OPEN, NLMISC::CBigFile::CThreadFileArray::get, and NLMISC::strlwr.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
FILE * NLMISC::CBigFile::getFile const std::string &   sFileName,
uint32  rFileSize,
uint32  rBigFileOffset,
bool &   rCacheFileOnOpen,
bool &   rAlwaysOpened
+
+ + + + + +
+   + + +

+ +

+Definition at line 210 of file big_file.cpp. +

+References _BNPs, _ThreadFileArray, NLMISC::CBigFile::CThreadFileArray::get, nlwarning, and NLMISC::strlwr.

+

+ + + + +
+ + + + + + + + + +
CBigFile & NLMISC::CBigFile::getInstance   [static]
+
+ + + + + +
+   + + +

+ +

+Definition at line 75 of file big_file.cpp. +

+References _Singleton, and CBigFile.

+

+ + + + +
+ + + + + + + + + + +
bool NLMISC::CBigFile::isBigFileAdded const std::string &   sBigFileName
+
+ + + + + +
+   + + +

+ +

+Definition at line 177 of file big_file.cpp. +

+References _BNPs.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLMISC::CBigFile::list const std::string &   sBigFileName,
std::vector< std::string > &   vAllFiles
+
+ + + + + +
+   + + +

+ +

+Definition at line 185 of file big_file.cpp. +

+References _BNPs, and NLMISC::strlwr.

+

+ + + + +
+ + + + + + + + + + +
void NLMISC::CBigFile::remove const std::string &   sBigFileName
+
+ + + + + +
+   + + +

+ +

+Definition at line 153 of file big_file.cpp. +

+References _BNPs, _ThreadFileArray, and NLMISC::CBigFile::CThreadFileArray::get. +

+Referenced by removeAll.

+

+ + + + +
+ + + + + + + + + +
void NLMISC::CBigFile::removeAll  
+
+ + + + + +
+   + + +

+ +

+Definition at line 201 of file big_file.cpp. +

+References _BNPs, and remove.

+


Friends And Related Function Documentation

+

+ + + + +
+ + +
friend class CThreadFileArray [friend] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 76 of file big_file.h.

+


Member Data Documentation

+

+ + + + +
+ + +
std::map<std::string, BNP> NLMISC::CBigFile::_BNPs [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 134 of file big_file.h. +

+Referenced by add, getFile, isBigFileAdded, list, remove, and removeAll.

+

+ + + + +
+ + +
CBigFile * NLMISC::CBigFile::_Singleton = NULL [static, private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 35 of file big_file.cpp. +

+Referenced by getInstance.

+

+ + + + +
+ + +
CThreadFileArray NLMISC::CBigFile::_ThreadFileArray [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 132 of file big_file.h. +

+Referenced by add, getFile, and remove.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1