Ditto 3.0.11
|
Public Member Functions | |
void | increment (double amount) |
increment the value of the counter by the given amount | |
Public Member Functions inherited from ditto::Counter | |
double | get_value () const |
Get the value of the counter in the current view of the document. | |
DittoCrdtType | get_type () const |
Additional Inherited Members | |
Protected Member Functions inherited from ditto::Counter | |
Counter (const nlohmann::json &info) | |
Protected Attributes inherited from ditto::Counter | |
double | value |
void ditto::MutableCounter::increment | ( | double | amount | ) |
increment the value of the counter by the given amount
amount | be which the counter will be increased. This value can be negative. |