Version: 8.3.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 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...
 
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. 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 ( )

Member Function Documentation

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

Initialize the class.

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

EModeSwitch MED::TModeSwitchInfo::GetModeSwitch ( ) const
inherited
size_t TMeshValueBase::GetNbGauss ( ) const

Returns number of Gauss Points bounded with the value.

size_t TMeshValueBase::GetNbVal ( ) const

Returns MED interpetation of the value size.

size_t TMeshValueBase::GetSize ( ) const

Returns size of the value container.

size_t TMeshValueBase::GetStep ( ) const

Returns step inside of the data array.

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

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

Returns bare pointer on the internal value representation.

Implemented in MED::TTMeshValue< TValueType >.

Field Documentation

TInt MED::TMeshValueBase::myNbElem