lintel 0.2.0
Loading...
Searching...
No Matches
SharedMemorySegmentsDto.h
Go to the documentation of this file.
1#ifndef LINTEL_SHAREDMEMORYSEGMENTSDTO_H
2#define LINTEL_SHAREDMEMORYSEGMENTSDTO_H
3
4#include <vector>
5
8
9namespace lintel {
12{
13private:
15 std::vector<SharedMemorySegmentDto> m_segments;
16
17public:
20 explicit SharedMemorySegmentsDto(std::vector<SharedMemorySegmentDto> segments);
21
24
27 [[nodiscard]] const std::vector<SharedMemorySegmentDto> &getSegments() const;
28
31 void serialize(rapidjson::Writer<rapidjson::StringBuffer> *writer) const override;
32
35 void deserialize(const std::string &json) override;
36};
37
38}// namespace lintel
39#endif// LINTEL_SHAREDMEMORYSEGMENTSDTO_H
Definition JsonSerializable.h:17
Definition SharedMemorySegmentsDto.h:12
const std::vector< SharedMemorySegmentDto > & getSegments() const
SharedMemorySegmentsDto(std::vector< SharedMemorySegmentDto > segments)
void deserialize(const std::string &json) override
void serialize(rapidjson::Writer< rapidjson::StringBuffer > *writer) const override
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9