|
lintel 0.2.0
|
#include <SharedMemoryRepositoryDto.h>
Public Member Functions | |
| SharedMemoryRepositoryDto (const SharedMemoryRepository &repository) | |
| SharedMemoryRepositoryDto ()=default | |
| const std::string & | getUuid () const |
| const std::string & | getName () const |
| const std::string & | getSegmentName () const |
| SharedMemoryType | getType () const |
| size_t | getSize () const |
| int32_t | getCurrentVersion () const |
| void | serialize (rapidjson::Writer< rapidjson::StringBuffer > *writer) const override |
| bool | deserialize (const rapidjson::Value &obj) override |
Public Member Functions inherited from lintel::JsonSerializable | |
| JsonSerializable ()=default | |
| virtual | ~JsonSerializable ()=default |
| virtual std::string | serialize () const |
| virtual void | deserialize (const std::string &json) |
DTO representing a shared memory repository
|
explicit |
Construct from a SharedMemoryRepository model
| repository | The source repository |
|
default |
Default constructor
Deserialize from JSON
| obj | The JSON value |
Reimplemented from lintel::JsonSerializable.
| int32_t lintel::SharedMemoryRepositoryDto::getCurrentVersion | ( | ) | const |
Get the current version
| const std::string & lintel::SharedMemoryRepositoryDto::getName | ( | ) | const |
Get the repository name
| const std::string & lintel::SharedMemoryRepositoryDto::getSegmentName | ( | ) | const |
Get the segment name
| size_t lintel::SharedMemoryRepositoryDto::getSize | ( | ) | const |
Get the repository size
| SharedMemoryType lintel::SharedMemoryRepositoryDto::getType | ( | ) | const |
Get the shared memory type
| const std::string & lintel::SharedMemoryRepositoryDto::getUuid | ( | ) | const |
|
overridevirtual |