mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 07:20:01 +02:00
22 lines
595 B
C++
22 lines
595 B
C++
#pragma once
|
|
|
|
#include "File.h"
|
|
#include "MasterAttributes.h"
|
|
|
|
class BinaryMasterFile : private virtual slsDetectorDefs, public File {
|
|
|
|
public:
|
|
BinaryMasterFile();
|
|
~BinaryMasterFile();
|
|
|
|
void CloseFile() override;
|
|
void CreateMasterFile(const std::string filePath,
|
|
const std::string fileNamePrefix,
|
|
const uint64_t fileIndex, const bool overWriteEnable,
|
|
const bool silentMode,
|
|
MasterAttributes *attr) override;
|
|
|
|
private:
|
|
FILE *fd_{nullptr};
|
|
std::string fileName_;
|
|
}; |