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/load__form_8h.html | 391 ++++++++++++++++++++++++++++++++++++ 1 file changed, 391 insertions(+) create mode 100644 docs/doxygen/nel/load__form_8h.html (limited to 'docs/doxygen/nel/load__form_8h.html') diff --git a/docs/doxygen/nel/load__form_8h.html b/docs/doxygen/nel/load__form_8h.html new file mode 100644 index 00000000..016f6634 --- /dev/null +++ b/docs/doxygen/nel/load__form_8h.html @@ -0,0 +1,391 @@ + + + + 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  
+

load_form.h File Reference

quick load of values from georges sheet (using a fast load with compacted file). +More... +

+#include "nel/misc/types_nl.h"
+#include <map>
+#include <string>
+#include <vector>
+#include "nel/misc/path.h"
+#include "nel/misc/file.h"
+#include "nel/georges/u_form_loader.h"
+#include "nel/georges/u_form.h"
+#include "nel/misc/sheet_id.h"
+ +

+Go to the source code of this file. + + + + + + + + + +

Functions

template<class T> void loadForm (const std::string &sheetFilter, const std::string &packedFilename, std::map< NLMISC::CSheetId, T > &container, bool updatePackedSheet=true)
 This function is used to load values from georges sheet in a quick way. More...

template<class T> void loadForm (const std::vector< std::string > &sheetFilters, const std::string &packedFilename, std::map< NLMISC::CSheetId, T > &container, bool updatePackedSheet=true)
 This function is used to load values from georges sheet in a quick way. More...

template<class T> void loadForm (const std::string &sheetFilter, const std::string &packedFilename, std::map< std::string, T > &container, bool updatePackedSheet=true)
 This function is used to load values from georges sheet in a quick way. More...

template<class T> void loadForm (const std::vector< std::string > &sheetFilters, const std::string &packedFilename, std::map< std::string, T > &container, bool updatePackedSheet=true)
 This function is used to load values from georges sheet in a quick way. More...

+


Detailed Description

+quick load of values from georges sheet (using a fast load with compacted file). +

+

+Id:
+ load_form.h,v 1.19 2002/11/29 16:43:53 coutelas Exp
+

+ +

+Definition in file load_form.h.


Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+template<class T>
void loadForm const std::vector< std::string > &   sheetFilters,
const std::string &   packedFilename,
std::map< std::string, T > &   container,
bool   updatePackedSheet = true
+
+ + + + + +
+   + + +

+This function is used to load values from georges sheet in a quick way. +

+

+Parameters:
+ + + + +
sheetFilter  +a vector of string to filter the sheet in the case you need more than one filter
packedFilename  +the name of the file that this function will generate (extension must be "packed_sheets")
container  +the map that will be filled by this function
+
+

+Definition at line 314 of file load_form.h. +

+References NLMISC::COFile::close, NLMISC::CIFile::close, NLGEORGES::UFormLoader::createLoader, NLMISC::CPath::getFileList, NLMISC::CFile::getFileModificationDate, NLMISC::CTime::getLocalTime, NLMISC::IStream::getVersionException, NLGEORGES::UFormLoader::loadForm, NLMISC::CPath::lookup, nlassert, nlinfo, NLMISC::COFile::open, NLMISC::CIFile::open, NLGEORGES::UFormLoader::releaseLoader, res, NLMISC::IStream::serial, NLMISC::IStream::serialCont, NLMISC::IStream::serialVersion, NLMISC::CIFile::setCacheFileOnOpen, NLMISC::IStream::setVersionException, and NLMISC::WarningLog. +

+Referenced by loadForm.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+template<class T>
void loadForm const std::string &   sheetFilter,
const std::string &   packedFilename,
std::map< std::string, T > &   container,
bool   updatePackedSheet = true
+
+ + + + + +
+   + + +

+This function is used to load values from georges sheet in a quick way. +

+

+Parameters:
+ + + + +
sheetFilter  +a string to filter the sheet (ie: ".item")
packedFilename  +the name of the file that this function will generate (extension must be "packed_sheets")
container  +the map that will be filled by this function
+
+

+Definition at line 300 of file load_form.h. +

+References loadForm.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+template<class T>
void loadForm const std::vector< std::string > &   sheetFilters,
const std::string &   packedFilename,
std::map< NLMISC::CSheetId, T > &   container,
bool   updatePackedSheet = true
+
+ + + + + +
+   + + +

+This function is used to load values from georges sheet in a quick way. +

+

+Parameters:
+ + + + +
sheetFilter  +a vector of string to filter the sheet in the case you need more than one filter
packedFilename  +the name of the file that this function will generate (extension must be "packed_sheets")
container  +the map that will be filled by this function
+
+

+Definition at line 113 of file load_form.h. +

+References NLMISC::CSheetId::buildIdVector, NLMISC::COFile::close, NLMISC::CIFile::close, NLGEORGES::UFormLoader::createLoader, NLMISC::CFile::getFileModificationDate, NLMISC::CTime::getLocalTime, NLMISC::IStream::getVersionException, NLMISC::CSheetId::init, NLGEORGES::UFormLoader::loadForm, NLMISC::CPath::lookup, nlassert, nlinfo, NLMISC::COFile::open, NLMISC::CIFile::open, NLGEORGES::UFormLoader::releaseLoader, res, NLMISC::IStream::serial, NLMISC::IStream::serialCont, NLMISC::IStream::serialVersion, NLMISC::CIFile::setCacheFileOnOpen, NLMISC::IStream::setVersionException, and NLMISC::WarningLog.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+template<class T>
void loadForm const std::string &   sheetFilter,
const std::string &   packedFilename,
std::map< NLMISC::CSheetId, T > &   container,
bool   updatePackedSheet = true
+
+ + + + + +
+   + + +

+This function is used to load values from georges sheet in a quick way. +

+

+Parameters:
+ + + + +
sheetFilter  +a string to filter the sheet (ie: ".item")
packedFilename  +the name of the file that this function will generate (extension must be "packed_sheets")
container  +the map that will be filled by this function
+
+

+Definition at line 100 of file load_form.h. +

+References loadForm.

+ + + +
                                                                                                                                                                    +

+ + -- cgit v1.2.1