Version: 8.3.0
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 >:

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. More...
 
virtual unsigned char * GetValuePtr ()
 Returns bare pointer on the internal value representation. More...
 
virtual TElementGetPointer ()
 Returns bare pointer on the internal value representation. More...
 
virtual const TElementGetPointer () const
 Returns bare pointer on the internal value representation. More...
 
TCValueSliceArr GetGaussValueSliceArr (TInt theElemId) const
 Iteration through Gauss Points by their components. More...
 
TValueSliceArr GetGaussValueSliceArr (TInt theElemId)
 Iteration through Gauss Points by their components. More...
 
TCValueSliceArr GetCompValueSliceArr (TInt theElemId) const
 Iteration through components by corresponding Gauss Points. More...
 
TValueSliceArr GetCompValueSliceArr (TInt theElemId)
 Iteration through components by corresponding Gauss Points. More...
 
size_t GetSize () const
 Returns size of the value container. More...
 
size_t GetNbVal () const
 Returns MED interpetation of the value size. More...
 
size_t GetNbGauss () const
 Returns number of Gauss Points bounded with the value. More...
 
size_t GetStep () const
 Returns step inside of the data array. More...
 
EModeSwitch GetModeSwitch () const
 

Data Fields

TValue myValue
 
TInt myNbElem
 
TInt myNbComp
 
TInt myNbGauss
 
TInt myStep
 
EModeSwitch myModeSwitch
 Keeps the. More...
 

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 TCSlice<TElement> MED::TTMeshValue< TValueType >::TCValueSlice
template<class TValueType >
typedef TVector<TCValueSlice> MED::TTMeshValue< TValueType >::TCValueSliceArr
template<class TValueType >
typedef TValueType::value_type MED::TTMeshValue< TValueType >::TElement
template<class TValueType >
typedef TValueType MED::TTMeshValue< TValueType >::TValue
template<class TValueType >
typedef TSlice<TElement> MED::TTMeshValue< TValueType >::TValueSlice
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 
)
template<class TValueType >
TCValueSliceArr MED::TTMeshValue< TValueType >::GetCompValueSliceArr ( TInt  theElemId) const
template<class TValueType >
TValueSliceArr MED::TTMeshValue< TValueType >::GetCompValueSliceArr ( TInt  theElemId)
template<class TValueType >
TCValueSliceArr MED::TTMeshValue< TValueType >::GetGaussValueSliceArr ( TInt  theElemId) const
template<class TValueType >
TValueSliceArr MED::TTMeshValue< TValueType >::GetGaussValueSliceArr ( TInt  theElemId)
EModeSwitch MED::TModeSwitchInfo::GetModeSwitch ( ) const
inherited
size_t TMeshValueBase::GetNbGauss ( ) const
inherited

Returns number of Gauss Points bounded with the value.

size_t TMeshValueBase::GetNbVal ( ) const
inherited

Returns MED interpetation of the value size.

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.

size_t TMeshValueBase::GetSize ( ) const
inherited

Returns size of the value container.

size_t TMeshValueBase::GetStep ( ) const
inherited

Returns step inside of the data array.

Referenced by MED::TTMeshValue< TValueType >::Allocate().

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.

Field Documentation

TInt MED::TMeshValueBase::myNbElem
inherited