VTK-m
2.2
|
A const version of VecC. More...
#include <Types.h>
Public Types | |
using | ComponentType = T |
Public Member Functions | |
constexpr | VecCConst () |
constexpr | VecCConst (const T *array, vtkm::IdComponent size) |
template<vtkm::IdComponent Size> | |
constexpr | VecCConst (const vtkm::Vec< T, Size > &src) |
constexpr | VecCConst (const T &src) |
constexpr | VecCConst (const VecCConst< T > &src) |
constexpr | VecCConst (const VecC< T > &src) |
constexpr const T & | operator[] (vtkm::IdComponent index) const |
constexpr vtkm::IdComponent | GetNumberOfComponents () const |
Private Types | |
using | Superclass = detail::VecCBase< T, VecCConst< T > > |
Private Member Functions | |
void | operator= (const VecCConst< T > &)=delete |
void | operator+= (const VecCConst< T > &)=delete |
void | operator-= (const VecCConst< T > &)=delete |
void | operator*= (const VecCConst< T > &)=delete |
void | operator/= (const VecCConst< T > &)=delete |
Private Attributes | |
const T *const | Components |
vtkm::IdComponent | NumberOfComponents |
A const version of VecC.
VecCConst
is a non-mutable form of VecC
. It can be used in place of VecC
when a constant array is available.
A VecC
can be automatically converted to a VecCConst
, but not vice versa, so function arguments should use VecCConst
when the data do not need to be changed.
using vtkm::VecCConst< T >::ComponentType = T |
|
private |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
privatedelete |
|
privatedelete |
|
privatedelete |
|
privatedelete |
|
privatedelete |
|
inlineconstexpr |
|
private |
|
private |