Ultra 0.9.4
Loading...
Searching...
No Matches
ultra::src::DataframeRow Concept Reference

#include <columns_info.h>

Concept definition

template<class R>
std::ranges::forward_range<R>
&& std::ranges::sized_range<R>
&& std::copyable<R>
&& (std::same_as<std::ranges::range_value_t<R>, value_t>
|| std::same_as<std::ranges::range_value_t<R>, std::string>)
Definition columns_info.h:73
std::variant< D_VOID, D_INT, D_DOUBLE, D_STRING, const D_NULLARY *, D_ADDRESS, const D_VARIABLE *, D_IVECTOR > value_t
Definition value.h:54

Detailed Description

A single row of a generic dataframe.

A DataframeRow models one logical record of a dataframe. It must:

  • be a forward_range (multi-pass iteration is required);
  • be a sized_range (the number of columns must be known);
  • be copyable (rows may be copied during inference);
  • expose values of type value_t or std::string.

This concept deliberately does not require random access, allowing rows to be represented by lightweight views or containers.