1.1.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 &m)
 
AArrayoperator= (const AArray &m)
 
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::AArray ( const VectorInt ndims = VectorInt())
AArray::AArray ( const AArray m)
AArray::~AArray ( )
virtual

Member Function Documentation

int AArray::getNDim ( ) const
inline
const VectorInt& AArray::getNDims ( ) const
inline
int AArray::getNDims ( int  idim) const
VectorInt AArray::getNDimsExt ( int  ndimMax) const
int AArray::getNPixels ( ) const
inline
int AArray::indiceToRank ( const VectorInt indice) const
void AArray::init ( const VectorInt ndims)
AArray & AArray::operator= ( const AArray m)
VectorInt AArray::rankToIndice ( int  rank) const
void AArray::rankToIndice ( int  rank,
VectorInt indices 
) const
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: