/** * 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.25 * 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. */ /* * Dataset_settings_unit_cell.h * * Unit cell parameters. Necessary to run indexing. Units of angstrom and degree */ #ifndef Dataset_settings_unit_cell_H_ #define Dataset_settings_unit_cell_H_ #include namespace org::openapitools::server::model { /// /// Unit cell parameters. Necessary to run indexing. Units of angstrom and degree /// class Dataset_settings_unit_cell { public: Dataset_settings_unit_cell(); virtual ~Dataset_settings_unit_cell() = default; /// /// Validate the current data in the model. Throws a ValidationException on failure. /// void validate() const; /// /// Validate the current data in the model. Returns false on error and writes an error /// message into the given stringstream. /// bool validate(std::stringstream& msg) const; /// /// Helper overload for validate. Used when one model stores another model and calls it's validate. /// Not meant to be called outside that case. /// bool validate(std::stringstream& msg, const std::string& pathPrefix) const; bool operator==(const Dataset_settings_unit_cell& rhs) const; bool operator!=(const Dataset_settings_unit_cell& rhs) const; ///////////////////////////////////////////// /// Dataset_settings_unit_cell members /// /// /// float getA() const; void setA(float const value); /// /// /// float getB() const; void setB(float const value); /// /// /// float getC() const; void setC(float const value); /// /// /// float getAlpha() const; void setAlpha(float const value); /// /// /// float getBeta() const; void setBeta(float const value); /// /// /// float getGamma() const; void setGamma(float const value); friend void to_json(nlohmann::json& j, const Dataset_settings_unit_cell& o); friend void from_json(const nlohmann::json& j, Dataset_settings_unit_cell& o); protected: float m_a; float m_b; float m_c; float m_Alpha; float m_Beta; float m_Gamma; }; } // namespace org::openapitools::server::model #endif /* Dataset_settings_unit_cell_H_ */