Version: 9.16.0
MED::TMeshValueBase Struct Referenceabstract

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::TMeshValueBase:

Public Member Functions

 TMeshValueBase ()
 
void Allocate (TInt theNbElem, TInt theNbGauss, TInt theNbComp, EModeSwitch theMode=eFULL_INTERLACE)
 Initialize the class. More...
 
size_t GetSize () const
 Returns size of the value container. More...
 
size_t GetNbVal () const
 Returns MED interpretation 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...
 
virtual unsigned char * GetValuePtr ()=0
 Returns bare pointer on the internal value representation. More...
 
EModeSwitch GetModeSwitch () const
 

Data Fields

TInt myNbElem
 
TInt myNbComp
 
TInt myNbGauss
 
TInt myStep
 
EModeSwitch myModeSwitch
 Keeps the interlace mode. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ TMeshValueBase()

MED::TMeshValueBase::TMeshValueBase ( )

Member Function Documentation

◆ Allocate()

void MED::TMeshValueBase::Allocate ( TInt  theNbElem,
TInt  theNbGauss,
TInt  theNbComp,
EModeSwitch  theMode = eFULL_INTERLACE 
)

◆ GetModeSwitch()

◆ GetNbGauss()

size_t MED::TMeshValueBase::GetNbGauss ( ) const

Returns number of Gauss Points bounded with the value.

References myNbGauss.

◆ GetNbVal()

size_t MED::TMeshValueBase::GetNbVal ( ) const

Returns MED interpretation of the value size.

References myNbElem, and myNbGauss.

◆ GetSize()

size_t MED::TMeshValueBase::GetSize ( ) const

Returns size of the value container.

References myNbElem, and myStep.

◆ GetStep()

size_t MED::TMeshValueBase::GetStep ( ) const

Returns step inside of the data array.

References myStep.

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

◆ GetValuePtr()

virtual unsigned char * MED::TMeshValueBase::GetValuePtr ( )
pure virtual

Returns bare pointer on the internal value representation.

Implemented in MED::TTMeshValue< TValueType >.

Field Documentation

◆ myModeSwitch

◆ myNbComp

◆ myNbElem

TInt MED::TMeshValueBase::myNbElem

Referenced by Allocate(), GetNbVal(), and GetSize().

◆ myNbGauss

◆ myStep