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>

Public Member Functions

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

TInt myNbComp
 
TInt myNbElem
 
TInt myNbGauss
 
TInt myStep
 
- Public Attributes inherited from MED::TModeSwitchInfo
EModeSwitch myModeSwitch
 Keeps the. 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()

TMeshValueBase::TMeshValueBase ( )

Member Function Documentation

◆ Allocate()

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

◆ GetNbGauss()

size_t TMeshValueBase::GetNbGauss ( ) const

Returns number of Gauss Points bounded with the value.

References myNbGauss.

◆ GetNbVal()

size_t TMeshValueBase::GetNbVal ( ) const

Returns MED interpretation of the value size.

References myNbElem, and myNbGauss.

◆ GetSize()

size_t TMeshValueBase::GetSize ( ) const

Returns size of the value container.

References myNbElem, and myStep.

◆ GetStep()

size_t 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 >.

Member Data Documentation

◆ myNbComp

◆ myNbElem

TInt MED::TMeshValueBase::myNbElem

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

◆ myNbGauss

◆ myStep


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