Version: 6.5.0
Public Member Functions | List of all members
ParaMEDMEM::MemArray< T > Class Template Reference
Inheritance diagram for ParaMEDMEM::MemArray< T >:
Inheritance graph
[legend]

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

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
Parameters
slis typically the number of components [in parameter]

Referenced by ParaMEDMEM::DataArrayDouble::reprWithoutNameStream(), and ParaMEDMEM::DataArrayInt::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::DataArrayDouble::reprZipWithoutNameStream(), and ParaMEDMEM::DataArrayInt::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 >::reverse ( )
template<class T >
void ParaMEDMEM::MemArray< T >::alloc ( int  nbOfElements) throw (INTERP_KERNEL::Exception)
template<class T >
void ParaMEDMEM::MemArray< T >::reAlloc ( int  newNbOfElements) throw (INTERP_KERNEL::Exception)
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-2012 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