ipfs-chromium
Loading...
Searching...
No Matches
dag_cbor_node.h
1#ifndef IPFS_DAG_CBOR_NODE_H_
2#define IPFS_DAG_CBOR_NODE_H_
3
4#include <ipfs_client/ipld/dag_node.h>
5
6#include <ipfs_client/client.h>
7
8namespace ipfs::ipld {
11class DagCborNode final : public DagNode {
12 ResolveResult resolve(ResolutionState&) override;
13
14 public:
18 explicit DagCborNode(std::unique_ptr<Data>);
20
21 private:
22 std::unique_ptr<Data> doc_;
23};
24}
25
26#endif // IPFS_DAG_CBOR_NODE_H_
Definition dag_cbor_value.h:15
Definition dag_cbor_node.h:11
A block, an IPNS record, etc.
Definition dag_node.h:69
Definition resolution_state.h:21
Just an observing (non-owning) pointer.
Definition raw_ptr.h:31