Files
Jungfraujoch/broker/gen/model/Roi_box_list.h
2025-07-15 09:55:19 +02:00

81 lines
2.2 KiB
C++

/**
* Jungfraujoch
* API to control Jungfraujoch developed by the Paul Scherrer Institute (Switzerland). Jungfraujoch is a data acquisition and analysis system for pixel array detectors, primarly PSI JUNGFRAU. Jungfraujoch uses FPGA boards to acquire data at high data rates.
*
* The version of the OpenAPI document: 1.0.0-rc.64
* Contact: filip.leonarski@psi.ch
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
* Roi_box_list.h
*
* List of box ROIs
*/
#ifndef Roi_box_list_H_
#define Roi_box_list_H_
#include <vector>
#include "Roi_box.h"
#include <nlohmann/json.hpp>
namespace org::openapitools::server::model
{
/// <summary>
/// List of box ROIs
/// </summary>
class Roi_box_list
{
public:
Roi_box_list();
virtual ~Roi_box_list() = default;
/// <summary>
/// Validate the current data in the model. Throws a ValidationException on failure.
/// </summary>
void validate() const;
/// <summary>
/// Validate the current data in the model. Returns false on error and writes an error
/// message into the given stringstream.
/// </summary>
bool validate(std::stringstream& msg) const;
/// <summary>
/// Helper overload for validate. Used when one model stores another model and calls it's validate.
/// Not meant to be called outside that case.
/// </summary>
bool validate(std::stringstream& msg, const std::string& pathPrefix) const;
bool operator==(const Roi_box_list& rhs) const;
bool operator!=(const Roi_box_list& rhs) const;
/////////////////////////////////////////////
/// Roi_box_list members
/// <summary>
///
/// </summary>
std::vector<org::openapitools::server::model::Roi_box> getRois() const;
void setRois(std::vector<org::openapitools::server::model::Roi_box> const& value);
bool roisIsSet() const;
void unsetRois();
friend void to_json(nlohmann::json& j, const Roi_box_list& o);
friend void from_json(const nlohmann::json& j, Roi_box_list& o);
protected:
std::vector<org::openapitools::server::model::Roi_box> m_Rois;
bool m_RoisIsSet;
};
} // namespace org::openapitools::server::model
#endif /* Roi_box_list_H_ */