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/OutputControlTableStyle.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_OUTPUTCONTROLTABLESTYLE_HPP
7 #define MODEL_OUTPUTCONTROLTABLESTYLE_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject.hpp"
11
12 namespace openstudio {
13
14 namespace model {
15
16 namespace detail {
17
18 class OutputControlTableStyle_Impl;
19
20 } // namespace detail
21
22 /** OutputControlTableStyle is a ModelObject that wraps the OpenStudio IDD object 'OS:OutputControl:Table:Style'. */
23 class MODEL_API OutputControlTableStyle : public ModelObject
24 {
25 public:
26 /** @name Constructors and Destructors */
27 //@{
28
29 69 virtual ~OutputControlTableStyle() override = default;
30
31 //@}
32
33 static IddObjectType iddObjectType();
34
35 static std::vector<std::string> columnSeparatorValues();
36
37 static std::vector<std::string> unitConversionValues();
38
39 /** @name Getters */
40 //@{
41
42 std::string columnSeparator() const;
43
44 std::string unitConversion() const;
45
46 //@}
47 /** @name Setters */
48 //@{
49
50 bool setColumnSeparator(const std::string& columnSeparator);
51
52 bool setUnitConversion(const std::string& unitConversion);
53
54 //@}
55 /** @name Other */
56 //@{
57
58 //@}
59 protected:
60 /// @cond
61 using ImplType = detail::OutputControlTableStyle_Impl;
62
63 explicit OutputControlTableStyle(std::shared_ptr<detail::OutputControlTableStyle_Impl> impl);
64
65 friend class detail::OutputControlTableStyle_Impl;
66 friend class Model;
67 friend class IdfObject;
68 friend class openstudio::detail::IdfObject_Impl;
69 explicit OutputControlTableStyle(Model& model);
70
71 /// @endcond
72 private:
73 REGISTER_LOGGER("openstudio.model.OutputControlTableStyle");
74 };
75
76 /** \relates OutputControlTableStyle*/
77 using OptionalOutputControlTableStyle = boost::optional<OutputControlTableStyle>;
78
79 /** \relates OutputControlTableStyle*/
80 using OutputControlTableStyleVector = std::vector<OutputControlTableStyle>;
81
82 } // namespace model
83 } // namespace openstudio
84
85 #endif // MODEL_OUTPUTCONTROLTABLESTYLE_HPP
86