AFF --- A container for numbers (array) by Friederich and Forbriger.
aff::Shaper Class Reference

Shaper class for Fortran layout. More...

#include <shaper.h>

Collaboration diagram for aff::Shaper:

Public Types

typedef Strided Tshape
 Type of Shape class. More...
 

Public Member Functions

 Shaper (const Tsubscript &last)
 First dimension is defined by constructor. More...
 
 Shaper (const Tsubscript &first, const Tsubscript &last)
 First dimension is defined by constructor. More...
 
 Shaper (const Tsubscript &first, const Tsubscript &last, const Tsubscript &maxlast)
 First dimension is defined by constructor. More...
 
Shaperoperator() (const Tsubscript &last)
 Other dimensions are defined by bracket operator. More...
 
Shaperoperator() (const Tsubscript &first, const Tsubscript &last)
 Other dimensions are defined by bracket operator. More...
 
Shaperoperator() (const Tsubscript &first, const Tsubscript &last, const Tsubscript &maxlast)
 Other dimensions are defined by bracket operator. More...
 
 operator Tshape () const
 Return the shape class. More...
 

Private Member Functions

void check_dim () const
 check dimensions More...
 

Private Attributes

Tshape::TIndexVec Mfirst
 limits More...
 
Tshape::TIndexVec Mlast
 
Tshape::TIndexVec Mmaxlast
 
Tdim Mdim
 next dimension to set More...
 

Detailed Description

Shaper class for Fortran layout.

Todo:
rework documentation of class Shaper
Examples:
tests/arraytest.cc, tests/f77test.cc, tests/helpertest.cc, and tests/shapetest.cc.

Definition at line 66 of file shaper.h.


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