AFF --- A container for numbers (array) by Friederich and Forbriger.

◆ setindexrange()

void aff::LinearShape::setindexrange ( const Tsubscript first,
const Tsubscript  last 
)
inline

set index range [ first , last ]

Definition at line 136 of file linearshape.h.

References AFF_assert, first(), last(), setfirstindex(), and setlastindex().

Referenced by shrink().

138  {
139  AFF_assert((last>=first),
140  "ERROR (LinearShape::setindexrange): inconsistent arguments");
143  }
void setlastindex(const Tsubscript &last)
set last index to last
Definition: linearshape.h:152
void setfirstindex(const Tsubscript &first)
set first index to first
Definition: linearshape.h:145
#define AFF_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:162
const Tsubscript & first() const
return first legal index
Definition: linearshape.h:105
const Tsubscript & last() const
return last legal index
Definition: linearshape.h:107
Here is the call graph for this function:
Here is the caller graph for this function: