Antares Simulator
Power System Simulator
content.h
1 /*
2  * Copyright 2007-2025, RTE (https://www.rte-france.com)
3  * See AUTHORS.txt
4  * SPDX-License-Identifier: MPL-2.0
5  * This file is part of Antares-Simulator,
6  * Adequacy and Performance assessment for interconnected energy networks.
7  *
8  * Antares_Simulator is free software: you can redistribute it and/or modify
9  * it under the terms of the Mozilla Public Licence 2.0 as published by
10  * the Mozilla Foundation, either version 2 of the License, or
11  * (at your option) any later version.
12  *
13  * Antares_Simulator is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16  * Mozilla Public Licence 2.0 for more details.
17  *
18  * You should have received a copy of the Mozilla Public Licence 2.0
19  * along with Antares_Simulator. If not, see <https://opensource.org/license/mpl-2-0/>.
20  */
21 #ifndef __ANTARES_WINDOWS_OUTPUT_CONTENT_H__
22 #define __ANTARES_WINDOWS_OUTPUT_CONTENT_H__
23 
24 #include <yuni/yuni.h>
25 #include <set>
26 #include <map>
27 #include "fwd.h"
28 #include <antares/study/fwd.h>
29 
30 namespace Antares::Private::OutputViewerData
31 {
32 class Content final
33 {
34 public:
35  using AreaNameSet = std::set<Data::AreaName>;
36  using LinkNameSet = std::set<Data::AreaLinkName>;
37 
39  {
40  public:
42  bool empty() const;
43 
44  public:
46  AreaNameSet areas;
48  LinkNameSet links;
49 
50  }; // class SimulationType
51 
52 public:
54 
55  Content();
58  ~Content();
60 
61  bool empty() const;
62 
63 public:
68 
70  ThermalNameSetPerArea clusters;
71 
77  uint ybyInterval[2];
78 
79 }; // class Content
80 
81 } // namespace Antares::Private::OutputViewerData
82 
83 #include "content.hxx"
84 
85 #endif // __ANTARES_WINDOWS_OUTPUT_CONTENT_H__
LinkNameSet links
All links.
Definition: content.h:48
bool empty() const
Get if the result set is empty.
Definition: content.hxx:38
AreaNameSet areas
All areas.
Definition: content.h:46
~Content()
Destructor.
Definition: content.hxx:34
SimulationType economy
All areas/links found for economy.
Definition: content.h:65
Content()
Constructor & Destructor.
Definition: content.hxx:26
bool hasYearByYear
Flag to know if some year-by-year data are presetn.
Definition: content.h:73
SimulationType adequacy
All areas/links found for adequacy.
Definition: content.h:67
ThermalNameSetPerArea clusters
All available clusters.
Definition: content.h:70
bool hasConcatenedYbY
Flag to know if concatened individual years are present.
Definition: content.h:75
uint ybyInterval[2]
Year interval for year-by-year data.
Definition: content.h:77