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>

Public Types

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

Public Member Functions

void Allocate (TInt theNbElem, TInt theNbGauss, TInt theNbComp, EModeSwitch theMode=eFULL_INTERLACE)
 Initialize the class. More...
 
TValueSliceArr GetCompValueSliceArr (TInt theElemId)
 Iteration through components by corresponding Gauss Points. More...
 
TCValueSliceArr GetCompValueSliceArr (TInt theElemId) const
 Iteration through components by corresponding Gauss Points. More...
 
TValueSliceArr GetGaussValueSliceArr (TInt theElemId)
 Iteration through Gauss Points by their components. More...
 
TCValueSliceArr GetGaussValueSliceArr (TInt theElemId) const
 Iteration through Gauss Points by their components. 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...
 
virtual unsigned char * GetValuePtr ()
 Returns bare pointer on the internal value representation. More...
 
- Public Member Functions inherited from MED::TMeshValueBase
void Allocate (TInt theNbElem, TInt theNbGauss, TInt theNbComp, EModeSwitch theMode=eFULL_INTERLACE)
 Initialize the class. More...
 
size_t GetNbGauss () const
 Returns number of Gauss Points bounded with the value. More...
 
size_t GetNbVal () const
 Returns MED interpretation of the value size. More...
 
size_t GetSize () const
 Returns size of the value container. More...
 
size_t GetStep () const
 Returns step inside of the data array. More...
 
virtual unsigned char * GetValuePtr ()=0
 Returns bare pointer on the internal value representation. More...
 
 TMeshValueBase ()
 
- Public Member Functions inherited from MED::TModeSwitchInfo
EModeSwitch GetModeSwitch () const
 
 TModeSwitchInfo ()
 To construct instance of the class by default. More...
 
 TModeSwitchInfo (EModeSwitch theModeSwitch)
 To construct instance of the class. More...
 
- Public Member Functions inherited from MED::TBase
virtual ~TBase ()
 

Public Attributes

TValue myValue
 
- Public Attributes inherited from MED::TMeshValueBase
TInt myNbComp
 
TInt myNbElem
 
TInt myNbGauss
 
TInt myStep
 
- Public Attributes inherited from MED::TModeSwitchInfo
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

◆ TCValueSlice

template<class TValueType >
typedef TCSlice<TElement> MED::TTMeshValue< TValueType >::TCValueSlice

◆ TCValueSliceArr

template<class TValueType >
typedef TVector<TCValueSlice> MED::TTMeshValue< TValueType >::TCValueSliceArr

◆ TElement

template<class TValueType >
typedef TValueType::value_type MED::TTMeshValue< TValueType >::TElement

◆ TValue

template<class TValueType >
typedef TValueType MED::TTMeshValue< TValueType >::TValue

◆ TValueSlice

template<class TValueType >
typedef TSlice<TElement> MED::TTMeshValue< TValueType >::TValueSlice

◆ TValueSliceArr

template<class TValueType >
typedef TVector<TValueSlice> MED::TTMeshValue< TValueType >::TValueSliceArr

Member Function Documentation

◆ Allocate()

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

◆ GetCompValueSliceArr() [1/2]

template<class TValueType >
TValueSliceArr MED::TTMeshValue< TValueType >::GetCompValueSliceArr ( TInt  theElemId)

◆ GetCompValueSliceArr() [2/2]

template<class TValueType >
TCValueSliceArr MED::TTMeshValue< TValueType >::GetCompValueSliceArr ( TInt  theElemId) const

◆ GetGaussValueSliceArr() [1/2]

template<class TValueType >
TValueSliceArr MED::TTMeshValue< TValueType >::GetGaussValueSliceArr ( TInt  theElemId)

◆ GetGaussValueSliceArr() [2/2]

template<class TValueType >
TCValueSliceArr MED::TTMeshValue< TValueType >::GetGaussValueSliceArr ( TInt  theElemId) const

◆ GetPointer() [1/2]

template<class TValueType >
virtual TElement * MED::TTMeshValue< TValueType >::GetPointer ( )
virtual

Returns bare pointer on the internal value representation.

References MED::TTMeshValue< TValueType >::myValue.

◆ GetPointer() [2/2]

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.

◆ GetValuePtr()

template<class TValueType >
virtual unsigned char * MED::TTMeshValue< TValueType >::GetValuePtr ( )
virtual

Returns bare pointer on the internal value representation.

Implements MED::TMeshValueBase.

Member Data Documentation

◆ myValue


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