MCPcopy Create free account
hub / github.com/apache/qpid-proton / match

Method match

c/tests/pn_test.cpp:164–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162std::string cond_empty::describe() const { return "is empty"; }
163
164bool cond_empty::match(const pn_condition_t &cond) const {
165 return !pn_condition_is_set(const_cast<pn_condition_t *>(&cond));
166}
167
168cond_matches::cond_matches(std::string name, std::string desc)
169 : name_(std::move(name)), desc_(std::move(desc)) {}

Callers 1

deprecatedMethod · 0.45

Calls 7

pn_condition_is_setFunction · 0.85
containsFunction · 0.85
pn_error_codeFunction · 0.85
pn_condition_get_nameFunction · 0.50
pn_error_textFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected