libcudf
24.02.00
|
Indicator for the logical data type of an element in a column. More...
#include <types.hpp>
Public Member Functions | |
data_type (data_type const &)=default | |
Copy constructor. | |
data_type (data_type &&)=default | |
Move constructor. | |
data_type & | operator= (data_type const &)=default |
Copy assignment operator for data_type. More... | |
data_type & | operator= (data_type &&)=default |
Move assignment operator for data_type. More... | |
constexpr | data_type (type_id id) |
Construct a new data_type object. More... | |
data_type (type_id id, int32_t scale) | |
Construct a new data_type object for numeric::fixed_point More... | |
constexpr type_id | id () const noexcept |
Returns the type identifier. More... | |
constexpr int32_t | scale () const noexcept |
Returns the scale (for fixed_point types) More... | |
Indicator for the logical data type of an element in a column.
Simple types can be entirely described by their id()
, but some types require additional metadata to fully describe elements of that type.
|
inlineexplicitconstexpr |
|
inlineexplicit |
Construct a new data_type
object for numeric::fixed_point
id | The fixed_point 's identifier |
scale | The fixed_point 's scale (see fixed_point::_scale ) |
|
inlineconstexprnoexcept |
Move assignment operator for data_type.
Copy assignment operator for data_type.
|
inlineconstexprnoexcept |