mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-11 04:17:15 +02:00
somewere stuck with virtual template overloading
This commit is contained in:
@ -11,6 +11,15 @@
|
||||
#include "sls_receiver_defs.h"
|
||||
#include "logger.h"
|
||||
|
||||
#ifdef HDF5C
|
||||
//#ifndef HDF5DEFINED
|
||||
//#define HDF5DEFINED
|
||||
#include "H5Cpp.h"
|
||||
#ifndef H5_NO_NAMESPACE
|
||||
using namespace H5;
|
||||
#endif
|
||||
#endif
|
||||
//#endif
|
||||
|
||||
#include <string>
|
||||
|
||||
@ -58,6 +67,15 @@ class File : private virtual slsReceiverDefs {
|
||||
*/
|
||||
virtual fileFormat GetFileType() = 0;
|
||||
|
||||
/**
|
||||
* Get File Handle pointer
|
||||
* @returns file handle pointer
|
||||
*/
|
||||
virtual FILE* GetBinaryFileHandle() {return NULL;};
|
||||
#ifdef HDF5C
|
||||
virtual H5File* GetHDF5FileHandle() {return NULL;};
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Get Member Pointer Values before the object is destroyed
|
||||
* @param nd pointer to number of detectors in each dimension
|
||||
|
Reference in New Issue
Block a user