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

A policy class for a compile-time known set offset. More...

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

Inheritance diagram for axom::slam::policies::CompileTimeOffset< IntType, INT_VAL >:

Public Types

using TagType = OffsetTag< IntType >
 
using IntType = decltype(V)
 

Public Member Functions

constexpr AXOM_HOST_DEVICE IntType offset () const
 
constexpr AXOM_HOST_DEVICE IntType value () const
 
constexpr IntType operator() () const
 
constexpr bool isValid (bool) const
 

Static Public Attributes

static constexpr IntType DEFAULT_VALUE = INT_VAL
 
static constexpr IntType VALUE
 

Detailed Description

template<typename IntType, IntType INT_VAL>
struct axom::slam::policies::CompileTimeOffset< IntType, INT_VAL >

A policy class for a compile-time known set offset.

Member Typedef Documentation

◆ TagType

◆ IntType

using axom::slam::policies::CompileTimeValue< V, OffsetTag< IntType > >::IntType = decltype(V)
inherited

Member Function Documentation

◆ offset()

template<typename IntType , IntType INT_VAL>
constexpr AXOM_HOST_DEVICE IntType axom::slam::policies::CompileTimeOffset< IntType, INT_VAL >::offset ( ) const
inlineconstexpr

◆ value()

constexpr AXOM_HOST_DEVICE IntType axom::slam::policies::CompileTimeValue< V, OffsetTag< IntType > >::value ( ) const
inlineconstexprinherited

◆ operator()()

constexpr IntType axom::slam::policies::CompileTimeValue< V, OffsetTag< IntType > >::operator() ( ) const
inlineconstexprinherited

◆ isValid()

constexpr bool axom::slam::policies::CompileTimeValue< V, OffsetTag< IntType > >::isValid ( bool  ) const
inlineconstexprinherited

Member Data Documentation

◆ DEFAULT_VALUE

template<typename IntType , IntType INT_VAL>
constexpr IntType axom::slam::policies::CompileTimeOffset< IntType, INT_VAL >::DEFAULT_VALUE = INT_VAL
staticconstexpr

◆ VALUE

constexpr IntType axom::slam::policies::CompileTimeValue< V, OffsetTag< IntType > >::VALUE
staticconstexprinherited

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