Ditto 4.8.0-rc.2
Loading...
Searching...
No Matches
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