GCC Code Coverage Report


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

src/model/OutputControlFiles.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_OUTPUTCONTROLFILES_HPP
7 #define MODEL_OUTPUTCONTROLFILES_HPP
8
9 #include "ModelAPI.hpp"
10 #include "ModelObject.hpp"
11
12 namespace openstudio {
13 namespace model {
14
15 namespace detail {
16
17 class OutputControlFiles_Impl;
18
19 } // namespace detail
20
21 /** OutputControlFiles is a ModelObject that wraps the OpenStudio IDD object 'OS:OutputControl:Files'. */
22 class MODEL_API OutputControlFiles : public ModelObject
23 {
24 public:
25 /** @name Constructors and Destructors */
26 //@{
27
28 242 virtual ~OutputControlFiles() override = default;
29 // Default the copy and move operators because the virtual dtor is explicit
30 99 OutputControlFiles(const OutputControlFiles& other) = default;
31 36 OutputControlFiles(OutputControlFiles&& other) = default;
32 ✗ OutputControlFiles& operator=(const OutputControlFiles&) = default;
33 ✗ OutputControlFiles& operator=(OutputControlFiles&&) = default;
34
35 //@}
36
37 static IddObjectType iddObjectType();
38
39 /** @name Getters */
40 //@{
41
42 bool outputCSV() const;
43
44 bool outputMTR() const;
45
46 bool outputESO() const;
47
48 bool outputEIO() const;
49
50 bool outputTabular() const;
51
52 bool outputSQLite() const;
53
54 bool outputJSON() const;
55
56 bool outputAUDIT() const;
57
58 bool outputSpaceSizing() const;
59
60 bool outputZoneSizing() const;
61
62 bool outputSystemSizing() const;
63
64 bool outputDXF() const;
65
66 bool outputBND() const;
67
68 bool outputRDD() const;
69
70 bool outputMDD() const;
71
72 bool outputMTD() const;
73
74 bool outputSHD() const;
75
76 bool outputDFS() const;
77
78 bool outputGLHE() const;
79
80 bool outputDelightIn() const;
81
82 bool outputDelightELdmp() const;
83
84 bool outputDelightDFdmp() const;
85
86 bool outputEDD() const;
87
88 bool outputDBG() const;
89
90 bool outputPerfLog() const;
91
92 bool outputSLN() const;
93
94 bool outputSCI() const;
95
96 bool outputWRL() const;
97
98 bool outputScreen() const;
99
100 bool outputExtShd() const;
101
102 bool outputTarcog() const;
103
104 bool outputPlantComponentSizing() const;
105
106 //@}
107 /** @name Setters */
108 //@{
109
110 bool setOutputCSV(bool outputCSV);
111
112 bool setOutputMTR(bool outputMTR);
113
114 bool setOutputESO(bool outputESO);
115
116 bool setOutputEIO(bool outputEIO);
117
118 bool setOutputTabular(bool outputTabular);
119
120 bool setOutputSQLite(bool outputSQLite);
121
122 bool setOutputJSON(bool outputJSON);
123
124 bool setOutputAUDIT(bool outputAUDIT);
125
126 bool setOutputSpaceSizing(bool outputSpaceSizing);
127
128 bool setOutputZoneSizing(bool outputZoneSizing);
129
130 bool setOutputSystemSizing(bool outputSystemSizing);
131
132 bool setOutputDXF(bool outputDXF);
133
134 bool setOutputBND(bool outputBND);
135
136 bool setOutputRDD(bool outputRDD);
137
138 bool setOutputMDD(bool outputMDD);
139
140 bool setOutputMTD(bool outputMTD);
141
142 bool setOutputSHD(bool outputSHD);
143
144 bool setOutputDFS(bool outputDFS);
145
146 bool setOutputGLHE(bool outputGLHE);
147
148 bool setOutputDelightIn(bool outputDelightIn);
149
150 bool setOutputDelightELdmp(bool outputDelightELdmp);
151
152 bool setOutputDelightDFdmp(bool outputDelightDFdmp);
153
154 bool setOutputEDD(bool outputEDD);
155
156 bool setOutputDBG(bool outputDBG);
157
158 bool setOutputPerfLog(bool outputPerfLog);
159
160 bool setOutputSLN(bool outputSLN);
161
162 bool setOutputSCI(bool outputSCI);
163
164 bool setOutputWRL(bool outputWRL);
165
166 bool setOutputScreen(bool outputScreen);
167
168 bool setOutputExtShd(bool outputExtShd);
169
170 bool setOutputTarcog(bool outputTarcog);
171
172 bool setOutputPlantComponentSizing(bool outputPlantComponentSizing);
173
174 //@}
175 /** @name Other */
176 //@{
177
178 //@}
179 protected:
180 /// @cond
181 using ImplType = detail::OutputControlFiles_Impl;
182
183 explicit OutputControlFiles(std::shared_ptr<detail::OutputControlFiles_Impl> impl);
184
185 friend class detail::OutputControlFiles_Impl;
186 friend class Model;
187 friend class IdfObject;
188 friend class openstudio::detail::IdfObject_Impl;
189 explicit OutputControlFiles(Model& model);
190
191 /// @endcond
192 private:
193 REGISTER_LOGGER("openstudio.model.OutputControlFiles");
194 };
195
196 /** \relates OutputControlFiles*/
197 using OptionalOutputControlFiles = boost::optional<OutputControlFiles>;
198
199 /** \relates OutputControlFiles*/
200 using OutputControlFilesVector = std::vector<OutputControlFiles>;
201
202 } // namespace model
203 } // namespace openstudio
204
205 #endif // MODEL_OUTPUTCONTROLFILES_HPP
206