![]() |
CNORXZ
Container with Native Operation Routines and Expressions
|
#include <range_base.h>
Public Types | |
| typedef RangeBase | RB |
Public Types inherited from CNORXZ::RangeBase | |
| typedef DIndex | IndexType |
Public Member Functions | |
| decltype(auto) | begin () const |
| decltype(auto) | end () const |
| virtual DIndex | index (SizeT pos) const override final |
Public Member Functions inherited from CNORXZ::RangeBase | |
| virtual | ~RangeBase ()=default |
| virtual RangePtr | sub (SizeT num) const |
| virtual MArray< RangePtr > | sub () const |
| virtual SizeT | size () const =0 |
| virtual SizeT | dim () const =0 |
| virtual const TypeInfo & | type () const =0 |
| virtual const TypeInfo & | metaType () const =0 |
| virtual String | stringMeta (SizeT pos) const =0 |
| virtual RangePtr | extend (const RangePtr &r) const =0 |
| bool | operator== (const RangeBase &in) const |
| bool | operator!= (const RangeBase &in) const |
| Uuid | id () const |
| DIndex | begin () const |
| DIndex | end () const |
Protected Member Functions | |
| RangeInterface ()=default | |
Protected Member Functions inherited from CNORXZ::RangeBase | |
| RangeBase () | |
| virtual Vector< Uuid > | key () const =0 |
Additional Inherited Members | |
Public Attributes inherited from CNORXZ::RangeBase | |
| friend | RangeFactoryBase |
Protected Attributes inherited from CNORXZ::RangeBase | |
| Uuid | mId = {0,0} |
| Wptr< RangeBase > | mThis |
Interface template for ranges
Provides begin() and end() returning indices of corresponding type
| Range | specify the range type |
Definition at line 185 of file range_base.h.
Definition at line 189 of file range_base.h.
|
protecteddefault |
default constructor
return index pointing to range's first element
Definition at line 23 of file range_base.cc.h.
return index pointing to element after range's last element
Definition at line 30 of file range_base.cc.h.
|
finaloverridevirtual |
Return DIndex iterating over the range's parameter space.
| pos | index position, size type argument |
Implements CNORXZ::RangeBase.
Definition at line 37 of file range_base.cc.h.