Ditto
3.0.7
Loading...
Searching...
No Matches
include
MutableRegister.hpp
1
2
#ifndef _DITTO_MUTABLE_REGISTER_
3
#define _DITTO_MUTABLE_REGISTER_
4
5
#include "MutableDocumentPath.hpp"
6
#include "Register.hpp"
7
#include "json.hpp"
8
9
namespace
ditto {
10
11
class
MutableRegister
:
public
Register
{
12
friend
class
MutableDocumentPath
;
13
14
public
:
15
void
set(
nlohmann::json
value);
16
17
private
:
18
MutableRegister
(
const
nlohmann::json
&info,
MutableDocumentPath
doc_path);
19
MutableDocumentPath
doc_path;
20
};
21
}
// namespace ditto
22
23
#endif
ditto::MutableDocumentPath
Provides an interface to specify a path to a key in a document that you can then call various update ...
Definition:
MutableDocumentPath.hpp:32
ditto::MutableRegister
Definition:
MutableRegister.hpp:11
ditto::Register
Definition:
Register.hpp:11
nlohmann::json
basic_json<> json
default JSON class
Definition:
json.hpp:2933
Generated by
1.9.6