|
| | DataFrameCell (const DataFrameCell &other) |
| |
| | DataFrameCell (DataFrameCell &&other) noexcept |
| |
| | DataFrameCell (const CSVRow *_row, RowOverlay *_row_overlay, size_t _col_index) |
| |
| | DataFrameCell (const CSVRow *_row, const RowOverlay *_row_overlay, size_t _col_index) |
| |
| DataFrameCell & | operator= (const DataFrameCell &other) |
| |
| DataFrameCell & | operator= (DataFrameCell &&other) noexcept |
| |
| DataFrameCell & | operator= (csv::string_view value) |
| |
| template<typename T = std::string> |
| T | get () const |
| | Const-friendly read access for proxy use in column iteration and callbacks.
|
| |
| bool | is_null () const noexcept |
| |
| bool | is_str () const noexcept |
| |
| bool | is_num () const noexcept |
| |
| bool | is_int () const noexcept |
| |
| bool | is_float () const noexcept |
| |
| DataType | type () const noexcept |
| |
| template<typename T > |
| bool | try_get (T &out) const noexcept |
| |
| template<typename T = std::string> |
| T | get () |
| | Returns the value casted to the requested type, performing type checking before.
|
| |
| template<> |
| long double | get () |
| | Retrieve this field's value as a long double.
|
| |
| CONSTEXPR csv::string_view | get_sv () const noexcept |
| | Return a string view over the field's contents.
|
| |
| bool | is_float () noexcept |
| | Returns true if field is a floating point value.
|
| |
| bool | is_int () noexcept |
| | Returns true if field is an integer.
|
| |
| bool | is_null () noexcept |
| | Returns true if field is an empty string or string of whitespace characters.
|
| |
| bool | is_num () noexcept |
| | Returns true if field is an integer or float.
|
| |
| bool | is_str () noexcept |
| | Returns true if field is a non-numeric, non-empty string.
|
| |
| template<typename T = std::string> |
| bool | try_get (T &out) noexcept |
| | Non-throwing equivalent of get().
|
| |
| template<> |
| bool | try_get (long double &out) noexcept |
| | Non-throwing retrieval of field as long double.
|
| |
| DataType | type () noexcept |
| | Return the type of the underlying CSV data.
|
| |
| constexpr | CSVField (csv::string_view _sv) noexcept |
| | Constructs a CSVField from a string_view.
|
| |
| | CSVField (csv::string_view _sv, const internals::CSVFieldScalar &scalar) noexcept |
| |
| | operator csv::string_view () const noexcept |
| |
| | operator std::string () const |
| |
| template<typename T = std::string> |
| T | get () |
| | Returns the value casted to the requested type, performing type checking before.
|
| |
| template<typename T = std::string> |
| std::expected< T, CSVConversionError > | as () |
| | Return this field as T, preserving conversion failure as CSVConversionError.
|
| |
| template<typename T = std::string> |
| bool | try_get (T &out) noexcept |
| | Non-throwing equivalent of get().
|
| |
| template<typename T > |
| | operator std::optional< T > () |
| | Convert this field to std::optional<T>, returning std::nullopt when conversion fails.
|
| |
| template<typename T = long long> |
| bool | try_parse_hex (T &parsedValue) |
| | Parse a hexadecimal value, returning false if the value is not hex.
|
| |
| bool | try_parse_decimal (long double &dVal, const char decimalSymbol='.') |
| | Attempts to parse a decimal (or integer) value using the given symbol, returning true if the value is numeric.
|
| |
| bool | try_parse_timestamp (std::uint64_t &out) noexcept |
| | Parse this field as Unix milliseconds.
|
| |
|
template<typename T > |
| bool | try_parse_timestamp (T &out) noexcept |
| | Parse this field as Unix milliseconds in a 64-bit unsigned integer.
|
| |
| template<typename Rep , typename Period > |
| bool | try_parse_timestamp (std::chrono::duration< Rep, Period > &out) noexcept |
| | Parse this field as a timestamp duration since the Unix epoch.
|
| |
| template<typename Duration > |
| bool | try_parse_timestamp (std::chrono::time_point< std::chrono::system_clock, Duration > &out) noexcept |
| | Parse this field as a std::chrono::system_clock time point.
|
| |
| template<typename T > |
| bool | operator== (T other) const noexcept |
| | Compares the contents of this field to a numeric value.
|
| |
| CONSTEXPR csv::string_view | get_sv () const noexcept |
| | Return a string view over the field's contents.
|
| |
| bool | is_null () noexcept |
| | Returns true if field is an empty string or string of whitespace characters.
|
| |
| bool | is_str () noexcept |
| | Returns true if field is a non-numeric, non-empty string.
|
| |
| bool | is_num () noexcept |
| | Returns true if field is an integer or float.
|
| |
| bool | is_int () noexcept |
| | Returns true if field is an integer.
|
| |
| bool | is_float () noexcept |
| | Returns true if field is a floating point value.
|
| |
| bool | is_bool () noexcept |
| | Returns true if field is a boolean value.
|
| |
| bool | is_timestamp () noexcept |
| | Returns true if field is a timestamp value.
|
| |
| DataType | type () noexcept |
| | Return the type of the underlying CSV data.
|
| |
| template<> |
| long double | get () |
| | Retrieve this field's value as a long double.
|
| |
| template<> |
| bool | try_get (long double &out) noexcept |
| | Non-throwing retrieval of field as long double.
|
| |
| template<> |
| CONSTEXPR bool | operator== (const char *other) const noexcept |
| | Compares the contents of this field to a string.
|
| |
| template<> |
| CONSTEXPR bool | operator== (csv::string_view other) const noexcept |
| | Compares the contents of this field to a string.
|
| |
Definition at line 420 of file data_frame.hpp.