Couchbase C++ SDK 1.0.2 (rev. 51f4775)
|
Represents result of counter operations. More...
#include <couchbase/counter_result.hxx>
Public Member Functions | |
counter_result ()=default | |
counter_result (couchbase::cas cas, couchbase::mutation_token token, std::uint64_t content) | |
Constructs result for get_any_replica operation, or an entry for get_all_replicas operation. | |
auto | content () const -> std::uint64_t |
Current value of the counter. | |
Public Member Functions inherited from mutation_result | |
mutation_result ()=default | |
mutation_result (couchbase::cas cas, mutation_token token) | |
Constructs result for get_any_replica operation, or an entry for get_all_replicas operation. | |
auto | mutation_token () const -> const std::optional< mutation_token > & |
Public Member Functions inherited from result | |
result ()=default | |
result (couchbase::cas cas) | |
auto | cas () const -> couchbase::cas |
Represents result of counter operations.
|
default |
|
inline |
Constructs result for get_any_replica operation, or an entry for get_all_replicas operation.
cas | |
token | counter token returned by the server |
content | current value of the counter |
|
inlinenodiscard |
Current value of the counter.