MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / hasAny

Method hasAny

Sources/Dependencies/jsoncpp/value.cpp:1596–1604  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1594 }
1595
1596 bool Value::Comments::hasAny() const {
1597 if (ptr_) {
1598 for (std::size_t slot = 0; slot < CommentPlacement::numberOfCommentPlacement; slot++) {
1599 if (!(*ptr_)[slot].empty())
1600 return true;
1601 }
1602 }
1603 return false;
1604 }
1605
1606 StringContainer Value::Comments::get(CommentPlacement slot) const {
1607 if (!ptr_)

Callers 1

hasCommentMethod · 0.80

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected