src/model/MaterialPropertyGlazingSpectralData_Impl.hpp
| Line | Branch | Exec | Source |
|---|---|---|---|
| 1 | /*********************************************************************************************************************** | ||
| 2 | * OpenStudio(R), Copyright (c) Alliance for Energy Innovation, LLC. | ||
| 3 | * See also https://openstudio.net/license | ||
| 4 | ***********************************************************************************************************************/ | ||
| 5 | |||
| 6 | #ifndef MODEL_MATERIALPROPERTYGLAZINGSPECTRALDATA_IMPL_HPP | ||
| 7 | #define MODEL_MATERIALPROPERTYGLAZINGSPECTRALDATA_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ResourceObject_Impl.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | class SpectralDataField; | ||
| 16 | |||
| 17 | namespace detail { | ||
| 18 | |||
| 19 | /** MaterialPropertyGlazingSpectralData_Impl is a ResourceObject_Impl that is the implementation class for MaterialPropertyGlazingSpectralData.*/ | ||
| 20 | class MODEL_API MaterialPropertyGlazingSpectralData_Impl : public ResourceObject_Impl | ||
| 21 | { | ||
| 22 | |||
| 23 | public: | ||
| 24 | /** @name Constructors and Destructors */ | ||
| 25 | //@{ | ||
| 26 | |||
| 27 | MaterialPropertyGlazingSpectralData_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | MaterialPropertyGlazingSpectralData_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 30 | |||
| 31 | MaterialPropertyGlazingSpectralData_Impl(const MaterialPropertyGlazingSpectralData_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 32 | |||
| 33 | 8 | virtual ~MaterialPropertyGlazingSpectralData_Impl() override = default; | |
| 34 | |||
| 35 | //@} | ||
| 36 | /** @name Virtual Methods */ | ||
| 37 | //@{ | ||
| 38 | |||
| 39 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 40 | |||
| 41 | virtual IddObjectType iddObjectType() const override; | ||
| 42 | |||
| 43 | //@} | ||
| 44 | /** @name Getters */ | ||
| 45 | //@{ | ||
| 46 | |||
| 47 | std::vector<SpectralDataField> spectralDataFields() const; | ||
| 48 | |||
| 49 | //@} | ||
| 50 | /** @name Setters */ | ||
| 51 | //@{ | ||
| 52 | |||
| 53 | bool setSpectralDataFields(const std::vector<SpectralDataField>& spectralDataFields); | ||
| 54 | |||
| 55 | bool addSpectralDataField(const SpectralDataField& spectralDataField); | ||
| 56 | |||
| 57 | bool addSpectralDataField(double wavelength, double transmittance, double frontReflectance, double backReflectance); | ||
| 58 | |||
| 59 | void resetSpectralDataFields(); | ||
| 60 | |||
| 61 | //@} | ||
| 62 | /** @name Other */ | ||
| 63 | //@{ | ||
| 64 | |||
| 65 | //@} | ||
| 66 | protected: | ||
| 67 | private: | ||
| 68 | − | REGISTER_LOGGER("openstudio.model.MaterialPropertyGlazingSpectralData"); | |
| 69 | }; | ||
| 70 | |||
| 71 | } // namespace detail | ||
| 72 | |||
| 73 | } // namespace model | ||
| 74 | } // namespace openstudio | ||
| 75 | |||
| 76 | #endif // MODEL_MATERIALPROPERTYGLAZINGSPECTRALDATA_IMPL_HPP | ||
| 77 |