lintel 0.2.0
Loading...
Searching...
No Matches
PropertyApi.h
Go to the documentation of this file.
1#ifndef LINTEL_PROPERTYAPI_H
2#define LINTEL_PROPERTYAPI_H
3
4#include <memory>
5#include <optional>
6#include <vector>
7
10
11namespace lintel {
14{
15private:
16 std::shared_ptr<Client> m_client;
17
18public:
19 explicit PropertyApi(const std::shared_ptr<ClientProvider> &clientProvider);
20
27 std::vector<PropertyDto>
28 allOf(const std::string &processName, const std::string &className, const std::string &instanceName);
29
33 std::optional<PropertyDto> of(const std::string &processName,
34 const std::string &className,
35 const std::string &instanceName,
36 const std::string &propertyName);
37
44 bool updateOf(const PropertyDto &propertyDto, const std::string &value);
45};
46
47}// namespace lintel
48#endif// LINTEL_PROPERTYAPI_H
Definition PropertyApi.h:14
std::vector< PropertyDto > allOf(const std::string &processName, const std::string &className, const std::string &instanceName)
std::optional< PropertyDto > of(const std::string &processName, const std::string &className, const std::string &instanceName, const std::string &propertyName)
PropertyApi(const std::shared_ptr< ClientProvider > &clientProvider)
bool updateOf(const PropertyDto &propertyDto, const std::string &value)
Definition PropertyDto.h:13
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9