Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LightApp_HDFDriver Class Reference

#include <LightApp_HDFDriver.h>

Inheritance diagram for LightApp_HDFDriver:
Inheritance graph

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
 

Detailed Description

Description : Driver can save to file and read from file list of files for light modules

Constructor & Destructor Documentation

LightApp_HDFDriver::LightApp_HDFDriver ( )

Constructor.

LightApp_HDFDriver::~LightApp_HDFDriver ( )
virtual

Destructor.

Member Function Documentation

bool LightApp_HDFDriver::ReadDatasFromFile ( const char *  theFileName,
bool  isMultiFile 
)
virtual

Filling current driver from file 'theFileName'

Reimplemented from LightApp_Driver.

References LightApp_Driver::PutStreamToFiles(), and LightApp_Driver::SetListOfFiles().

bool LightApp_HDFDriver::SaveDatasInFile ( const char *  theFileName,
bool  isMultiFile 
)
virtual

Saves in file 'theFileName' datas from this driver

Reimplemented from LightApp_Driver.

References LightApp_Driver::myMap, and LightApp_Driver::PutFilesToStream().


The documentation for this class was generated from the following files: