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

A policy class for when we have no offset. More...

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

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

Public Member Functions

 ZeroOffset (IntType val=DEFAULT_VALUE)
 
IntType offset () const
 
IntType operator() () const
 
bool isValid (bool) const
 

Static Public Attributes

OrderedSet_Offset_Policies

A few default policies for the offset of an OrderedSet

static const IntType DEFAULT_VALUE = IntType {}
 

Detailed Description

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

A policy class for when we have no offset.

Constructor & Destructor Documentation

◆ ZeroOffset()

template<typename IntType>
axom::slam::policies::ZeroOffset< IntType >::ZeroOffset ( IntType  val = DEFAULT_VALUE)
inline

Member Function Documentation

◆ offset()

template<typename IntType>
IntType axom::slam::policies::ZeroOffset< IntType >::offset ( ) const
inline

◆ operator()()

template<typename IntType>
IntType axom::slam::policies::ZeroOffset< IntType >::operator() ( ) const
inline

◆ isValid()

template<typename IntType>
bool axom::slam::policies::ZeroOffset< IntType >::isValid ( bool  ) const
inline

Member Data Documentation

◆ DEFAULT_VALUE

template<typename IntType>
const IntType axom::slam::policies::ZeroOffset< IntType >::DEFAULT_VALUE = IntType {}
static

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