VTK
Public Types | Public Member Functions | List of all members
vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag > Class Template Reference

#include <Storage.h>

Public Types

typedef ValueType_ ValueType
 
typedef vtkSOADataArrayTemplate< ComponentType > ArrayType
 
typedef tovtkm::vtkArrayPortal< ValueType, ArrayTypePortalType
 
typedef tovtkm::vtkArrayPortal< const ValueType, ArrayTypePortalConstType
 

Public Member Functions

 Storage ()
 
 Storage (vtkSOADataArrayTemplate< ComponentType > *array)
 
 ~Storage ()
 
Storageoperator= (const Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag > &src)
 
void ReleaseResources ()
 
void Allocate (vtkm::Id numberOfValues)
 
vtkm::Id GetNumberOfValues () const
 
void Shrink (vtkm::Id numberOfValues)
 
PortalType GetPortal ()
 
PortalConstType GetPortalConst () const
 
ArrayTypeVTKArray () const
 

Detailed Description

template<typename ValueType_>
class vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >

Definition at line 122 of file Storage.h.

Member Typedef Documentation

template<typename ValueType_ >
typedef ValueType_ vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::ValueType

Definition at line 128 of file Storage.h.

template<typename ValueType_ >
typedef vtkSOADataArrayTemplate<ComponentType> vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::ArrayType

Definition at line 130 of file Storage.h.

template<typename ValueType_ >
typedef tovtkm::vtkArrayPortal<ValueType, ArrayType> vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::PortalType

Definition at line 131 of file Storage.h.

template<typename ValueType_ >
typedef tovtkm::vtkArrayPortal<const ValueType, ArrayType> vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::PortalConstType

Definition at line 132 of file Storage.h.

Constructor & Destructor Documentation

template<typename ValueType_ >
vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::Storage ( )
inline

Definition at line 134 of file Storage.h.

template<typename ValueType_ >
vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::Storage ( vtkSOADataArrayTemplate< ComponentType > *  array)
inline

Definition at line 143 of file Storage.h.

template<typename ValueType_ >
vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::~Storage ( )
inline

Definition at line 152 of file Storage.h.

Member Function Documentation

template<typename ValueType_ >
Storage& vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::operator= ( const Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag > &  src)
inline

Definition at line 158 of file Storage.h.

template<typename ValueType_ >
void vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::ReleaseResources ( )
template<typename ValueType_ >
void vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::Allocate ( vtkm::Id  numberOfValues)
template<typename ValueType_ >
vtkm::Id vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::GetNumberOfValues ( ) const
inline

Definition at line 181 of file Storage.h.

template<typename ValueType_ >
void vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::Shrink ( vtkm::Id  numberOfValues)
inline

Definition at line 186 of file Storage.h.

template<typename ValueType_ >
PortalType vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::GetPortal ( )
template<typename ValueType_ >
PortalConstType vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::GetPortalConst ( ) const
template<typename ValueType_ >
ArrayType* vtkm::cont::internal::Storage< ValueType_, tovtkm::vtkSOAArrayContainerTag >::VTKArray ( ) const
inline

Definition at line 201 of file Storage.h.


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