lintel 0.2.0
Loading...
Searching...
No Matches
FilePropertyRepository.h
Go to the documentation of this file.
1#ifndef LOGGING_FILEPROPERTYREPOSITORY_H
2#define LOGGING_FILEPROPERTYREPOSITORY_H
3
9
10namespace lintel {
19{
20private:
21 std::vector<std::shared_ptr<PropertyBase>> m_properties;
22
23public:
24 explicit FilePropertyRepository(std::shared_ptr<Configuration> configuration,
25 const std::shared_ptr<ProcessName> &processName);
26
31
44 void save(std::shared_ptr<PropertyBase> property) override;
45
50 void save(const std::vector<std::shared_ptr<PropertyBase>> &saveProperties) override;
51
55 std::vector<std::shared_ptr<PropertyBase>> awake() override;
56
57private:
58 std::shared_ptr<Configuration> m_configuration;
59};
60
61}// namespace lintel
62#endif// LOGGING_FILEPROPERTYREPOSITORY_H
Definition DataStorage.h:13
Definition FilePropertyRepository.h:19
DataStorage getDataStorage() override
FilePropertyRepository(std::shared_ptr< Configuration > configuration, const std::shared_ptr< ProcessName > &processName)
void save(const std::vector< std::shared_ptr< PropertyBase > > &saveProperties) override
std::vector< std::shared_ptr< PropertyBase > > awake() override
void save(std::shared_ptr< PropertyBase > property) override
Definition PropertyRepository.h:18
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9