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

A policy class for an empty set (no size) More...

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

Public Member Functions

AXOM_HOST_DEVICE ZeroSize (IntType val=DEFAULT_VALUE)
 
AXOM_HOST_DEVICE IntType size () const
 
IntType operator() () const
 
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 {}
 

Detailed Description

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

A policy class for an empty set (no size)

Constructor & Destructor Documentation

◆ ZeroSize()

Member Function Documentation

◆ size()

template<typename IntType >
AXOM_HOST_DEVICE IntType axom::slam::policies::ZeroSize< IntType >::size ( ) const
inline

◆ operator()()

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

◆ empty()

template<typename IntType >
AXOM_HOST_DEVICE bool axom::slam::policies::ZeroSize< IntType >::empty ( ) const
inline

◆ isValid()

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

Member Data Documentation

◆ DEFAULT_VALUE

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

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