VTK  9.4.20241121
Public Types | Static Public Attributes | List of all members
vtk::detail::implicit_array_traits< T > Struct Template Reference

A composite trait for handling all the different capabilities a "backend" to an implicit array can have. More...

#include <vtkImplicitArrayTraits.h>

Public Types

using type = T
 
using trait = typename std::conditional< can_map_trait< T >::value, can_map_trait< T >, can_close_trait< T > >::type
 
using rtype = typename trait::rtype
 

Static Public Attributes

static constexpr bool can_read = trait::value
 
static constexpr iarrays::ReadOperatorCodes code = trait::code
 
static constexpr bool default_constructible = std::is_default_constructible<T>::value
 
static constexpr bool can_direct_read_tuple = can_map_tuple_trait<T>::value
 
static constexpr bool can_direct_read_component = can_map_component_trait<T>::value
 
static constexpr bool can_get_memory_size = can_get_memory_size_trait<T>::value
 

Detailed Description

template<typename T>
struct vtk::detail::implicit_array_traits< T >

A composite trait for handling all the different capabilities a "backend" to an implicit array can have.

Definition at line 373 of file vtkImplicitArrayTraits.h.

Member Typedef Documentation

◆ type

template<typename T >
using vtk::detail::implicit_array_traits< T >::type = T

Definition at line 375 of file vtkImplicitArrayTraits.h.

◆ trait

template<typename T >
using vtk::detail::implicit_array_traits< T >::trait = typename std::conditional<can_map_trait<T>::value, can_map_trait<T>, can_close_trait<T> >::type

Definition at line 376 of file vtkImplicitArrayTraits.h.

◆ rtype

template<typename T >
using vtk::detail::implicit_array_traits< T >::rtype = typename trait::rtype

Definition at line 379 of file vtkImplicitArrayTraits.h.

Member Data Documentation

◆ can_read

template<typename T >
constexpr bool vtk::detail::implicit_array_traits< T >::can_read = trait::value
staticconstexpr

Definition at line 378 of file vtkImplicitArrayTraits.h.

◆ code

template<typename T >
constexpr iarrays::ReadOperatorCodes vtk::detail::implicit_array_traits< T >::code = trait::code
staticconstexpr

Definition at line 380 of file vtkImplicitArrayTraits.h.

◆ default_constructible

template<typename T >
constexpr bool vtk::detail::implicit_array_traits< T >::default_constructible = std::is_default_constructible<T>::value
staticconstexpr

Definition at line 381 of file vtkImplicitArrayTraits.h.

◆ can_direct_read_tuple

template<typename T >
constexpr bool vtk::detail::implicit_array_traits< T >::can_direct_read_tuple = can_map_tuple_trait<T>::value
staticconstexpr

Definition at line 382 of file vtkImplicitArrayTraits.h.

◆ can_direct_read_component

template<typename T >
constexpr bool vtk::detail::implicit_array_traits< T >::can_direct_read_component = can_map_component_trait<T>::value
staticconstexpr

Definition at line 383 of file vtkImplicitArrayTraits.h.

◆ can_get_memory_size

template<typename T >
constexpr bool vtk::detail::implicit_array_traits< T >::can_get_memory_size = can_get_memory_size_trait<T>::value
staticconstexpr

Definition at line 384 of file vtkImplicitArrayTraits.h.


The documentation for this struct was generated from the following file: