#include <LightApp_HDFDriver.h>
Public Member Functions | |
LightApp_HDFDriver () | |
virtual | ~LightApp_HDFDriver () |
virtual bool | SaveDatasInFile (const char *theFileName, bool isMultiFile) |
virtual bool | ReadDatasFromFile (const char *theFileName, bool isMultiFile) |
Public Member Functions inherited from LightApp_Driver | |
LightApp_Driver () | |
virtual | ~LightApp_Driver () |
virtual std::string | GetTmpDir (const char *theURL, const bool isMultiFile) |
ListOfFiles | GetListOfFiles (const char *theModuleName) |
virtual void | SetListOfFiles (const char *theModuleName, const ListOfFiles theListOfFiles) |
virtual void | RemoveTemporaryFiles (const char *theModuleName, const bool IsDirDeleted) |
void | RemoveFiles (const ListOfFiles &theFiles, const bool IsDirDeleted) |
virtual void | ClearDriverContents () |
Additional Inherited Members | |
Public Types inherited from LightApp_Driver | |
typedef std::vector< std::string > | ListOfFiles |
Protected Types inherited from LightApp_Driver | |
typedef std::map< std::string, ListOfFiles > | MapOfListOfFiles |
Protected Member Functions inherited from LightApp_Driver | |
void | PutFilesToStream (const std::string &theModuleName, unsigned char *&theBuffer, long &theBufferSize, bool theNamesOnly=false) |
ListOfFiles | PutStreamToFiles (const unsigned char *theBuffer, const long theBufferSize, bool theNamesOnly=false) |
std::string | GetTmpDir () |
std::string | GetDirFromPath (const std::string &thePath) |
void | SetIsTemporary (bool theFlag) |
bool | IsTemporary () const |
Protected Attributes inherited from LightApp_Driver | |
MapOfListOfFiles | myMap |
std::string | myTmpDir |
Description : Driver can save to file and read from file list of files for light modules
LightApp_HDFDriver::LightApp_HDFDriver | ( | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Filling current driver from file 'theFileName'
Reimplemented from LightApp_Driver.
References LightApp_Driver::PutStreamToFiles(), and LightApp_Driver::SetListOfFiles().
|
virtual |
Saves in file 'theFileName' datas from this driver
Reimplemented from LightApp_Driver.
References LightApp_Driver::myMap, and LightApp_Driver::PutFilesToStream().