src/model/Construction_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_CONSTRUCTION_IMPL_HPP | ||
| 7 | #define MODEL_CONSTRUCTION_IMPL_HPP | ||
| 8 | |||
| 9 | #include "LayeredConstruction_Impl.hpp" | ||
| 10 | |||
| 11 | namespace openstudio { | ||
| 12 | namespace model { | ||
| 13 | |||
| 14 | namespace detail { | ||
| 15 | |||
| 16 | class MODEL_API Construction_Impl : public LayeredConstruction_Impl | ||
| 17 | { | ||
| 18 | public: | ||
| 19 | // constructor | ||
| 20 | Construction_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle); | ||
| 21 | |||
| 22 | // construct from workspace | ||
| 23 | Construction_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 24 | |||
| 25 | Construction_Impl(const Construction_Impl& other, Model_Impl* model, bool keepHandle); | ||
| 26 | |||
| 27 | // virtual destructor | ||
| 28 | 5492 | virtual ~Construction_Impl() override = default; | |
| 29 | |||
| 30 | /** Get all output variables names that could be associated with this object. These variables | ||
| 31 | * may or may not be available for each simulation, need to check report variable dictionary | ||
| 32 | * to see if the variable is available. Each concrete class should override this method.*/ | ||
| 33 | virtual const std::vector<std::string>& outputVariableNames() const override; | ||
| 34 | |||
| 35 | virtual IddObjectType iddObjectType() const override; | ||
| 36 | |||
| 37 | virtual int renderingColorIndex() const override; | ||
| 38 | |||
| 39 | /** Searches the model for a layered construction with layers which are the reverse of this one. Returns that construction | ||
| 40 | * if found, creates one if not. */ | ||
| 41 | Construction reverseConstruction() const; | ||
| 42 | |||
| 43 | private: | ||
| 44 | REGISTER_LOGGER("openstudio.model.Construction"); | ||
| 45 | }; | ||
| 46 | |||
| 47 | } // namespace detail | ||
| 48 | } // namespace model | ||
| 49 | } // namespace openstudio | ||
| 50 | |||
| 51 | #endif // MODEL_CONSTRUCTION_IMPL_HPP | ||
| 52 |