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

Function eleToInt

src/subscribe.cpp:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78SEXP eleToInt(const Element& e) {
79 Rcpp::IntegerVector ans(e.numValues());
80 for(size_t i = 0; i < e.numValues(); ++i) {
81 ans[i] = e.getValueAsInt32(i);
82 }
83 return Rcpp::wrap(ans);
84}
85
86SEXP eleToDate(const Element& e) {
87 Rcpp::DateVector ans(e.numValues());

Callers 1

eleToArrayFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected