MCPcopy Create free account
hub / github.com/bitshares/bitshares-core / restriction_count

Method restriction_count

libraries/protocol/restriction.cpp:35–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33};
34
35size_t restriction::restriction_count(const vector<restriction>& restrictions) {
36 return std::for_each(restrictions.begin(), restrictions.end(), adder()).sum;
37}
38
39size_t restriction::restriction_count() const {
40 if (argument.is_type<vector<restriction>>()) {

Callers 2

operator()Method · 0.80
do_evaluateMethod · 0.80

Calls 3

adderClass · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected