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

#include <range_base.h>

Inheritance diagram for CNORXZ::RangeInterface< Range >:
CNORXZ::RangeBase

Public Types

typedef RangeBase RB
 
- Public Types inherited from CNORXZ::RangeBase
typedef DIndex IndexType
 

Public Member Functions

decltype(autobegin () const
 
decltype(autoend () 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< RangePtrsub () const
 
virtual SizeT size () const =0
 
virtual SizeT dim () const =0
 
virtual const TypeInfotype () const =0
 
virtual const TypeInfometaType () 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< Uuidkey () const =0
 

Additional Inherited Members

- Public Attributes inherited from CNORXZ::RangeBase
friend RangeFactoryBase
 
- Protected Attributes inherited from CNORXZ::RangeBase
Uuid mId = {0,0}
 
Wptr< RangeBasemThis
 

Detailed Description

template<class Range>
class CNORXZ::RangeInterface< Range >

Interface template for ranges

Provides begin() and end() returning indices of corresponding type

Template Parameters
Rangespecify the range type

Definition at line 185 of file range_base.h.

Member Typedef Documentation

◆ RB

Definition at line 189 of file range_base.h.

Constructor & Destructor Documentation

◆ RangeInterface()

template<class Range >
CNORXZ::RangeInterface< Range >::RangeInterface ( )
protecteddefault

default constructor

Member Function Documentation

◆ begin()

template<class Range >
decltype(auto) CNORXZ::RangeInterface< Range >::begin ( ) const

return index pointing to range's first element

Definition at line 23 of file range_base.cc.h.

◆ end()

template<class Range >
decltype(auto) CNORXZ::RangeInterface< Range >::end ( ) const

return index pointing to element after range's last element

Definition at line 30 of file range_base.cc.h.

◆ index()

template<class Range >
DIndex CNORXZ::RangeInterface< Range >::index ( SizeT pos) const
finaloverridevirtual

Return DIndex iterating over the range's parameter space.

Parameters
posindex position, size type argument

Implements CNORXZ::RangeBase.

Definition at line 37 of file range_base.cc.h.


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