Version: 6.3.1
Public Member Functions | Data Fields

MED.TMeshValueBase Struct 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.TMeshValueBase:
Inheritance graph

Public Member Functions

 TMeshValueBase ()
void Allocate (TInt theNbElem, TInt theNbGauss, TInt theNbComp, EModeSwitch theMode=eFULL_INTERLACE)
 Initialize the class.
size_t GetSize () const
 Returns size of the value container.
size_t GetNbVal () const
 Returns MED interpetation of the value size.
size_t GetNbGauss () const
 Returns number of Gauss Points bounded with the value.
size_t GetStep () const
 Returns step inside of the data array.
virtual unsigned char * GetValuePtr ()=0
 Returns bare pointer on the internal value representation.

Data Fields

TInt myNbElem
TInt myNbComp
TInt myNbGauss
TInt myStep

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.

Reimplemented in MED.TTMeshValue< TValueType >.

size_t TMeshValueBase::GetSize ( ) const

Returns size of the value container.

size_t TMeshValueBase::GetNbVal ( ) const

Returns MED interpetation of the value size.

size_t TMeshValueBase::GetNbGauss ( ) const

Returns number of Gauss Points bounded with the value.

size_t TMeshValueBase::GetStep ( ) const

Returns step inside of the data array.

virtual unsigned char* MED.TMeshValueBase.GetValuePtr ( ) [pure virtual]

Returns bare pointer on the internal value representation.

Implemented in MED.TTMeshValue< TValueType >.


Field Documentation

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS