MOAB: Mesh Oriented datABase  (version 5.4.1)
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

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.

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

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

Member Data Documentation

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

Definition at line 47 of file RangeMap.hpp.

Referenced by moab::RangeMap< KeyType, ValType, NullVal >::find().

List of all members.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines