lintel 0.2.0
Loading...
Searching...
No Matches
ConfigurationComponentBuilder.h
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4#include <vector>
5
8
9
10namespace lintel {
13{
14private:
16 std::vector<std::shared_ptr<Component>> m_components;
17
18public:
21 ConfigurationComponentBuilder(const std::shared_ptr<EnvironmentConfiguration> &environmentConfiguration);
22
25
28 void add(std::shared_ptr<Component> &&component);
29
32 void add(const std::shared_ptr<Component> &component);
33
36 [[nodiscard]] const std::vector<std::shared_ptr<Component>> &build();
37};
38}// namespace lintel
Definition ConfigurationComponentBuilder.h:13
void add(std::shared_ptr< Component > &&component)
const std::vector< std::shared_ptr< Component > > & build()
ConfigurationComponentBuilder(const std::shared_ptr< EnvironmentConfiguration > &environmentConfiguration)
void add(const std::shared_ptr< Component > &component)
Definition BaseFeature.h:6