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

◆ operator()() [2/3]

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

Other dimensions are defined by bracket operator.

Definition at line 112 of file shaper.h.

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

113  {
114  AFF_assert((last>=first), "ERROR (shaper): invalid index range");
115  check_dim();
116  Mfirst[Mdim]=first;
117  Mlast[Mdim]=last;
118  Mmaxlast[Mdim]=last;
119  Mdim++;
120  return(*this);
121  }
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: