|
lintel 0.2.0
|
#include <SharedMemorySegmentsDto.h>
Public Member Functions | |
| SharedMemorySegmentsDto (std::vector< SharedMemorySegmentDto > segments) | |
| SharedMemorySegmentsDto ()=default | |
| const std::vector< SharedMemorySegmentDto > & | getSegments () const |
| void | serialize (rapidjson::Writer< rapidjson::StringBuffer > *writer) const override |
| void | deserialize (const std::string &json) override |
Public Member Functions inherited from lintel::JsonSerializable | |
| JsonSerializable ()=default | |
| virtual | ~JsonSerializable ()=default |
| virtual bool | deserialize (const rapidjson::Value &obj) |
| virtual std::string | serialize () const |
DTO representing a collection of shared memory segments
|
explicit |
Construct from existing SharedMemorySegmentDto objects
| segments | The segment DTOs |
|
default |
Default constructor
Deserialize from JSON string
| json | The JSON string to parse |
Reimplemented from lintel::JsonSerializable.
| const std::vector< SharedMemorySegmentDto > & lintel::SharedMemorySegmentsDto::getSegments | ( | ) | const |
Get the segment DTOs
|
overridevirtual |