1 #include <../../nrnconf.h>
43 #define access_function(name, value) \
44 Coord BoundedValue::name(DimensionName) const { \
48 access_function(lower, lower_) access_function(upper, lower_ + span_) access_function(length, span_)
49 access_function(cur_lower, curvalue_) access_function(cur_upper, curvalue_)
50 access_function(cur_length, 0)
62 #define scroll_function(name, expr) \
63 void BoundedValue::name(DimensionName d) { \
64 scroll_to(d, curvalue_ + expr); \
67 scroll_function(scroll_forward, +scroll_incr_) scroll_function(scroll_backward, -scroll_incr_)
68 scroll_function(page_forward, +page_incr_) scroll_function(page_backward, -page_incr_)
virtual void upper_bound(Coord)
virtual void scroll_incr(Coord)
virtual Coord lower(DimensionName) const
virtual void lower_bound(Coord)
virtual Coord upper(DimensionName) const
virtual void page_incr(Coord)
virtual void current_value(Coord)
unsigned int DimensionName