Ditto 4.6.0
Loading...
Searching...
No Matches
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 >
T get_value () const
 Get the value of the register in the current view of the document.
 
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 ( ) const

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

Returns
value