AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
OffsetPolicies.hpp File Reference

Offset policies for SLAM. More...

Classes

struct  axom::slam::policies::RuntimeOffset< IntType >
 A policy class for the offset in a set. The offset can be set at runtime. More...
 
struct  axom::slam::policies::CompileTimeOffset< IntType, INT_VAL >
 A policy class for a compile-time known set offset. More...
 
struct  axom::slam::policies::ZeroOffset< IntType >
 A policy class for when we have no offset. More...
 

Namespaces

 axom
 
 axom::slam
 
 axom::slam::policies
 

Detailed Description

Offset policies for SLAM.

Offset policies are meant to represent the offset to the first element of SLAM ordered set.

A valid offset policy must support the following interface:

  • [required]
    • DEFAULT_VALUE is a public static constant of type IntType
    • offset() : IntType – returns the offset
    • isValid() : bool – indicates whether the Offset policy of the set is valid [optional]
    • operator(): IntType – alternate accessor for the offset value