Ditto 3.0.3-alpha2
|
Represents a CRDT Replicated Growable Array (RGA). More...
#include <Rga.hpp>
Public Member Functions | |
DittoCrdtType | get_type () const |
std::vector< nlohmann::json > | get_value () const |
Return the array representation of the RGA. More... | |
Protected Member Functions | |
Rga (std::vector< nlohmann::json > value=std::vector< nlohmann::json >()) DITTO_DEPRECATED | |
Construct a new Rga object than can be used as part of a document's context. More... | |
size_t | size () const |
Protected Attributes | |
std::vector< nlohmann::json > | value |
Represents a CRDT Replicated Growable Array (RGA).
Register
containing an array.
|
protected |
Construct a new Rga object than can be used as part of a document's context.
value | the array to use as the RGA's representation. |
std::vector< json > ditto::Rga::get_value | ( | ) | const |
Return the array representation of the RGA.