MCPcopy Create free account
hub / github.com/apache/arrow / VectorExternalPtrInput

Method VectorExternalPtrInput

r/src/arrow_cpp11.h:276–281  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

274class VectorExternalPtrInput {
275 public:
276 explicit VectorExternalPtrInput(SEXP self) : vec_(XLENGTH(self)) {
277 R_xlen_t i = 0;
278 for (auto& element : vec_) {
279 element = *r6_to_pointer<const T*>(VECTOR_ELT(self, i++));
280 }
281 }
282 operator const std::vector<T>&() const { return vec_; }
283
284 private:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected