Version: 5.1.6

MED.TTMeshValue< TValueType > Struct Template Reference

The class is a helper one. It provide safe and flexible way to get access to values for a MED TimeStamp. More...

#include <MED_Structures.hxx>

Inheritance diagram for MED.TTMeshValue< TValueType >:
Inheritance graph

Public Types

typedef TValueType TValue
typedef TValueType::value_type TElement
typedef TSlice< TElementTValueSlice
typedef TCSlice< TElementTCValueSlice
typedef TVector< TCValueSliceTCValueSliceArr
typedef TVector< TValueSliceTValueSliceArr

Public Member Functions

void Allocate (TInt theNbElem, TInt theNbGauss, TInt theNbComp, EModeSwitch theMode=eFULL_INTERLACE)
 Initialize the class.
virtual unsigned char * GetValuePtr ()
 Returns bare pointer on the internal value representation.
virtual TElementGetPointer ()
 Returns bare pointer on the internal value representation.
virtual const TElementGetPointer () const
 Returns bare pointer on the internal value representation.
TCValueSliceArr GetGaussValueSliceArr (TInt theElemId) const
 Iteration through Gauss Points by their components.
TValueSliceArr GetGaussValueSliceArr (TInt theElemId)
 Iteration through Gauss Points by their components.
TCValueSliceArr GetCompValueSliceArr (TInt theElemId) const
 Iteration through components by corresponding Gauss Points.
TValueSliceArr GetCompValueSliceArr (TInt theElemId)
 Iteration through components by corresponding Gauss Points.

Data Fields

TValue myValue

Detailed Description

template<class TValueType>
struct MED::TTMeshValue< TValueType >

The class is a helper one. It provide safe and flexible way to get access to values for a MED TimeStamp.


Member Typedef Documentation

template<class TValueType >
typedef TValueType MED.TTMeshValue< TValueType >.TValue
template<class TValueType >
typedef TValueType::value_type MED.TTMeshValue< TValueType >.TElement
template<class TValueType >
typedef TSlice<TElement> MED.TTMeshValue< TValueType >.TValueSlice
template<class TValueType >
typedef TCSlice<TElement> MED.TTMeshValue< TValueType >.TCValueSlice
template<class TValueType >
typedef TVector<TCValueSlice> MED.TTMeshValue< TValueType >.TCValueSliceArr
template<class TValueType >
typedef TVector<TValueSlice> MED.TTMeshValue< TValueType >.TValueSliceArr

Member Function Documentation

template<class TValueType >
void MED.TTMeshValue< TValueType >.Allocate ( TInt  theNbElem,
TInt  theNbGauss,
TInt  theNbComp,
EModeSwitch  theMode = eFULL_INTERLACE 
)

Initialize the class.

Reimplemented from MED.TMeshValueBase.

References MED.TMeshValueBase.GetStep(), and MED.TTMeshValue< TValueType >.myValue.

template<class TValueType >
virtual unsigned char* MED.TTMeshValue< TValueType >.GetValuePtr (  )  [virtual]

Returns bare pointer on the internal value representation.

Implements MED.TMeshValueBase.

References MED.TTMeshValue< TValueType >.myValue.

template<class TValueType >
virtual TElement* MED.TTMeshValue< TValueType >.GetPointer (  )  [virtual]

Returns bare pointer on the internal value representation.

References MED.TTMeshValue< TValueType >.myValue.

template<class TValueType >
virtual const TElement* MED.TTMeshValue< TValueType >.GetPointer (  )  const [virtual]

Returns bare pointer on the internal value representation.

References MED.TTMeshValue< TValueType >.myValue.

template<class TValueType >
TCValueSliceArr MED.TTMeshValue< TValueType >.GetGaussValueSliceArr ( TInt  theElemId  )  const
template<class TValueType >
TValueSliceArr MED.TTMeshValue< TValueType >.GetGaussValueSliceArr ( TInt  theElemId  ) 
template<class TValueType >
TCValueSliceArr MED.TTMeshValue< TValueType >.GetCompValueSliceArr ( TInt  theElemId  )  const
template<class TValueType >
TValueSliceArr MED.TTMeshValue< TValueType >.GetCompValueSliceArr ( TInt  theElemId  ) 

Field Documentation

template<class TValueType >
TValue MED.TTMeshValue< TValueType >.myValue