GCC Code Coverage Report


Directory: ./
Coverage: low: ≥ 0% medium: ≥ 75.0% high: ≥ 90.0%
Coverage Exec / Excl / Total
Lines: 100.0% 1 / 0 / 1
Functions: 100.0% 1 / 0 / 1
Branches: -% 0 / 0 / 0

src/model/EnergyManagementSystemInternalVariable_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_ENERGYMANAGEMENTSYSTEMINTERNALVARIABLE_IMPL_HPP
7 #define MODEL_ENERGYMANAGEMENTSYSTEMINTERNALVARIABLE_IMPL_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject_Impl.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 namespace detail {
16
17 /** EnergyManagementSystemInternalVariable_Impl is a ModelObject_Impl that is the implementation class for EnergyManagementSystemInternalVariable.*/
18 class MODEL_API EnergyManagementSystemInternalVariable_Impl : public ModelObject_Impl
19 {
20 public:
21 /** @name Constructors and Destructors */
22 //@{
23
24 EnergyManagementSystemInternalVariable_Impl(const IdfObject& idfObject, Model_Impl* model, bool keepHandle);
25
26 EnergyManagementSystemInternalVariable_Impl(const openstudio::detail::WorkspaceObject_Impl& other, Model_Impl* model, bool keepHandle);
27
28 EnergyManagementSystemInternalVariable_Impl(const EnergyManagementSystemInternalVariable_Impl& other, Model_Impl* model, bool keepHandle);
29
30 8 virtual ~EnergyManagementSystemInternalVariable_Impl() override = default;
31
32 //@}
33 /** @name Virtual Methods */
34 //@{
35
36 virtual const std::vector<std::string>& outputVariableNames() const override;
37
38 virtual IddObjectType iddObjectType() const override;
39
40 //@}
41 /** @name Getters */
42 //@{
43
44 std::string internalDataIndexKeyName() const;
45
46 std::string internalDataType() const;
47
48 //@}
49 /** @name Setters */
50 //@{
51
52 bool setInternalDataIndexKeyName(const std::string& internalDataIndexKeyName);
53
54 void resetInternalDataIndexKeyName();
55
56 bool setInternalDataType(const std::string& internalDataType);
57
58 //@}
59 /** @name Other */
60 //@{
61
62 //@}
63 protected:
64 private:
65 REGISTER_LOGGER("openstudio.model.EnergyManagementSystemInternalVariable");
66 };
67
68 } // namespace detail
69
70 } // namespace model
71 } // namespace openstudio
72
73 #endif // MODEL_ENERGYMANAGEMENTSYSTEMINTERNALVARIABLE_IMPL_HPP
74