Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
moab::RangeMap< KeyType, ValType, NullVal >::Range Struct Reference

#include <RangeMap.hpp>

Public Member Functions

bool operator< (const Range &other) const
 

Public Attributes

KeyType begin
 
KeyType count
 
ValType value
 

Detailed Description

template<typename KeyType, typename ValType, ValType NullVal = 0>
struct moab::RangeMap< KeyType, ValType, NullVal >::Range

Definition at line 44 of file RangeMap.hpp.

Member Function Documentation

◆ operator<()

template<typename KeyType , typename ValType , ValType NullVal = 0>
bool moab::RangeMap< KeyType, ValType, NullVal >::Range::operator< ( const Range other) const
inline

Definition at line 48 of file RangeMap.hpp.

49  {
50  return begin + count <= other.begin;
51  } // equal if overlapping!

References moab::RangeMap< KeyType, ValType, NullVal >::Range::begin, and moab::RangeMap< KeyType, ValType, NullVal >::Range::count.

Member Data Documentation

◆ begin

template<typename KeyType , typename ValType , ValType NullVal = 0>
KeyType moab::RangeMap< KeyType, ValType, NullVal >::Range::begin

◆ count

template<typename KeyType , typename ValType , ValType NullVal = 0>
KeyType moab::RangeMap< KeyType, ValType, NullVal >::Range::count

◆ value

template<typename KeyType , typename ValType , ValType NullVal = 0>
ValType moab::RangeMap< KeyType, ValType, NullVal >::Range::value

Definition at line 47 of file RangeMap.hpp.


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