src/model/InsideSurfaceConvectionAlgorithm_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_INSIDESURFACECONVECTIONALGORITHM_IMPL_HPP | ||
| 7 | #define MODEL_INSIDESURFACECONVECTIONALGORITHM_IMPL_HPP | ||
| 8 | |||
| 9 | #include "ModelObject_Impl.hpp" | ||
| 10 | |||
| 11 | namespace openstudio { | ||
| 12 | namespace model { | ||
| 13 | |||
| 14 | namespace detail { | ||
| 15 | |||
| 16 | class MODEL_API InsideSurfaceConvectionAlgorithm_Impl : public ModelObject_Impl | ||
| 17 | { | ||
| 18 | |||
| 19 | public: | ||
| 20 | /** @name Constructors and Destructors */ | ||
| 21 | //@{ | ||
| 22 | |||
| 23 | // constructor | ||
| 24 | InsideSurfaceConvectionAlgorithm_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 25 | |||
| 26 | // construct from workspace | ||
| 27 | InsideSurfaceConvectionAlgorithm_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 28 | |||
| 29 | // clone copy constructor | ||
| 30 | InsideSurfaceConvectionAlgorithm_Impl(const InsideSurfaceConvectionAlgorithm_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 31 | |||
| 32 | // virtual destructor | ||
| 33 | 357 | virtual ~InsideSurfaceConvectionAlgorithm_Impl() override = default; | |
| 34 | |||
| 35 | //@} | ||
| 36 | /** @name Virtual Methods */ | ||
| 37 | //@{ | ||
| 38 | |||
| 39 | // return the parent object in the hierarchy | ||
| 40 | virtual boost::optional<ParentObject> parent() const override; | ||
| 41 | |||
| 42 | // set the parent, child may have to call methods on the parent | ||
| 43 | virtual bool setParent(ParentObject& newParent) override; | ||
| 44 | |||
| 45 | // Get all output variable names that could be associated with this object. | ||
| 46 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 47 | |||
| 48 | virtual IddObjectType iddObjectType() const override; | ||
| 49 | |||
| 50 | //@} | ||
| 51 | /** @name Getters */ | ||
| 52 | //@{ | ||
| 53 | |||
| 54 | std::string algorithm() const; | ||
| 55 | |||
| 56 | bool isAlgorithmDefaulted() const; | ||
| 57 | |||
| 58 | //@} | ||
| 59 | /** @name Setters */ | ||
| 60 | //@{ | ||
| 61 | |||
| 62 | bool setAlgorithm(const std::string& algorithm); | ||
| 63 | |||
| 64 | void resetAlgorithm(); | ||
| 65 | |||
| 66 | //@} | ||
| 67 | private: | ||
| 68 | REGISTER_LOGGER("openstudio.model.InsideSurfaceConvectionAlgorithm"); | ||
| 69 | }; | ||
| 70 | |||
| 71 | } // namespace detail | ||
| 72 | |||
| 73 | } // namespace model | ||
| 74 | } // namespace openstudio | ||
| 75 | |||
| 76 | #endif // MODEL_INSIDESURFACECONVECTIONALGORITHM_IMPL_HPP | ||
| 77 |