Version: 5.1.6

ParaMEDMEM.MemArray< T > Class Template Reference

#include <MEDCouplingMemArray.hxx>

Inheritance diagram for ParaMEDMEM.MemArray< T >:
Inheritance graph

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)
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 ()
void destroy ()

Static Public Member Functions

static void destroyPointer (T *pt, DeallocType type)

Data Fields

int _nb_of_elem
bool _ownership
MEDCouplingPointer< T > _pointer
DeallocType _dealloc

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>
bool ParaMEDMEM.MemArray< T >.isNull (  )  const
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 (  ) 
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>
bool ParaMEDMEM.MemArray< T >.isEqual ( const MemArray< T > &  other,
prec 
) const
template<class T>
void ParaMEDMEM.MemArray< T >.repr ( int  sl,
std::ostream &  stream 
) const
template<class T>
void ParaMEDMEM.MemArray< T >.reprZip ( int  sl,
std::ostream &  stream 
) const
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 
)
template<class T>
void ParaMEDMEM.MemArray< T >.destroy (  ) 
template<class T>
static void ParaMEDMEM.MemArray< T >.destroyPointer ( T *  pt,
DeallocType  type 
) [static]

Field Documentation

template<class T>
int ParaMEDMEM.MemArray< T >._nb_of_elem
template<class T>
bool ParaMEDMEM.MemArray< T >._ownership
template<class T>
MEDCouplingPointer<T> ParaMEDMEM.MemArray< T >._pointer
template<class T>
DeallocType ParaMEDMEM.MemArray< T >._dealloc