moab
moab::RangeMap< KeyType, ValType, NullVal >::Range Struct Reference

#include <RangeMap.hpp>

List of all members.

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 43 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 46 of file RangeMap.hpp.

      { 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::begin

Definition at line 44 of file RangeMap.hpp.

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

Definition at line 44 of file RangeMap.hpp.

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

Definition at line 45 of file RangeMap.hpp.


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