Wildmeshing Toolkit
MerkleTreeInteriorNode.cpp
Go to the documentation of this file.
1
2
3
#include "
MerkleTreeInteriorNode.hpp
"
4
5
namespace
wmtk::utils
{
6
7
std::map<std::string, std::size_t>
MerkleTreeInteriorNode::child_hashes
()
const
8
{
9
std::map<std::string, std::size_t>
child_hashes
;
10
for
(
const
auto
& [k, v] :
child_hashables
()) {
11
child_hashes
[k] = v->hash();
12
}
13
return
child_hashes
;
14
}
15
}
// namespace wmtk::utils
MerkleTreeInteriorNode.hpp
wmtk::utils::MerkleTreeInteriorNode::child_hashes
std::map< std::string, std::size_t > child_hashes() const override
Definition:
MerkleTreeInteriorNode.cpp:7
wmtk::utils::MerkleTreeInteriorNode::child_hashables
virtual std::map< std::string, const Hashable * > child_hashables() const =0
wmtk::utils
Definition:
Tuple.hpp:22
src
wmtk
utils
MerkleTreeInteriorNode.cpp
Generated by
1.9.1