Viskores  1.0
List of all members
viskores::VecTraits< const T > Struct Template Reference

#include <VecTraits.h>

Inheritance diagram for viskores::VecTraits< const T >:
viskores::VecTraits< T >

Additional Inherited Members

- Public Types inherited from viskores::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 = viskores::VecTraitsTagSingleComponent
 A tag specifying whether this vector has multiple components (i.e. More...
 
using IsSizeStatic = viskores::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 viskores::VecTraits< T >
static constexpr viskores::IdComponent GetNumberOfComponents (const T &)
 Returns the number of components in the given vector. More...
 
static const ComponentTypeGetComponent (const T &vector, viskores::IdComponent)
 Returns the value in a given component of the vector. More...
 
static ComponentTypeGetComponent (T &vector, viskores::IdComponent)
 Returns the value in a given component of the vector. More...
 
static void SetComponent (T &vector, viskores::IdComponent, ComponentType value)
 Changes the value in a given component of the vector. More...
 
template<viskores::IdComponent destSize>
static void CopyInto (const T &src, viskores::Vec< ComponentType, destSize > &dest)
 Copies the components in the given vector into a given Vec object. More...
 
- Static Public Attributes inherited from viskores::VecTraits< T >
static constexpr viskores::IdComponent NUM_COMPONENTS = 1
 Number of components in the vector. More...
 

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