src/model/CFactorUndergroundWallConstruction.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_CFACTORUNDERGROUNDWALLCONSTRUCTION_HPP | ||
| 7 | #define MODEL_CFACTORUNDERGROUNDWALLCONSTRUCTION_HPP | ||
| 8 | |||
| 9 | #include "ModelAPI.hpp" | ||
| 10 | #include "ConstructionBase.hpp" | ||
| 11 | |||
| 12 | namespace openstudio { | ||
| 13 | namespace model { | ||
| 14 | |||
| 15 | namespace detail { | ||
| 16 | class CFactorUndergroundWallConstruction_Impl; | ||
| 17 | } | ||
| 18 | |||
| 19 | /** CFactorUndergroundWallConstruction is a ConstructionBase object that wraps EnergyPlus IDD | ||
| 20 | * object 'Construction:CfactorUndergroundWall'. */ | ||
| 21 | class MODEL_API CFactorUndergroundWallConstruction : public ConstructionBase | ||
| 22 | { | ||
| 23 | public: | ||
| 24 | /** @name Constructors and Destructors */ | ||
| 25 | //@{ | ||
| 26 | |||
| 27 | /** TODO default values should be reviewed */ | ||
| 28 | explicit CFactorUndergroundWallConstruction(const Model& model, double cFactor = 0.1, double height = 0.1); | ||
| 29 | |||
| 30 | 37 | virtual ~CFactorUndergroundWallConstruction() override = default; | |
| 31 | // Default the copy and move operators because the virtual dtor is explicit | ||
| 32 | 5 | CFactorUndergroundWallConstruction(const CFactorUndergroundWallConstruction& other) = default; | |
| 33 | 11 | CFactorUndergroundWallConstruction(CFactorUndergroundWallConstruction&& other) = default; | |
| 34 | 1 | CFactorUndergroundWallConstruction& operator=(const CFactorUndergroundWallConstruction&) = default; | |
| 35 | ✗ | CFactorUndergroundWallConstruction& operator=(CFactorUndergroundWallConstruction&&) = default; | |
| 36 | |||
| 37 | double cFactor() const; | ||
| 38 | bool setCFactor(double cFactor); | ||
| 39 | |||
| 40 | double height() const; | ||
| 41 | bool setHeight(double height); | ||
| 42 | |||
| 43 | //@} | ||
| 44 | /** @name Static Methods */ | ||
| 45 | //@{ | ||
| 46 | |||
| 47 | static IddObjectType iddObjectType(); | ||
| 48 | |||
| 49 | //@} | ||
| 50 | protected: | ||
| 51 | /// @cond | ||
| 52 | using ImplType = detail::CFactorUndergroundWallConstruction_Impl; | ||
| 53 | |||
| 54 | friend class Model; | ||
| 55 | friend class openstudio::IdfObject; | ||
| 56 | friend class detail::CFactorUndergroundWallConstruction_Impl; | ||
| 57 | |||
| 58 | explicit CFactorUndergroundWallConstruction(std::shared_ptr<detail::CFactorUndergroundWallConstruction_Impl> impl); | ||
| 59 | |||
| 60 | /// @endcond | ||
| 61 | private: | ||
| 62 | REGISTER_LOGGER("openstudio.model.CFactorUndergroundWallConstruction"); | ||
| 63 | }; | ||
| 64 | |||
| 65 | /** \relates CFactorUndergroundWallConstruction */ | ||
| 66 | using OptionalCFactorUndergroundWallConstruction = boost::optional<CFactorUndergroundWallConstruction>; | ||
| 67 | |||
| 68 | /** \relates CFactorUndergroundWallConstruction */ | ||
| 69 | using CFactorUndergroundWallConstructionVector = std::vector<CFactorUndergroundWallConstruction>; | ||
| 70 | |||
| 71 | } // namespace model | ||
| 72 | } // namespace openstudio | ||
| 73 | |||
| 74 | #endif // MODEL_CFACTORUNDERGROUNDWALLCONSTRUCTION_HPP | ||
| 75 |