Public Member Functions | |
MemArray () | |
MemArray (const MemArray< T > &other) | |
bool | isNull () const |
const T * | getConstPointerLoc (int offset) const |
const T * | getConstPointer () const |
T * | getPointer () |
MemArray< T > & | operator= (const MemArray< T > &other) |
T | operator[] (int id) const |
T & | operator[] (int id) |
bool | isEqual (const MemArray< T > &other, T prec) const |
void | repr (int sl, std::ostream &stream) const |
void | reprZip (int sl, std::ostream &stream) const |
void | fillWithValue (const T &val) |
T * | fromNoInterlace (int nbOfComp) const |
T * | toNoInterlace (int nbOfComp) const |
void | sort () |
void | reverse () |
void | alloc (int nbOfElements) throw (INTERP_KERNEL::Exception) |
void | reAlloc (int newNbOfElements) throw (INTERP_KERNEL::Exception) |
void | useArray (const T *array, bool ownership, DeallocType type, int nbOfElem) |
void | writeOnPlace (int id, T element0, const T *others, int sizeOfOthers) |
~MemArray () |
ParaMEDMEM::MemArray< T >::MemArray | ( | ) |
ParaMEDMEM::MemArray< T >::MemArray | ( | const MemArray< T > & | other | ) |
References ParaMEDMEM::CPP_DEALLOC, and ParaMEDMEM::MemArray< T >::useArray().
ParaMEDMEM::MemArray< T >::~MemArray | ( | ) |
bool ParaMEDMEM::MemArray< T >::isNull | ( | ) | const |
const T* ParaMEDMEM::MemArray< T >::getConstPointerLoc | ( | int | offset | ) | const |
Referenced by ParaMEDMEM::DataArrayDouble::getTuple().
const T* ParaMEDMEM::MemArray< T >::getConstPointer | ( | ) | const |
Referenced by ParaMEDMEM::DataArrayDouble::getConstPointer().
T* ParaMEDMEM::MemArray< T >::getPointer | ( | ) |
Referenced by ParaMEDMEM::DataArrayDouble::getPointer().
MemArray< T > & ParaMEDMEM::MemArray< T >::operator= | ( | const MemArray< T > & | other | ) |
T ParaMEDMEM::MemArray< T >::operator[] | ( | int | id | ) | const |
T& ParaMEDMEM::MemArray< T >::operator[] | ( | int | id | ) |
bool ParaMEDMEM::MemArray< T >::isEqual | ( | const MemArray< T > & | other, |
T | prec | ||
) | const |
void ParaMEDMEM::MemArray< T >::repr | ( | int | sl, |
std::ostream & | stream | ||
) | const |
sl | is typically the number of components [in parameter] |
Referenced by ParaMEDMEM::DataArrayDouble::reprWithoutNameStream(), and ParaMEDMEM::DataArrayInt::reprWithoutNameStream().
void ParaMEDMEM::MemArray< T >::reprZip | ( | int | sl, |
std::ostream & | stream | ||
) | const |
sl | is typically the number of components [in parameter] |
Referenced by ParaMEDMEM::DataArrayDouble::reprZipWithoutNameStream(), and ParaMEDMEM::DataArrayInt::reprZipWithoutNameStream().
void ParaMEDMEM::MemArray< T >::fillWithValue | ( | const T & | val | ) |
Referenced by ParaMEDMEM::DataArrayDouble::fillWithZero(), and ParaMEDMEM::DataArrayInt::fillWithZero().
T * ParaMEDMEM::MemArray< T >::fromNoInterlace | ( | int | nbOfComp | ) | const |
T * ParaMEDMEM::MemArray< T >::toNoInterlace | ( | int | nbOfComp | ) | const |
void ParaMEDMEM::MemArray< T >::sort | ( | ) |
Referenced by ParaMEDMEM::DataArrayDouble::sort(), and ParaMEDMEM::DataArrayInt::sort().
void ParaMEDMEM::MemArray< T >::reverse | ( | ) |
Referenced by ParaMEDMEM::DataArrayDouble::reverse(), and ParaMEDMEM::DataArrayInt::reverse().
void ParaMEDMEM::MemArray< T >::alloc | ( | int | nbOfElements | ) | throw (INTERP_KERNEL::Exception) |
References ParaMEDMEM::CPP_DEALLOC.
void ParaMEDMEM::MemArray< T >::reAlloc | ( | int | newNbOfElements | ) | throw (INTERP_KERNEL::Exception) |
References ParaMEDMEM::CPP_DEALLOC.
void ParaMEDMEM::MemArray< T >::useArray | ( | const T * | array, |
bool | ownership, | ||
DeallocType | type, | ||
int | nbOfElem | ||
) |
void ParaMEDMEM::MemArray< T >::writeOnPlace | ( | int | id, |
T | element0, | ||
const T * | others, | ||
int | sizeOfOthers | ||
) |
Referenced by ParaMEDMEM::DataArrayDouble::writeOnPlace().