44 #ifndef AFF_FORTRANSHAPE_H_VERSION 46 #define AFF_FORTRANSHAPE_H_VERSION \ 47 "AFF_FORTRANSHAPE_H V1.2" 127 Tbase(array.shape(), BaseOne)
157 #endif // AFF_FORTRANSHAPE_H_VERSION (includeguard) Tsubscript Moffset
offset of first element in representation
Treppointer Mpointer
pointer to memory
Root namespace of library.
utility for compile-time checked cast
Shape for a rectangular array layout.
Tshape::TSizeVec TSizeVec
Vector of size values.
aff::util::FortranShape Tbase
base class
Tarray::Tpointer Tpointer
pointer to array base in memory
TIndexVec Mfirst
first index
TIndexVec Mdimlast
last index as dimensioned in memory
C Tarray
type of corresponding array
const Tsubscript & dimlast(const Tdim &i) const
last index as dimensioned in dimension i
size checked pointer cast (prototypes)
const TIndexVec & dimlast() const
full dimlast vector
Tarray::Trepresentation Trepresentation
representation class
Tshape::TIndexVec TIndexVec
Vector of index values.
full template array class headers (prototypes)
Treppointer pointer() const
return pointer to first element in Fortran layout
Tarray::Tvalue Tvalue
value type in array class
const TIndexVec & first() const
full first vector
TIndexVec Mlast
last index
const Tsubscript & first(const Tdim &i) const
first index in dimension i
const Tsubscript & last(const Tdim &i) const
last index in dimension i
Class to provide Fortran interface values.
find appropriate leading dimensions
unsigned short int Tdim
Type to hold an array dimensionality.
const TIndexVec & last() const
full last vector
FortranShape(const Tshape &shape, const bool &BaseOne=true)
construct from shape
ptrdiff_t Tsubscript
Type to hold an array's subscript value.
Tarray::Tshape Tshape
shape class
aff::Strided Tshape
This is coded for Strided shapes.
Trepresentation::Tvalue Trepvalue
value type in representation class
FortranArray(Tarray array, const bool &BaseOne=true)
create
TT * castedpointer() const
return type-casted pointer to first element in Fortran layout
const Tsubscript & offset() const
offset to access representation
Trepresentation::Tpointer Treppointer
pointer to value used in representation class