mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-23 18:17:59 +02:00
Adding patterntools to slsdet (#1142)
* added patterntools from mythen3tools * refactored do use implementation from slsSupportLib
This commit is contained in:
@ -23,6 +23,7 @@ typedef struct __attribute__((packed)) {
|
||||
#ifdef __cplusplus
|
||||
class Pattern {
|
||||
patternParameters *pat = new patternParameters{};
|
||||
std::ostream& stream(std::ostream &os) const;
|
||||
|
||||
public:
|
||||
Pattern();
|
||||
@ -34,7 +35,7 @@ class Pattern {
|
||||
patternParameters *data() const;
|
||||
size_t size() const noexcept { return sizeof(patternParameters); }
|
||||
void validate() const;
|
||||
void load(const std::string &fname);
|
||||
size_t load(const std::string &fname);
|
||||
void save(const std::string &fname);
|
||||
std::string str() const;
|
||||
};
|
||||
|
Reference in New Issue
Block a user