Nui
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Friends | List of all members
Nui::Detail::RangeStateInterval< ValueType, IntervalKind > Class Template Reference

#include <range_event_context.hpp>

Public Types

using value_type = ValueType
 
using interval_kind = IntervalKind
 

Public Member Functions

 RangeStateInterval (value_type low, value_type high)
 
void reset (value_type low, value_type high)
 
value_type low () const
 
value_type high () const
 
void low (value_type value)
 
void high (value_type value)
 
bool overlaps (value_type l, value_type h) const
 
bool overlaps_exclusive (value_type l, value_type h) const
 
bool overlaps (RangeStateInterval const &other) const
 
bool overlapsOrIsAdjacent (value_type l, value_type h) const
 
bool overlapsOrIsAdjacent (RangeStateInterval const &other) const
 
bool overlaps_exclusive (RangeStateInterval const &other) const
 
bool within (value_type value) const
 
bool within (RangeStateInterval const &other) const
 
void shiftRight (value_type offset)
 
void shiftLeft (value_type offset)
 
bool isLeftOf (RangeStateInterval const &other) const
 
value_type operator- (RangeStateInterval const &other) const
 
value_type size () const
 
RangeStateInterval expand (RangeStateInterval const &other) const
 
RangeStateInterval join (RangeStateInterval const &other) const
 

Friends

bool operator== (RangeStateInterval const &lhs, RangeStateInterval const &rhs)
 
bool operator!= (RangeStateInterval const &lhs, RangeStateInterval const &rhs)
 

Member Typedef Documentation

◆ interval_kind

◆ value_type

Constructor & Destructor Documentation

◆ RangeStateInterval()

Nui::Detail::RangeStateInterval< ValueType, IntervalKind >::RangeStateInterval ( value_type  low,
value_type  high 
)
inline

Member Function Documentation

◆ expand()

◆ high() [1/2]

◆ high() [2/2]

◆ isLeftOf()

◆ join()

◆ low() [1/2]

◆ low() [2/2]

◆ operator-()

◆ overlaps() [1/2]

◆ overlaps() [2/2]

◆ overlaps_exclusive() [1/2]

◆ overlaps_exclusive() [2/2]

bool Nui::Detail::RangeStateInterval< ValueType, IntervalKind >::overlaps_exclusive ( value_type  l,
value_type  h 
) const
inline

◆ overlapsOrIsAdjacent() [1/2]

◆ overlapsOrIsAdjacent() [2/2]

bool Nui::Detail::RangeStateInterval< ValueType, IntervalKind >::overlapsOrIsAdjacent ( value_type  l,
value_type  h 
) const
inline

◆ reset()

◆ shiftLeft()

◆ shiftRight()

◆ size()

◆ within() [1/2]

◆ within() [2/2]

Friends And Related Symbol Documentation

◆ operator!=

◆ operator==


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