AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType > Struct Template Reference

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/slam/policies/IndirectionPolicies.hpp>

Public Types

using PosType = PositionType
 
using ElemType = ElementType
 
using IndirectionResult = ElementType &
 
using ConstIndirectionResult = const ElementType &
 
using IndirectionBufferType = std::vector< ElementType >
 
using IndirectionPtrType = IndirectionBufferType *
 
using IndirectionRefType = IndirectionBufferType &
 
using IndirectionConstRefType = const IndirectionBufferType &
 

Public Member Functions

AXOM_HOST_DEVICE STLVectorIndirectionBase (IndirectionBufferType *buf=nullptr)
 
AXOM_HOST_DEVICE IndirectionBufferTypedata ()
 
AXOM_HOST_DEVICE IndirectionBufferType const & data () const
 
AXOM_HOST_DEVICE IndirectionPtrTypeptr ()
 
AXOM_HOST_DEVICE IndirectionPtrType const & ptr () const
 
bool hasIndirection () const
 
PositionType size () const
 

Static Public Member Functions

static IndirectionBufferType create (PositionType size, ConstIndirectionResult value, int allocatorId)
 

Static Public Attributes

static constexpr bool DeviceAccessible = false
 
static constexpr bool IsMutableBuffer = true
 
static constexpr const char * Name = "SLAM::STLVectorIndirection"
 

Member Typedef Documentation

◆ PosType

template<typename PositionType , typename ElementType >
using axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::PosType = PositionType

◆ ElemType

template<typename PositionType , typename ElementType >
using axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::ElemType = ElementType

◆ IndirectionResult

template<typename PositionType , typename ElementType >
using axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::IndirectionResult = ElementType&

◆ ConstIndirectionResult

template<typename PositionType , typename ElementType >
using axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::ConstIndirectionResult = const ElementType&

◆ IndirectionBufferType

template<typename PositionType , typename ElementType >
using axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::IndirectionBufferType = std::vector<ElementType>

◆ IndirectionPtrType

template<typename PositionType , typename ElementType >
using axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::IndirectionPtrType = IndirectionBufferType*

◆ IndirectionRefType

template<typename PositionType , typename ElementType >
using axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::IndirectionRefType = IndirectionBufferType&

◆ IndirectionConstRefType

template<typename PositionType , typename ElementType >
using axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::IndirectionConstRefType = const IndirectionBufferType&

Constructor & Destructor Documentation

◆ STLVectorIndirectionBase()

template<typename PositionType , typename ElementType >
AXOM_HOST_DEVICE axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::STLVectorIndirectionBase ( IndirectionBufferType buf = nullptr)
inline

Member Function Documentation

◆ data() [1/2]

template<typename PositionType , typename ElementType >
AXOM_HOST_DEVICE IndirectionBufferType& axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::data ( )
inline

◆ data() [2/2]

template<typename PositionType , typename ElementType >
AXOM_HOST_DEVICE IndirectionBufferType const& axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::data ( ) const
inline

◆ ptr() [1/2]

template<typename PositionType , typename ElementType >
AXOM_HOST_DEVICE IndirectionPtrType& axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::ptr ( )
inline

◆ ptr() [2/2]

template<typename PositionType , typename ElementType >
AXOM_HOST_DEVICE IndirectionPtrType const& axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::ptr ( ) const
inline

◆ hasIndirection()

template<typename PositionType , typename ElementType >
bool axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::hasIndirection ( ) const
inline

◆ size()

template<typename PositionType , typename ElementType >
PositionType axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::size ( ) const
inline

◆ create()

template<typename PositionType , typename ElementType >
static IndirectionBufferType axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::create ( PositionType  size,
ConstIndirectionResult  value,
int  allocatorId 
)
inlinestatic

Member Data Documentation

◆ DeviceAccessible

template<typename PositionType , typename ElementType >
constexpr bool axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::DeviceAccessible = false
staticconstexpr

◆ IsMutableBuffer

template<typename PositionType , typename ElementType >
constexpr bool axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::IsMutableBuffer = true
staticconstexpr

◆ Name

template<typename PositionType , typename ElementType >
constexpr const char* axom::slam::policies::STLVectorIndirectionBase< PositionType, ElementType >::Name = "SLAM::STLVectorIndirection"
staticconstexpr

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