CNORXZ
Container with Native Operation Routines and Expressions
|
#include <xindex.h>
Index Wrapper.
Index | Type of index to be wrapped. |
Meta | Meta data type of wrapped index. |
CNORXZ::XIndex< Index, Meta >::XIndex | ( | const XIndex< Index, Meta > & | i | ) |
< default constructor. Copy constructor. No default: have to copy objects in shared ptr.
CNORXZ::XIndex< Index, Meta >::XIndex | ( | XIndex< Index, Meta > && | i | ) |
Move constructor.
CNORXZ::XIndex< Index, Meta >::XIndex | ( | const IndexPtr< Index, Meta > & | i | ) |
CNORXZ::XIndex< Index, Meta >::XIndex | ( | const IndexInterface< Index, Meta > & | i | ) |
|
finaloverridevirtual |
set index position so that it's meta data matches input
meta | meta data to be matched |
Implements CNORXZ::XIndexBase.
Definition at line 186 of file xindex.cc.h.
|
finaloverridevirtual |
Copy this index
Implements CNORXZ::XIndexBase.
Definition at line 33 of file xindex.cc.h.
|
finaloverridevirtual |
|
finaloverridevirtual |
max of all single-indices (recursive)
Implements CNORXZ::XIndexBase.
Definition at line 161 of file xindex.cc.h.
CNORXZ::XIndex< Index, Meta >::DEFAULT_C | ( | XIndex< Index, Meta > | ) |
|
finaloverridevirtual |
|
finaloverridevirtual |
check is format is trivial
Implements CNORXZ::XIndexBase.
Definition at line 199 of file xindex.cc.h.
Index & CNORXZ::XIndex< Index, Meta >::get | ( | ) |
Get underlying index instance.
Definition at line 205 of file xindex.cc.h.
Get underlying index instance (const).
Definition at line 211 of file xindex.cc.h.
|
finaloverridevirtual |
|
finaloverridevirtual |
create a for-loop expression
Xpr | loop internal expression |
F | accumulating function |
xpr | loop internal expression |
f | accumulating function |
Implements CNORXZ::XIndexBase.
Definition at line 193 of file xindex.cc.h.
|
finaloverridevirtual |
|
finaloverridevirtual |
maximal lexicographic position
Implements CNORXZ::XIndexBase.
Definition at line 113 of file xindex.cc.h.
|
finaloverridevirtual |
return meta data at current index position
Implements CNORXZ::XIndexBase.
Definition at line 180 of file xindex.cc.h.
|
finaloverridevirtual |
return meta data at current index position
Implements CNORXZ::XIndexBase.
Definition at line 125 of file xindex.cc.h.
|
finaloverridevirtual |
return index with lexicographic index position incremented n times
n |
Implements CNORXZ::XIndexBase.
Definition at line 67 of file xindex.cc.h.
|
finaloverridevirtual |
increment lexicographic index position
Implements CNORXZ::XIndexBase.
Definition at line 53 of file xindex.cc.h.
|
finaloverridevirtual |
increment lexicographic index position n times
n |
Implements CNORXZ::XIndexBase.
Definition at line 87 of file xindex.cc.h.
|
finaloverridevirtual |
Implements CNORXZ::XIndexBase.
Definition at line 79 of file xindex.cc.h.
|
finaloverridevirtual |
return index with lexicographic index position decremented n times
n |
Implements CNORXZ::XIndexBase.
Definition at line 73 of file xindex.cc.h.
|
finaloverridevirtual |
decrement lexicographic index position
Implements CNORXZ::XIndexBase.
Definition at line 60 of file xindex.cc.h.
|
finaloverridevirtual |
decrement lexicographic index position n times
n |
Implements CNORXZ::XIndexBase.
Definition at line 94 of file xindex.cc.h.
XIndex & CNORXZ::XIndex< Index, Meta >::operator= | ( | const XIndex< Index, Meta > & | i | ) |
Copy assignment. No default: have to copy objects in shared ptr.
|
finaloverridevirtual |
Implements CNORXZ::XIndexBase.
Definition at line 45 of file xindex.cc.h.
XIndex & CNORXZ::XIndex< Index, Meta >::operator= | ( | XIndex< Index, Meta > && | i | ) |
Move assignment.
|
finaloverridevirtual |
|
finaloverridevirtual |
Current position.
Implements CNORXZ::XIndexBase.
Definition at line 39 of file xindex.cc.h.
|
finaloverridevirtual |
create partial range starting at this index' position and ending at the position of input index. The end position is included!
end | end index |
Implements CNORXZ::XIndexBase.
Definition at line 149 of file xindex.cc.h.
|
finaloverridevirtual |
pointer to the range the index is defined on
Implements CNORXZ::XIndexBase.
Definition at line 137 of file xindex.cc.h.
|
finaloverridevirtual |
reformat index, create new index instance
f | new format |
s | new sub-index sizes |
Implements CNORXZ::XIndexBase.
Definition at line 167 of file xindex.cc.h.
|
finaloverridevirtual |
return the memory step size this index has w.r.t. to index of given ID
J | static index ID, size type |
id | input index ID |
Implements CNORXZ::XIndexBase.
Definition at line 143 of file xindex.cc.h.
|
finaloverridevirtual |
return string formatted meta data at current index position
Implements CNORXZ::XIndexBase.
Definition at line 174 of file xindex.cc.h.