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/v0.5.0/src/axom/slam/policies/SizePolicies.hpp>

Public Member Functions

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

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

References AXOM_DEBUG_VAR, and SLIC_ASSERT_MSG.

Member Function Documentation

◆ size()

template<typename IntType >
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 >
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: