94 lines
2.7 KiB
C++
94 lines
2.7 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_definitions.h
|
|
*
|
|
* ROI defintions
|
|
*/
|
|
|
|
#ifndef Roi_definitions_H_
|
|
#define Roi_definitions_H_
|
|
|
|
|
|
#include "Roi_circle_list.h"
|
|
#include "Roi_azim_list.h"
|
|
#include "Roi_box_list.h"
|
|
#include <nlohmann/json.hpp>
|
|
|
|
namespace org::openapitools::server::model
|
|
{
|
|
|
|
/// <summary>
|
|
/// ROI defintions
|
|
/// </summary>
|
|
class Roi_definitions
|
|
{
|
|
public:
|
|
Roi_definitions();
|
|
virtual ~Roi_definitions() = 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_definitions& rhs) const;
|
|
bool operator!=(const Roi_definitions& rhs) const;
|
|
|
|
/////////////////////////////////////////////
|
|
/// Roi_definitions members
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
org::openapitools::server::model::Roi_box_list getBox() const;
|
|
void setBox(org::openapitools::server::model::Roi_box_list const& value);
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
org::openapitools::server::model::Roi_circle_list getCircle() const;
|
|
void setCircle(org::openapitools::server::model::Roi_circle_list const& value);
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
org::openapitools::server::model::Roi_azim_list getAzim() const;
|
|
void setAzim(org::openapitools::server::model::Roi_azim_list const& value);
|
|
|
|
friend void to_json(nlohmann::json& j, const Roi_definitions& o);
|
|
friend void from_json(const nlohmann::json& j, Roi_definitions& o);
|
|
protected:
|
|
org::openapitools::server::model::Roi_box_list m_Box;
|
|
|
|
org::openapitools::server::model::Roi_circle_list m_Circle;
|
|
|
|
org::openapitools::server::model::Roi_azim_list m_Azim;
|
|
|
|
|
|
};
|
|
|
|
} // namespace org::openapitools::server::model
|
|
|
|
#endif /* Roi_definitions_H_ */
|