CNORXZ
Container with Native Operation Routines and Expressions
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
CNORXZ::LIndex< Index, L > Class Template Reference

#include <lindex.h>

Inheritance diagram for CNORXZ::LIndex< Index, L >:

Public Types

typedef Index::IB IB
 
typedef Index::RangeType RangeType
 

Public Member Functions

 DEFAULT_MEMBERS (LIndex)
 
 LIndex (const Sptr< Index > &i)
 
IndexId< Lid () const
 
template<SizeT I>
decltype(autostepSize (const IndexId< I > &id) const
 
template<class Xpr , class F >
decltype(autoifor (const Xpr &xpr, F &&f) const
 

Detailed Description

template<class Index, SizeT L>
class CNORXZ::LIndex< Index, L >

Statically labeled index.

Template Parameters
IndexUnderlying index.
LStatic label.

Definition at line 31 of file lindex.h.

Member Typedef Documentation

◆ IB

template<class Index , SizeT L>
typedef Index::IB CNORXZ::LIndex< Index, L >::IB

Definition at line 34 of file lindex.h.

◆ RangeType

template<class Index , SizeT L>
typedef Index::RangeType CNORXZ::LIndex< Index, L >::RangeType

Definition at line 35 of file lindex.h.

Constructor & Destructor Documentation

◆ LIndex()

template<class Index , SizeT L>
CNORXZ::LIndex< Index, L >::LIndex ( const Sptr< Index > & i)

Construct from index pointer.

Parameters
iInput index.

Definition at line 20 of file lindex.cc.h.

Member Function Documentation

◆ DEFAULT_MEMBERS()

template<class Index , SizeT L>
CNORXZ::LIndex< Index, L >::DEFAULT_MEMBERS ( LIndex< Index, L > )

Default constructors and assignments.

◆ id()

template<class Index , SizeT L>
IndexId< L > CNORXZ::LIndex< Index, L >::id ( ) const

index ID Specialization: Static id equals L.

Definition at line 26 of file lindex.cc.h.

◆ ifor()

template<class Index , SizeT L>
template<class Xpr , class F >
decltype(auto) CNORXZ::LIndex< Index, L >::ifor ( const Xpr & xpr,
F && f ) const

return the memory step size this index has w.r.t. to index of given ID

Template Parameters
Jstatic index ID, size type
Parameters
idinput index ID

Definition at line 50 of file lindex.cc.h.

◆ stepSize()

template<class Index , SizeT L>
template<SizeT I>
decltype(auto) CNORXZ::LIndex< Index, L >::stepSize ( const IndexId< I > & id) const

return the memory step size this index has w.r.t. to index of given ID

Template Parameters
Jstatic index ID, size type
Parameters
idinput index ID Specialization: stepSize may be static.

Definition at line 33 of file lindex.cc.h.


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