23 #include <unordered_map>
25 #include "component.h"
27 namespace Antares::ModelerStudy::SystemModel
41 const std::string& Id()
const
46 const std::vector<Component>& Components()
const
54 System(std::string_view
id, std::vector<Component>&& components);
56 std::vector<Component> components_;
69 std::vector<Component> components_;
SystemBuilder & withId(std::string_view id)
Sets the ID of the system.
Definition: system.cpp:49
SystemBuilder & withComponents(std::vector< Component > &&components)
Sets the components of the system.
Definition: system.cpp:61
System build()
Builds and returns the System object.
Definition: system.cpp:72