Back to index

salome-med  6.5.0
Public Member Functions | Public Attributes | Private Member Functions
MEDMEM_ENSIGHT::_ValueOwner< T > Struct Template Reference

Simple owner of C array. More...

#include <MEDMEM_EnsightUtils.hxx>

List of all members.

Public Member Functions

 _ValueOwner (T *values)
 ~_ValueOwner ()
 operator T * ()

Public Attributes

T * myValues

Private Member Functions

 _ValueOwner (const _ValueOwner &other)

Detailed Description

template<typename T>
struct MEDMEM_ENSIGHT::_ValueOwner< T >

Simple owner of C array.

Definition at line 552 of file MEDMEM_EnsightUtils.hxx.


Constructor & Destructor Documentation

template<typename T >
MEDMEM_ENSIGHT::_ValueOwner< T >::_ValueOwner ( T *  values) [inline]

Definition at line 554 of file MEDMEM_EnsightUtils.hxx.

template<typename T >
MEDMEM_ENSIGHT::_ValueOwner< T >::~_ValueOwner ( ) [inline]

Definition at line 555 of file MEDMEM_EnsightUtils.hxx.

{ if ( myValues ) delete [] myValues; }
template<typename T >
MEDMEM_ENSIGHT::_ValueOwner< T >::_ValueOwner ( const _ValueOwner< T > &  other) [inline, private]

Definition at line 558 of file MEDMEM_EnsightUtils.hxx.

{} // forbidden

Member Function Documentation

template<typename T >
MEDMEM_ENSIGHT::_ValueOwner< T >::operator T * ( ) [inline]

Definition at line 556 of file MEDMEM_EnsightUtils.hxx.

{ return myValues; }

Member Data Documentation

template<typename T >
T* MEDMEM_ENSIGHT::_ValueOwner< T >::myValues

Definition at line 553 of file MEDMEM_EnsightUtils.hxx.


The documentation for this struct was generated from the following file: