1.4.0
CCC
 
AArray Class Reference

#include <AArray.hpp>

Inheritance diagram for AArray:
AStringable Array BImage

Public Member Functions

 AArray (const VectorInt &ndims=VectorInt())
 
 AArray (const AArray &r)
 
AArrayoperator= (const AArray &r)
 
virtual ~AArray ()
 
virtual String toString (const AStringFormat *strfmt=nullptr) const override
 Interface for AStringable. More...
 
void init (const VectorInt &ndims)
 
int indiceToRank (const VectorInt &indice) const
 
VectorInt rankToIndice (int rank) const
 
void rankToIndice (int rank, VectorInt &indices) const
 
int getNDim () const
 
int getNPixels () const
 
const VectorIntgetNDims () const
 
VectorInt getNDimsExt (int ndimMax) const
 
int getNDims (int idim) const
 
- Public Member Functions inherited from AStringable
 AStringable ()
 
 AStringable (const AStringable &r)
 
AStringableoperator= (const AStringable &r)
 
virtual ~AStringable ()
 
virtual void display (const AStringFormat *strfmt=nullptr) const final
 
virtual void display (int level) const final
 

Constructor & Destructor Documentation

◆ AArray() [1/2]

AArray::AArray ( const VectorInt ndims = VectorInt())

◆ AArray() [2/2]

AArray::AArray ( const AArray r)

◆ ~AArray()

AArray::~AArray ( )
virtual

Member Function Documentation

◆ getNDim()

int AArray::getNDim ( ) const
inline

◆ getNDims() [1/2]

const VectorInt& AArray::getNDims ( ) const
inline

◆ getNDims() [2/2]

int AArray::getNDims ( int  idim) const

◆ getNDimsExt()

VectorInt AArray::getNDimsExt ( int  ndimMax) const

◆ getNPixels()

int AArray::getNPixels ( ) const
inline

◆ indiceToRank()

int AArray::indiceToRank ( const VectorInt indice) const

◆ init()

void AArray::init ( const VectorInt ndims)

◆ operator=()

AArray & AArray::operator= ( const AArray r)

◆ rankToIndice() [1/2]

VectorInt AArray::rankToIndice ( int  rank) const

◆ rankToIndice() [2/2]

void AArray::rankToIndice ( int  rank,
VectorInt indices 
) const

◆ toString()

String AArray::toString ( const AStringFormat strfmt = nullptr) const
overridevirtual

Interface for AStringable.

Reimplemented from AStringable.

Reimplemented in BImage.


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