|
AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Shared storage core for a runtime-settable scalar value policy. More...
#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/latest/src/axom/slam/policies/ValuePolicies.hpp>

Public Types | |
| using | TagType = Tag |
| using | IntType = decltype(Tag::defaultValue()) |
Public Member Functions | |
| constexpr AXOM_HOST_DEVICE | RuntimeValue (IntType val=Tag::defaultValue()) |
| constexpr AXOM_HOST_DEVICE auto | value () const |
| constexpr AXOM_HOST_DEVICE auto & | value () |
| constexpr auto | operator() () const |
| constexpr auto & | operator() () |
| constexpr bool | isValid (bool) const |
Protected Attributes | |
| IntType | m_value |
Shared storage core for a runtime-settable scalar value policy.
Stores a single IntType whose default is supplied by Tag. Provides the generic value() accessors (const and mutable), operator(), and an isValid() delegating to the tag's predicate.
Leaf policies derive from this and add their named accessor (size() / stride() / offset()).
| using axom::slam::policies::RuntimeValue< Tag >::TagType = Tag |
| using axom::slam::policies::RuntimeValue< Tag >::IntType = decltype(Tag::defaultValue()) |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
protected |