MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / existsFlowFileInRelationship

Method existsFlowFileInRelationship

libminifi/src/core/ProcessSession.cpp:973–978  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

971}
972
973bool ProcessSession::existsFlowFileInRelationship(const Relationship &relationship) {
974 return std::any_of(_transferRelationship.begin(), _transferRelationship.end(),
975 [&relationship](const std::map<utils::Identifier, Relationship>::value_type &key_value_pair) {
976 return relationship == key_value_pair.second;
977 });
978}
979
980} // namespace core
981} // namespace minifi

Callers 2

onTriggerMethod · 0.80

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected