2#ifndef _DITTO_REGISTER_
3#define _DITTO_REGISTER_
5#include "AbstractDocumentPath.hpp"
7#include "internal_errors.hpp"
15 template <
class T>
Register(T value);
21 template <
typename T> T
get_value()
const;
23 DittoCrdtType get_type()
const;
31template <
class T> Register::Register(T ext_value) {
Provides an interface to specify a path to a key in a document that you can then call various update ...
Definition: AbstractDocumentPath.hpp:21
Definition: Register.hpp:11
T get_value() const
Get the value of the register in the current view of the document.
Definition: Register.hpp:35
basic_json<> json
default JSON class
Definition: json.hpp:2933