VTK-m  2.1
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
 
 Vec (const ComponentType &)
 
template<typename OtherType >
 Vec (const Vec< OtherType, NUM_COMPONENTS > &)
 
Vec< ComponentType, NUM_COMPONENTS > & operator= (const Vec< ComponentType, NUM_COMPONENTS > &)
 
constexpr vtkm::IdComponent GetNumberOfComponents () const
 
constexpr ComponentType operator[] (vtkm::IdComponent) const
 
bool operator== (const Vec< T, NUM_COMPONENTS > &) const
 
bool operator!= (const Vec< T, NUM_COMPONENTS > &) 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::Vec< T, 0 >::Vec ( const ComponentType )
inlineexplicit

◆ Vec() [3/3]

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

Member Function Documentation

◆ GetNumberOfComponents()

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

◆ operator!=()

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

◆ operator=()

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

◆ operator==()

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

◆ operator[]()

template<typename T >
constexpr ComponentType vtkm::Vec< T, 0 >::operator[] ( vtkm::IdComponent  ) 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: