AFF --- A container for numbers (array) by Friederich and Forbriger.
aff::CSeries< T > Class Template Reference

access Series contents through raw memory More...

#include <converters.h>

Collaboration diagram for aff::CSeries< T >:

Public Types

Various types

In particular due to our concept of const-correctness we need several typedefs to declare types derived from the element type of the array.

See also
Member typedefs
Notes on the const-correctness of arrays
typedef aff::Series< T > Tseries
 Type of array to be interfaced. More...
 
typedef Tseries::Trepresentation Trepresentation
 Type of representation. More...
 
typedef Tseries::Tshape Tshape
 Type of shape. More...
 
typedef Tseries::Tvalue Tvalue
 Element type. More...
 
typedef Tseries::Tpointer Tpointer
 Type of pointer to element. More...
 
typedef Tseries::Treference Treference
 Type of reference to element. More...
 
typedef Tseries::Tconst_value Tconst_value
 const element type More...
 
typedef Tseries::Tconst_pointer Tconst_pointer
 Type of pointer to const element. More...
 
typedef Tseries::Tconst_reference Tconst_reference
 Type of reference to const element. More...
 
typedef CSeries< T > Tcontainer
 Type of this array. More...
 

Public Member Functions

Constructors

No copy constructors or copy operators are provided since this is provided as an interface class only.

 CSeries (const Tseries &series)
 construct from shape and representation More...
 
Shape access
const Tsizesize () const
 size of dimension More...
 
Memory access
Tpointer pointer () const
 return pointer to first element in Fortran layout More...
 
template<class TT >
TT * castedpointer () const
 return type-casted pointer to first element in Fortran layout More...
 

Private Attributes

Trepresentation Mrepresentation
 representation member More...
 
aff::Tsize Msize
 sizes of series More...
 
aff::Tsize Moffset
 offset of memory location of first element More...
 

Detailed Description

template<class T>
class aff::CSeries< T >

access Series contents through raw memory

Examples:
tests/helpertest.cc.

Definition at line 146 of file converters.h.


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