1#ifndef LINTEL_SHAREDMEMORYSEGMENTDTO_H
2#define LINTEL_SHAREDMEMORYSEGMENTDTO_H
15 std::filesystem::path m_path;
23 std::size_t m_autoExtendSize;
25 std::size_t m_maxSize;
29 std::size_t m_currentSize;
31 std::size_t m_freeSize;
33 std::size_t m_amountNamedObjects;
35 std::size_t m_amountUniqueObjects;
40 const char *
const PATH =
"path";
41 const char *
const NAME =
"name";
42 const char *
const SIZE =
"size";
43 const char *
const AUTO_EXTEND =
"auto_extend";
44 const char *
const AUTO_EXTEND_SIZE =
"auto_extend_size";
45 const char *
const MAX_SIZE =
"max_size";
46 const char *
const SANITY =
"sanity";
47 const char *
const CURRENT_SIZE =
"current_size";
48 const char *
const FREE_SIZE =
"free_size";
49 const char *
const NAMED_OBJECTS =
"named_objects";
50 const char *
const UNIQUE_OBJECTS =
"unique_objects";
Definition JsonSerializable.h:17
Definition SharedMemorySegmentDto.h:12
SharedMemorySegmentDto()=default
size_t getCurrentSize() const
bool isAutoExtend() const
SharedMemorySegmentDto(const SharedMemorySegmentInfo &sharedMemoryInfo)
bool deserialize(const rapidjson::Value &obj) override
static const Shapes & getShape()
size_t getFreeSize() const
const std::filesystem::path & getPath() const
size_t getAmountUniqueObjects() const
size_t getMaxSize() const
void serialize(rapidjson::Writer< rapidjson::StringBuffer > *writer) const override
size_t getAmountNamedObjects() const
const std::string & getName() const
size_t getAutoExtendSize() const
Definition SharedMemorySegmentInfo.h:13
Definition BaseFeature.h:6
constexpr std::string_view type_name()
Definition TypeName.h:9