21 #ifndef __ANTARES_WINDOWS_INSPECTOR_DATA_H__
22 #define __ANTARES_WINDOWS_INSPECTOR_DATA_H__
24 #include <yuni/yuni.h>
26 #include "antares/study/binding_constraint/BindingConstraintsRepository.h"
27 #include <antares/study/study.h>
29 namespace Antares::Window::Inspector
40 using Ptr = std::shared_ptr<InspectorData>;
55 void determineEmpty();
std::set< AreaLink *, CompareLinkName > Set
Set of links.
Definition: links.h:63
std::set< std::shared_ptr< BindingConstraint >, CompareBindingConstraintName > Set
Ordered Set of binding constraints.
Definition: BindingConstraint.h:88
std::set< RenewableCluster *, CompareClusterName > Set
Set of renewable clusters.
Definition: cluster.h:53
std::set< Ptr > Set
Set of studies.
Definition: study.h:61
std::set< ThermalCluster *, CompareClusterName > Set
Set of thermal clusters.
Definition: cluster.h:81
Collection of items to view/edit from an inspector.
Definition: data.h:37
std::shared_ptr< InspectorData > Ptr
The most suitable smart pointer for the class.
Definition: data.h:40
Data::AreaLink::Set links
All selected links.
Definition: data.h:70
uint totalNbOfItems() const
Get the total number of items in this set.
Definition: data.cpp:50
Data::Area::Set areas
All selected areas.
Definition: data.h:68
Data::RenewableCluster::Set RnClusters
All selected renewable clusters.
Definition: data.h:74
Data::Study::Set studies
All studies.
Definition: data.h:78
InspectorData(Data::Study::Ptr study)
Default constructor.
Definition: data.cpp:26
Data::Study::Ptr study
Reference to the study.
Definition: data.h:64
bool empty
Flag to fastly know if the selection is empty.
Definition: data.h:66
~InspectorData()
Destructor.
Definition: data.cpp:32
Data::ThermalCluster::Set ThClusters
All selected thermal clusters.
Definition: data.h:72
Data::BindingConstraint::Set constraints
All selected binding constraints.
Definition: data.h:76