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< TAI
 
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< DTypeMetaType
 

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
 
Toperator* ()
 
Toperator-> ()
 
- 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 Toperator* () const
 
const Toperator-> () const
 
YIndexoperator= (YIndex &&i)=default
 
YIndexoperator= (const YIndex &i)
 
YIndexoperator= (SizeT lexpos)
 
- Public Member Functions inherited from CNORXZ::YIndex
 INDEX_RANDOM_ACCESS_ITERATOR_DEFS (MetaType)
 
 YIndex ()=default
 
 YIndex (YIndex &&i)=default
 
YIndexoperator= (YIndex &&i)=default
 
 YIndex (const YIndex &i)
 
YIndexoperator= (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)
 
YIndexoperator= (SizeT lexpos)
 
YIndexoperator++ ()
 
YIndexoperator-- ()
 
YIndex operator+ (Int n) const
 
YIndex operator- (Int n) const
 
SizeT operator- (const YIndex &i) const
 
YIndexoperator+= (Int n)
 
YIndexoperator-= (Int n)
 
SizeT lex () const
 
UPos pmax () const
 
UPos lmax () const
 
IndexId< 0 > id () const
 
Vector< DTypeoperator* () const
 
SizeT dim () const
 
Sptr< YRangerange () const
 
UPos stepSize (const IndexId< 0 > id) const
 
String stringMeta () const
 
Vector< DTypemeta () const
 
YIndexat (const Vector< DType > &meta)
 
RangePtr prange (const YIndex &last) const
 
Vector< SizeTdeepFormat () const
 
Vector< SizeTdeepMax () const
 
YIndexreformat (const Vector< SizeT > &f, const Vector< SizeT > &s)
 
DXpr< Noneifor (const DXpr< None > &xpr, NoF &&f) const
 
bool formatIsTrivial () const
 
YIndexoperator() (const Sptr< YIndex > &i)
 
YIndexoperator() ()
 
const DPackpack () const
 
const YFormatformat () const
 
const YFormatlexFormat () const
 
YIndexsetFormat (const YFormat &bs)
 
YIndexsetSub (SizeT ind, SizeT lex)
 
- Public Member Functions inherited from CNORXZ::IndexInterface< YIndex, Vector< DType > >
 ~IndexInterface ()=default
 
YIndexTHIS ()
 
const YIndexTHIS () const
 
YIndexoperator++ ()
 
YIndexoperator-- ()
 
YIndex operator+ (Int n) const
 
YIndex operator- (Int n) const
 
Int operator- (const IndexInterface &i) const
 
YIndexoperator+= (Int n)
 
YIndexoperator-= (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
 
YIndexat (const Vector< DType > &meta)
 
RangePtr prange (const IndexInterface &end) const
 
decltype(auto) deepFormat () const
 
decltype(auto) deepMax () const
 
YIndexreformat (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 TmCData = 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: