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

#include <aindex.h>

Inheritance diagram for CNORXZ::BIndex< T >:
CNORXZ::AIndex< T > CNORXZ::YIndex CNORXZ::IndexInterface< YIndex, Vector< DType > >

Public Types

typedef AIndex< T > AI
 
typedef AI::IB IB
 
- Public Types inherited from CNORXZ::AIndex< T >
typedef YIndex::IB IB
 
- Public Types inherited from CNORXZ::YIndex
typedef IndexInterface< YIndex, Vector< DType > > IB
 
typedef YRange RangeType
 
typedef Vector< DType > MetaType
 

Public Member Functions

 DEFAULT_MEMBERS (BIndex)
 
 BIndex (T *data, const RangePtr &range, SizeT pos=0)
 
 BIndex (T *data, const AIndex< T > &cci)
 
BIndex operator+ (Int n) const
 
BIndex operator- (Int n) const
 
T & operator* ()
 
T * operator-> ()
 
- Public Member Functions inherited from CNORXZ::AIndex< T >
 DEFAULT_MEMBERS (AIndex)
 
 AIndex (const T *data, const RangePtr &range, SizeT lexpos=0)
 
 AIndex (const T *data, const YIndex &yindex)
 
 AIndex (const T *data, const AIndex< T > &aindex)
 
AIndex operator+ (Int n) const
 
AIndex operator- (Int n) const
 
const T & operator* () const
 
const T * operator-> () const
 
YIndex & operator= (YIndex &&i)=default
 
YIndex & operator= (const YIndex &i)
 
YIndex & operator= (SizeT lexpos)
 
- Public Member Functions inherited from CNORXZ::YIndex
 INDEX_RANDOM_ACCESS_ITERATOR_DEFS (MetaType)
 
 YIndex ()=default
 
 YIndex (YIndex &&i)=default
 
YIndex & operator= (YIndex &&i)=default
 
 YIndex (const YIndex &i)
 
YIndex & operator= (const YIndex &i)
 
 YIndex (const Vector< XIndexPtr > &is)
 
 YIndex (const YFormat &bs, const Vector< XIndexPtr > &is)
 
 YIndex (const RangePtr &range, SizeT lexpos=0)
 
 YIndex (const RangePtr &range, const YFormat &bs, SizeT lexpos=0)
 
YIndex & operator= (SizeT lexpos)
 
YIndex & operator++ ()
 
YIndex & operator-- ()
 
YIndex operator+ (Int n) const
 
YIndex operator- (Int n) const
 
SizeT operator- (const YIndex &i) const
 
YIndex & operator+= (Int n)
 
YIndex & operator-= (Int n)
 
SizeT lex () const
 
UPos pmax () const
 
UPos lmax () const
 
IndexId< 0 > id () const
 
Vector< DType > operator* () const
 
SizeT dim () const
 
Sptr< YRange > range () const
 
UPos stepSize (const IndexId< 0 > id) const
 
String stringMeta () const
 
Vector< DType > meta () const
 
YIndex & at (const Vector< DType > &meta)
 
RangePtr prange (const YIndex &last) const
 
Vector< SizeT > deepFormat () const
 
Vector< SizeT > deepMax () const
 
YIndex & reformat (const Vector< SizeT > &f, const Vector< SizeT > &s)
 
DXpr< None > ifor (const DXpr< None > &xpr, NoF &&f) const
 
bool formatIsTrivial () const
 
YIndex & operator() (const Sptr< YIndex > &i)
 
YIndex & operator() ()
 
const DPack & pack () const
 
const YFormat & format () const
 
const YFormat & lexFormat () const
 
YIndex & setFormat (const YFormat &bs)
 
YIndex & setSub (SizeT ind, SizeT lex)
 
- Public Member Functions inherited from CNORXZ::IndexInterface< YIndex, Vector< DType > >
 ~IndexInterface ()=default
 
YIndex & THIS ()
 
const YIndex & THIS () const
 
YIndex & operator++ ()
 
YIndex & operator-- ()
 
YIndex operator+ (Int n) const
 
YIndex operator- (Int n) const
 
Int operator- (const IndexInterface &i) const
 
YIndex & operator+= (Int n)
 
YIndex & operator-= (Int n)
 
SizeT pos () const
 
SizeT lex () const
 
SizeT pmax () const
 
SizeT lmax () const
 
PtrId ptrId () const
 
decltype(auto) id () const
 
bool operator== (const IndexInterface &i) const
 
bool operator!= (const IndexInterface &i) const
 
bool operator< (const IndexInterface &i) const
 
bool operator> (const IndexInterface &i) const
 
bool operator<= (const IndexInterface &i) const
 
bool operator>= (const IndexInterface &i) const
 
decltype(auto) operator* () const
 
SizeT dim () const
 
decltype(auto) range () const
 
decltype(auto) stepSize (const IndexId< J > &id) const
 
String stringMeta () const
 
decltype(auto) meta () const
 
YIndex & at (const Vector< DType > &meta)
 
RangePtr prange (const IndexInterface &end) const
 
decltype(auto) deepFormat () const
 
decltype(auto) deepMax () const
 
YIndex & reformat (const Vector< SizeT > &f, const Vector< SizeT > &s)
 
decltype(auto) ifor (const Xpr &xpr, F &&f) const
 
bool formatIsTrivial () const
 

Additional Inherited Members

- Protected Attributes inherited from CNORXZ::AIndex< T >
const T * mCData = nullptr
 
- Protected Attributes inherited from CNORXZ::IndexInterface< YIndex, Vector< DType > >
SizeT mPos
 

Detailed Description

template<typename T>
class CNORXZ::BIndex< T >

Definition at line 49 of file aindex.h.

Member Typedef Documentation

◆ AI

template<typename T >
typedef AIndex<T> CNORXZ::BIndex< T >::AI

Definition at line 52 of file aindex.h.

◆ IB

template<typename T >
typedef AI::IB CNORXZ::BIndex< T >::IB

Definition at line 53 of file aindex.h.

Constructor & Destructor Documentation

◆ BIndex() [1/2]

template<typename T >
CNORXZ::BIndex< T >::BIndex ( T * data,
const RangePtr & range,
SizeT pos = 0 )

Definition at line 68 of file aindex.cc.h.

◆ BIndex() [2/2]

template<typename T >
CNORXZ::BIndex< T >::BIndex ( T * data,
const AIndex< T > & cci )

Definition at line 74 of file aindex.cc.h.

Member Function Documentation

◆ DEFAULT_MEMBERS()

template<typename T >
CNORXZ::BIndex< T >::DEFAULT_MEMBERS ( BIndex< T > )

◆ operator*()

template<typename T >
T & CNORXZ::BIndex< T >::operator* ( )

Definition at line 96 of file aindex.cc.h.

◆ operator+()

template<typename T >
BIndex< T > CNORXZ::BIndex< T >::operator+ ( Int n) const

Definition at line 80 of file aindex.cc.h.

◆ operator-()

template<typename T >
BIndex< T > CNORXZ::BIndex< T >::operator- ( Int n) const

Definition at line 88 of file aindex.cc.h.

◆ operator->()

template<typename T >
T * CNORXZ::BIndex< T >::operator-> ( )

Definition at line 102 of file aindex.cc.h.


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