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 | |
| 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... | |
The class is a helper one. It provide safe and flexible way to get access to values for a MED TimeStamp.
| MED::TMeshValueBase::TMeshValueBase | ( | ) |
| void MED::TMeshValueBase::Allocate | ( | TInt | theNbElem, |
| TInt | theNbGauss, | ||
| TInt | theNbComp, | ||
| EModeSwitch | theMode = eFULL_INTERLACE |
||
| ) |
Initialize the class.
References MED::TModeSwitchInfo::myModeSwitch, myNbComp, myNbElem, myNbGauss, and myStep.
Referenced by MED::TTMeshValue< TValueType >::Allocate().
|
inherited |
Referenced by MED::TTMeshValue< TValueType >::GetCompValueSliceArr(), MED::TCellInfo::GetConnSlice(), MED::TNodeInfo::GetCoordSlice(), MED::TGaussCoord::GetCoordSliceArr(), MED::TGaussInfo::GetGaussCoordSlice(), MED::TTMeshValue< TValueType >::GetGaussValueSliceArr(), and MED::TGaussInfo::GetRefCoordSlice().
| size_t MED::TMeshValueBase::GetNbGauss | ( | ) | const |
Returns number of Gauss Points bounded with the value.
References myNbGauss.
| size_t MED::TMeshValueBase::GetNbVal | ( | ) | const |
| size_t MED::TMeshValueBase::GetSize | ( | ) | const |
| size_t MED::TMeshValueBase::GetStep | ( | ) | const |
Returns step inside of the data array.
References myStep.
Referenced by MED::TTMeshValue< TValueType >::Allocate().
|
pure virtual |
Returns bare pointer on the internal value representation.
Implemented in MED::TTMeshValue< TValueType >.
|
inherited |
Keeps the interlace mode.
Referenced by Allocate(), MED::TWrapper::GetCellInfo(), MED::TWrapper::GetGaussInfo(), MED::TWrapper::GetGrilleInfo(), MED::TWrapper::GetNodeInfo(), MED::TGaussCoord::Init(), MED::TWrapper::SetCellInfo(), MED::TWrapper::SetGrilleInfo(), MED::TWrapper::SetNodeInfo(), and MED::TTNodeInfo::TTNodeInfo().
| TInt MED::TMeshValueBase::myNbComp |
| TInt MED::TMeshValueBase::myNbElem |
Referenced by Allocate(), GetNbVal(), and GetSize().
| TInt MED::TMeshValueBase::myNbGauss |
| TInt MED::TMeshValueBase::myStep |