Classes | Namespaces | Macros | Typedefs | Functions
traits.hpp File Reference
#include <cudf/types.hpp>
#include <cudf/utilities/type_dispatcher.hpp>
#include <cudf/wrappers/durations.hpp>
#include <cudf/wrappers/timestamps.hpp>
#include <cuda/std/type_traits>

Go to the source code of this file.

Classes

struct  cudf::is_relationally_comparable_impl< L, R, typename >
 
struct  cudf::is_relationally_comparable_impl< L, R, void_t< less_comparable< L, R >, greater_comparable< L, R > > >
 
struct  cudf::is_equality_comparable_impl< L, R, typename >
 
struct  cudf::is_equality_comparable_impl< L, R, void_t< equality_comparable< L, R > > >
 
struct  cudf::is_numeric_impl
 
struct  cudf::is_index_type_impl
 
struct  cudf::is_unsigned_impl
 
struct  cudf::is_floating_point_impl
 
struct  cudf::is_boolean_impl
 
struct  cudf::is_timestamp_impl
 
struct  cudf::is_fixed_point_impl
 
struct  cudf::is_duration_impl
 
struct  cudf::is_chrono_impl
 
struct  cudf::is_dictionary_impl
 
struct  cudf::is_fixed_width_impl
 
struct  cudf::is_compound_impl
 
struct  cudf::is_nested_impl
 
struct  cudf::is_bit_castable_to_impl< FromType >
 
struct  cudf::is_bit_castable_from_impl
 
struct  cudf::is_convertible< From, To >
 
struct  cudf::is_convertible< cudf::detail::timestamp< Duration1 >, cudf::detail::timestamp< Duration2 > >
 

Namespaces

 cudf
 cuDF interfaces
 

Macros

#define CUDF_ENABLE_IF(...)   std::enable_if_t<(__VA_ARGS__)>* = nullptr
 Convenience macro for SFINAE as an unnamed template parameter. More...
 

Typedefs

template<typename... >
using cudf::void_t = void
 
template<typename L , typename R >
using cudf::less_comparable = decltype(std::declval< L >()< std::declval< R >())
 
template<typename L , typename R >
using cudf::greater_comparable = decltype(std::declval< L >() > std::declval< R >())
 
template<typename L , typename R >
using cudf::equality_comparable = decltype(std::declval< L >()==std::declval< R >())
 
template<typename T >
using cudf::is_timestamp_t = cuda::std::disjunction< std::is_same< cudf::timestamp_D, T >, std::is_same< cudf::timestamp_s, T >, std::is_same< cudf::timestamp_ms, T >, std::is_same< cudf::timestamp_us, T >, std::is_same< cudf::timestamp_ns, T > >
 
template<typename T >
using cudf::is_duration_t = cuda::std::disjunction< std::is_same< cudf::duration_D, T >, std::is_same< cudf::duration_s, T >, std::is_same< cudf::duration_ms, T >, std::is_same< cudf::duration_us, T >, std::is_same< cudf::duration_ns, T > >
 

Functions

template<typename L , typename R >
constexpr bool cudf::is_relationally_comparable ()
 Indicates whether objects of types L and R can be relationally compared. More...
 
template<typename L , typename R >
constexpr bool cudf::is_equality_comparable ()
 Indicates whether objects of types L and R can be compared for equality. More...
 
template<typename T >
constexpr bool cudf::is_numeric ()
 Indicates whether the type T is a numeric type. More...
 
constexpr bool cudf::is_numeric (data_type type)
 Indicates whether type is a numeric data_type. More...
 
template<typename T >
constexpr bool cudf::is_index_type ()
 Indicates whether the type T is a index type. More...
 
constexpr bool cudf::is_index_type (data_type type)
 Indicates whether the type type is a index type. More...
 
template<typename T >
constexpr bool cudf::is_unsigned ()
 Indicates whether the type T is a unsigned numeric type. More...
 
constexpr bool cudf::is_unsigned (data_type type)
 Indicates whether type is a unsigned numeric data_type. More...
 
template<typename Iterator >
constexpr bool cudf::is_signed_iterator ()
 Indicates whether the Iterator value type is unsigned. More...
 
template<typename T >
constexpr bool cudf::is_floating_point ()
 Indicates whether the type T is a floating point type. More...
 
constexpr bool cudf::is_floating_point (data_type type)
 Indicates whether type is a floating point data_type. More...
 
template<typename T >
constexpr bool cudf::is_boolean ()
 Indicates whether T is a Boolean type. More...
 
constexpr bool cudf::is_boolean (data_type type)
 Indicates whether type is a Boolean data_type. More...
 
template<typename T >
constexpr bool cudf::is_timestamp ()
 Indicates whether the type T is a timestamp type. More...
 
constexpr bool cudf::is_timestamp (data_type type)
 Indicates whether type is a timestamp data_type. More...
 
template<typename T >
constexpr bool cudf::is_fixed_point ()
 Indicates whether the type T is a fixed-point type. More...
 
constexpr bool cudf::is_fixed_point (data_type type)
 Indicates whether type is a fixed point data_type. More...
 
template<typename T >
constexpr bool cudf::is_duration ()
 Indicates whether the type T is a duration type. More...
 
constexpr bool cudf::is_duration (data_type type)
 Indicates whether type is a duration data_type. More...
 
template<typename T >
constexpr bool cudf::is_chrono ()
 Indicates whether the type T is a chrono type. More...
 
constexpr bool cudf::is_chrono (data_type type)
 Indicates whether type is a chrono data_type. More...
 
template<typename T >
constexpr bool cudf::is_rep_layout_compatible ()
 Indicates whether T is layout compatible with its "representation" type. More...
 
template<typename T >
constexpr bool cudf::is_dictionary ()
 Indicates whether the type T is a dictionary type. More...
 
constexpr bool cudf::is_dictionary (data_type type)
 Indicates whether type is a dictionary data_type. More...
 
template<typename T >
constexpr bool cudf::is_fixed_width ()
 Indicates whether elements of type T are fixed-width. More...
 
constexpr bool cudf::is_fixed_width (data_type type)
 Indicates whether elements of type are fixed-width. More...
 
template<typename T >
constexpr bool cudf::is_compound ()
 Indicates whether the type T is a compound type. More...
 
constexpr bool cudf::is_compound (data_type type)
 Indicates whether elements of type are compound. More...
 
template<typename T >
constexpr bool cudf::is_nested ()
 Indicates whether T is a nested type. More...
 
constexpr bool cudf::is_nested (data_type type)
 Indicates whether type is a nested type. More...
 
constexpr bool cudf::is_bit_castable (data_type from, data_type to)
 Indicates whether from is bit-castable to to. More...