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

A policy class for the size of a set that can be modified at runtime. More...

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

Inheritance diagram for axom::slam::policies::DynamicRuntimeSize< IntType >:

Public Member Functions

AXOM_HOST_DEVICE DynamicRuntimeSize (IntType sz=RuntimeSize< IntType >::DEFAULT_VALUE)
 
void setSize (IntType s)
 
void add (IntType s)
 
void subtract (IntType s)
 
AXOM_HOST_DEVICE IntType size () const
 
AXOM_HOST_DEVICE IntType & size ()
 
IntType operator() () const
 
IntType & operator() ()
 
AXOM_HOST_DEVICE bool empty () const
 
bool isValid (bool) const
 

Static Public Attributes

OrderedSet_Size_Policies

A few default policies for the size of an OrderedSet

static const IntType DEFAULT_VALUE = IntType {}
 

Protected Attributes

IntType m_sz
 

Detailed Description

template<typename IntType>
struct axom::slam::policies::DynamicRuntimeSize< IntType >

A policy class for the size of a set that can be modified at runtime.

Constructor & Destructor Documentation

◆ DynamicRuntimeSize()

template<typename IntType >
AXOM_HOST_DEVICE axom::slam::policies::DynamicRuntimeSize< IntType >::DynamicRuntimeSize ( IntType  sz = RuntimeSize<IntType>::DEFAULT_VALUE)
inline

Member Function Documentation

◆ setSize()

template<typename IntType >
void axom::slam::policies::DynamicRuntimeSize< IntType >::setSize ( IntType  s)
inline

◆ add()

template<typename IntType >
void axom::slam::policies::DynamicRuntimeSize< IntType >::add ( IntType  s)
inline

◆ subtract()

template<typename IntType >
void axom::slam::policies::DynamicRuntimeSize< IntType >::subtract ( IntType  s)
inline

◆ size() [1/2]

template<typename IntType >
AXOM_HOST_DEVICE IntType axom::slam::policies::RuntimeSize< IntType >::size ( ) const
inlineinherited

◆ size() [2/2]

template<typename IntType >
AXOM_HOST_DEVICE IntType& axom::slam::policies::RuntimeSize< IntType >::size ( )
inlineinherited

◆ operator()() [1/2]

template<typename IntType >
IntType axom::slam::policies::RuntimeSize< IntType >::operator() ( ) const
inlineinherited

◆ operator()() [2/2]

template<typename IntType >
IntType& axom::slam::policies::RuntimeSize< IntType >::operator() ( )
inlineinherited

◆ empty()

template<typename IntType >
AXOM_HOST_DEVICE bool axom::slam::policies::RuntimeSize< IntType >::empty ( ) const
inlineinherited

◆ isValid()

template<typename IntType >
bool axom::slam::policies::RuntimeSize< IntType >::isValid ( bool  ) const
inlineinherited

Member Data Documentation

◆ DEFAULT_VALUE

template<typename IntType >
const IntType axom::slam::policies::RuntimeSize< IntType >::DEFAULT_VALUE = IntType {}
staticinherited

◆ m_sz

template<typename IntType >
IntType axom::slam::policies::RuntimeSize< IntType >::m_sz
protectedinherited

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