MCPcopy Create free account
hub / github.com/Rblp/Rblpapi / processResponseEvent

Function processResponseEvent

src/lookup.cpp:77–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75}
76
77void processResponseEvent(bbg::Event &event, InstrumentListResults &matches, const bool verbose) {
78 bbg::MessageIterator msgIter(event);
79 while (msgIter.next()) {
80 bbg::Message msg = msgIter.message();
81 if (msg.hasElement(RESPONSE_ERROR)) {
82 Rcpp::Rcerr << "REQUEST FAILED: " << msg.getElement(RESPONSE_ERROR) << std::endl;
83 continue;
84 }
85 processMessage(msg, matches, verbose);
86 }
87}
88
89// [[Rcpp::export]]
90Rcpp::DataFrame lookup_Impl(SEXP con,

Callers 1

lookup_ImplFunction · 0.70

Calls 1

processMessageFunction · 0.70

Tested by

no test coverage detected