lintel 0.2.0
Loading...
Searching...
No Matches
HistoryComponent.h
Go to the documentation of this file.
1#ifndef LINTEL_HISTORYCOMPONENT_H
2#define LINTEL_HISTORYCOMPONENT_H
3
4#include <cstdint>
5#include <memory>
6#include <string>
7#include <vector>
8
11
12namespace lintel {
15{
16private:
18 static const struct Shapes
19 {
20 const char *const CONFIG_ROOT = "HistoryServices";
21 const char *const HISTORY_ROOT = "HistoryService";
22 const char *const PROCESS_NAME = "process_name";
23 const char *const QUEUE = "queue";
24 const char *const MAX_MESSAGES = "max_messages";
25 } shape;
26
27public:
30
36 std::vector<std::shared_ptr<Entry>>
37 parse(const std::string &content, int32_t lineOffset, const std::string &fileName) override;
38};
39
40}// namespace lintel
41#endif// LINTEL_HISTORYCOMPONENT_H
Definition Component.h:13
Definition HistoryComponent.h:15
std::vector< std::shared_ptr< Entry > > parse(const std::string &content, int32_t lineOffset, const std::string &fileName) override
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9