Ditto 4.4.3
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ditto::Counter Class Reference
Inheritance diagram for ditto::Counter:
ditto::MutableCounter

Public Member Functions

double get_value () const
 Get the value of the counter in the current view of the document.
 
DittoCrdtType get_type () const
 

Protected Member Functions

 Counter (const nlohmann::json &info)
 

Protected Attributes

double value
 

Member Function Documentation

◆ get_value()

double ditto::Counter::get_value ( ) const

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

Returns
double