// SPDX-FileCopyrightText: 2025 Filip Leonarski, Paul Scherrer Institute // SPDX-License-Identifier: GPL-3.0-only #ifndef JFJOCH_JFJOCHHTTPREADER_H #define JFJOCH_JFJOCHHTTPREADER_H #include "JFJochReader.h" class JFJochHttpReader : public JFJochReader { std::string addr; std::shared_ptr LoadImageInternal(int64_t image_number); void UpdateDataset(); std::vector GetPlot(const std::string &plot_type, float fill_value = 0.0) const; public: ~JFJochHttpReader() override = default; void ReadURL(const std::string& url); uint64_t GetNumberOfImages() const override; void Close() override; }; #endif //JFJOCH_JFJOCHHTTPREADER_H