Ditto 3.0.3-alpha2
Public Member Functions | Protected Attributes | List of all members
ditto::Register Class Reference
Inheritance diagram for ditto::Register:
ditto::MutableRegister

Public Member Functions

template<class T >
 Register (T value)
 
 Register (const nlohmann::json &info)
 
template<typename T >
get_value () const
 Get the value of the register in the current view of the document. More...
 
nlohmann::json get_json_value () const
 
DittoCrdtType get_type () const
 

Protected Attributes

nlohmann::json value
 

Member Function Documentation

◆ get_value()

template<class T >
T ditto::Register::get_value

Get the value of the register in the current view of the document.

Returns
value