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

◆ operator()() [3/3]

Shaper& aff::Shaper::operator() ( const Tsubscript first,
const Tsubscript last,
const Tsubscript maxlast 
)
inline

Other dimensions are defined by bracket operator.

Definition at line 123 of file shaper.h.

References AFF_assert, check_dim(), Mdim, Mfirst, Mlast, and Mmaxlast.

125  {
126  AFF_assert((last>=first), "ERROR (shaper): invalid index range");
127  AFF_assert((maxlast>=last), "ERROR (shaper): invalid alloc size");
128  check_dim();
129  Mfirst[Mdim]=first;
130  Mlast[Mdim]=last;
131  Mmaxlast[Mdim]=maxlast;
132  Mdim++;
133  return(*this);
134  }
void check_dim() const
check dimensions
Definition: shaper.h:144
Tdim Mdim
next dimension to set
Definition: shaper.h:152
Tshape::TIndexVec Mfirst
limits
Definition: shaper.h:150
#define AFF_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:162
Tshape::TIndexVec Mmaxlast
Definition: shaper.h:150
Tshape::TIndexVec Mlast
Definition: shaper.h:150
Here is the call graph for this function: