Ditto 4.8.0-rc.2
Loading...
Searching...
No Matches
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
9namespace ditto {
10
11class MutableRegister : public Register {
12 friend class MutableDocumentPath;
13
14public:
15 void set(nlohmann::json value);
16
17private:
18 MutableRegister(const nlohmann::json &info, MutableDocumentPath doc_path);
19 MutableDocumentPath doc_path;
20};
21} // namespace ditto
22
23#endif
Provides an interface to specify a path to a key in a document that you can then call various update ...
Definition MutableDocumentPath.hpp:31
Definition MutableRegister.hpp:11
Definition Register.hpp:11