|
lintel 0.2.0
|
#include <HistoryDtos.h>
Public Member Functions | |
| HistoryDtos (const std::vector< HistoryEntry > entries) | |
| HistoryDtos ()=default | |
| const std::vector< HistoryDto > & | getHistories () 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 history entries
|
explicit |
Construct from HistoryEntry models
| entries | The source history entries |
|
default |
Default constructor
Deserialize from JSON string
| json | The JSON string to parse |
Reimplemented from lintel::JsonSerializable.
| const std::vector< HistoryDto > & lintel::HistoryDtos::getHistories | ( | ) | const |
Get the history DTOs
|
overridevirtual |