Antares Simulator
Power System Simulator
Antares::ModelerStudy::SystemModel::SystemBuilder Class Referencefinal

Public Member Functions

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

Member Function Documentation

◆ build()

System Antares::ModelerStudy::SystemModel::SystemBuilder::build ( )

Builds and returns the System object.

Returns
The constructed System object.

◆ withComponents()

SystemBuilder & Antares::ModelerStudy::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::ModelerStudy::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: