Antares Simulator
Power System Simulator
Loading...
Searching...
No Matches
Antares::Study::SystemModel::SystemBuilder Class Reference

Public Member Functions

SystemBuilderwithId (std::string_view id)
 Sets the ID of the system.
 
SystemBuilderwithComponents (std::vector< Component > &components)
 Sets the components of the system.
 
System build () const
 Builds and returns the System object.
 

Member Function Documentation

◆ build()

System Antares::Study::SystemModel::SystemBuilder::build ( ) const

Builds and returns the System object.

Returns
The constructed System object.

◆ withComponents()

SystemBuilder & Antares::Study::SystemModel::SystemBuilder::withComponents ( std::vector< Component > & components)

Sets the components of the system.

Parameters
componentsA vector of components to set.
Returns
Reference to the SystemBuilder object.

◆ withId()

SystemBuilder & Antares::Study::SystemModel::SystemBuilder::withId ( std::string_view id)

Sets the ID of the system.

Parameters
idThe ID to set.
Returns
Reference to the SystemBuilder object.

The documentation for this class was generated from the following files: