VTK-m  2.0
Public Types | Public Member Functions | Static Public Attributes | List of all members
vtkm::Vec< T, 0 > Class Template Reference

#include <Types.h>

Public Types

using ComponentType = T
 

Public Member Functions

 Vec ()=default
 
VTKM_EXEC_CONT Vec (const ComponentType &)
 
template<typename OtherType >
VTKM_EXEC_CONT Vec (const Vec< OtherType, NUM_COMPONENTS > &)
 
VTKM_EXEC_CONT Vec< ComponentType, NUM_COMPONENTS > & operator= (const Vec< ComponentType, NUM_COMPONENTS > &)
 
constexpr VTKM_EXEC_CONT vtkm::IdComponent GetNumberOfComponents () const
 
constexpr VTKM_EXEC_CONT ComponentType operator[] (vtkm::IdComponent vtkmNotUsed(idx)) const
 
VTKM_EXEC_CONT bool operator== (const Vec< T, NUM_COMPONENTS > &vtkmNotUsed(other)) const
 
VTKM_EXEC_CONT bool operator!= (const Vec< T, NUM_COMPONENTS > &vtkmNotUsed(other)) const
 

Static Public Attributes

static constexpr vtkm::IdComponent NUM_COMPONENTS = 0
 

Member Typedef Documentation

◆ ComponentType

template<typename T >
using vtkm::Vec< T, 0 >::ComponentType = T

Constructor & Destructor Documentation

◆ Vec() [1/3]

template<typename T >
vtkm::Vec< T, 0 >::Vec ( )
default

◆ Vec() [2/3]

template<typename T >
VTKM_EXEC_CONT vtkm::Vec< T, 0 >::Vec ( const ComponentType )
inlineexplicit

◆ Vec() [3/3]

template<typename T >
template<typename OtherType >
VTKM_EXEC_CONT vtkm::Vec< T, 0 >::Vec ( const Vec< OtherType, NUM_COMPONENTS > &  )
inline

Member Function Documentation

◆ GetNumberOfComponents()

template<typename T >
constexpr VTKM_EXEC_CONT vtkm::IdComponent vtkm::Vec< T, 0 >::GetNumberOfComponents ( ) const
inlineconstexpr

◆ operator!=()

template<typename T >
VTKM_EXEC_CONT bool vtkm::Vec< T, 0 >::operator!= ( const Vec< T, NUM_COMPONENTS > &  vtkmNotUsedother) const
inline

◆ operator=()

template<typename T >
VTKM_EXEC_CONT Vec<ComponentType, NUM_COMPONENTS>& vtkm::Vec< T, 0 >::operator= ( const Vec< ComponentType, NUM_COMPONENTS > &  )
inline

◆ operator==()

template<typename T >
VTKM_EXEC_CONT bool vtkm::Vec< T, 0 >::operator== ( const Vec< T, NUM_COMPONENTS > &  vtkmNotUsedother) const
inline

◆ operator[]()

template<typename T >
constexpr VTKM_EXEC_CONT ComponentType vtkm::Vec< T, 0 >::operator[] ( vtkm::IdComponent   vtkmNotUsedidx) const
inlineconstexpr

Member Data Documentation

◆ NUM_COMPONENTS

template<typename T >
constexpr vtkm::IdComponent vtkm::Vec< T, 0 >::NUM_COMPONENTS = 0
staticconstexpr

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