VTK-m  2.1
List of all members
vtkm::VecTraits< const T * > Struct Template Reference

#include <VecTraits.h>

Inheritance diagram for vtkm::VecTraits< const T * >:
vtkm::VecTraits< T * > vtkm::VecTraits< T >

Additional Inherited Members

- Public Types inherited from vtkm::VecTraits< T * >
template<typename NewComponentType >
using ReplaceComponentType = typename VecTraits< T >::template ReplaceComponentType< NewComponentType > *
 
template<typename NewComponentType >
using ReplaceBaseComponentType = typename VecTraits< T >::template ReplaceBaseComponentType< NewComponentType > *
 
- Public Types inherited from vtkm::VecTraits< T >
using ComponentType = T
 Type of the components in the vector. More...
 
using BaseComponentType = T
 Base component type in the vector. More...
 
using HasMultipleComponents = vtkm::VecTraitsTagSingleComponent
 A tag specifying whether this vector has multiple components (i.e. More...
 
using IsSizeStatic = vtkm::VecTraitsTagSizeStatic
 A tag specifying whether the size of this vector is known at compile time. More...
 
template<typename NewComponentType >
using ReplaceComponentType = NewComponentType
 Get a vector of the same type but with a different component. More...
 
template<typename NewComponentType >
using ReplaceBaseComponentType = NewComponentType
 Get a vector of the same type but with a different base component. More...
 
- Static Public Member Functions inherited from vtkm::VecTraits< T * >
static vtkm::IdComponent GetNumberOfComponents (const T *vector)
 
static auto GetComponent (const T *vector, vtkm::IdComponent component) -> decltype(VecTraits< T >::GetComponent(*vector, component))
 
static auto GetComponent (T *vector, vtkm::IdComponent component) -> decltype(VecTraits< T >::GetComponent(*vector, component))
 
static void SetComponent (T *vector, vtkm::IdComponent component, typename VecTraits< T >::ComponentType value)
 
template<vtkm::IdComponent destSize>
static void CopyInto (const T *src, vtkm::Vec< typename VecTraits< T >::ComponentType, destSize > &dest)
 
- Static Public Member Functions inherited from vtkm::VecTraits< T >
static constexpr vtkm::IdComponent GetNumberOfComponents (const T &)
 Returns the number of components in the given vector. More...
 
static const ComponentTypeGetComponent (const T &vector, vtkm::IdComponent)
 Returns the value in a given component of the vector. More...
 
static ComponentTypeGetComponent (T &vector, vtkm::IdComponent)
 Returns the value in a given component of the vector. More...
 
static void SetComponent (T &vector, vtkm::IdComponent, ComponentType value)
 Changes the value in a given component of the vector. More...
 
template<vtkm::IdComponent destSize>
static void CopyInto (const T &src, vtkm::Vec< ComponentType, destSize > &dest)
 Copies the components in the given vector into a given Vec object. More...
 
- Static Public Attributes inherited from vtkm::VecTraits< T >
static constexpr vtkm::IdComponent NUM_COMPONENTS = 1
 Number of components in the vector. More...
 

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