Version: 6.3.1

ParaMEDMEM::MemArray< T > Class Template Reference

Inheritance diagram for ParaMEDMEM::MemArray< T >:

List of all members.

Public Member Functions

 MemArray ()
 MemArray (const MemArray< T > &other)
bool isNull () const
const T * getConstPointerLoc (int offset) const
const T * getConstPointer () const
T * getPointer () const
MemArray< T > & operator= (const MemArray< T > &other)
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 alloc (int nbOfElements)
void reAlloc (int newNbOfElements)
void useArray (const T *array, bool ownership, DeallocType type, int nbOfElem)
void writeOnPlace (int id, T element0, const T *others, int sizeOfOthers)
 ~MemArray ()

template<class T>
class ParaMEDMEM::MemArray< T >


Constructor & Destructor Documentation

template<class T>
ParaMEDMEM::MemArray< T >::MemArray ( )
template<class T>
ParaMEDMEM::MemArray< T >::MemArray ( const MemArray< T > &  other)
template<class T>
ParaMEDMEM::MemArray< T >::~MemArray ( )

Member Function Documentation

template<class T>
const T* ParaMEDMEM::MemArray< T >::getConstPointerLoc ( int  offset) const
template<class T>
const T* ParaMEDMEM::MemArray< T >::getConstPointer ( ) const
template<class T>
T* ParaMEDMEM::MemArray< T >::getPointer ( ) const
template<class T>
MemArray< T > & ParaMEDMEM::MemArray< T >::operator= ( const MemArray< T > &  other)
template<class T>
T ParaMEDMEM::MemArray< T >::operator[] ( int  id) const
template<class T>
T& ParaMEDMEM::MemArray< T >::operator[] ( int  id)
template<class T >
void ParaMEDMEM::MemArray< T >::repr ( int  sl,
std::ostream &  stream 
) const
Parameters:
slis typically the number of components [in parameter]

Referenced by ParaMEDMEM::DataArrayInt::reprWithoutNameStream(), and ParaMEDMEM::DataArrayDouble::reprWithoutNameStream().

template<class T >
void ParaMEDMEM::MemArray< T >::reprZip ( int  sl,
std::ostream &  stream 
) const
Parameters:
slis typically the number of components [in parameter]

Referenced by ParaMEDMEM::DataArrayInt::reprZipWithoutNameStream(), and ParaMEDMEM::DataArrayDouble::reprZipWithoutNameStream().

template<class T>
void ParaMEDMEM::MemArray< T >::fillWithValue ( const T &  val)
template<class T >
T * ParaMEDMEM::MemArray< T >::fromNoInterlace ( int  nbOfComp) const
template<class T >
T * ParaMEDMEM::MemArray< T >::toNoInterlace ( int  nbOfComp) const
template<class T >
void ParaMEDMEM::MemArray< T >::sort ( )
template<class T >
void ParaMEDMEM::MemArray< T >::alloc ( int  nbOfElements)
template<class T >
void ParaMEDMEM::MemArray< T >::reAlloc ( int  newNbOfElements)
template<class T>
void ParaMEDMEM::MemArray< T >::useArray ( const T *  array,
bool  ownership,
DeallocType  type,
int  nbOfElem 
)
template<class T>
void ParaMEDMEM::MemArray< T >::writeOnPlace ( int  id,
element0,
const T *  others,
int  sizeOfOthers 
)
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS