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 Types | |
typedef TCSlice< TElement > | TCValueSlice |
typedef TVector< TCValueSlice > | TCValueSliceArr |
typedef TValueType::value_type | TElement |
typedef TValueType | TValue |
typedef TSlice< TElement > | TValueSlice |
typedef TVector< TValueSlice > | TValueSliceArr |
Public Member Functions | |
void | Allocate (TInt theNbElem, TInt theNbGauss, TInt theNbComp, EModeSwitch theMode=eFULL_INTERLACE) |
Initialize the class. More... | |
TValueSliceArr | GetCompValueSliceArr (TInt theElemId) |
Iteration through components by corresponding Gauss Points. More... | |
TCValueSliceArr | GetCompValueSliceArr (TInt theElemId) const |
Iteration through components by corresponding Gauss Points. More... | |
TValueSliceArr | GetGaussValueSliceArr (TInt theElemId) |
Iteration through Gauss Points by their components. More... | |
TCValueSliceArr | GetGaussValueSliceArr (TInt theElemId) const |
Iteration through Gauss Points by their components. More... | |
virtual TElement * | GetPointer () |
Returns bare pointer on the internal value representation. More... | |
virtual const TElement * | GetPointer () const |
Returns bare pointer on the internal value representation. More... | |
virtual unsigned char * | GetValuePtr () |
Returns bare pointer on the internal value representation. More... | |
Public Member Functions inherited from MED::TMeshValueBase | |
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 | |
TValue | myValue |
Public Attributes inherited from MED::TMeshValueBase | |
TInt | myNbComp |
TInt | myNbElem |
TInt | myNbGauss |
TInt | myStep |
Public Attributes inherited from MED::TModeSwitchInfo | |
EModeSwitch | myModeSwitch |
Keeps the. More... | |
The class is a helper one. It provide safe and flexible way to get access to values for a MED TimeStamp.
typedef TCSlice<TElement> MED::TTMeshValue< TValueType >::TCValueSlice |
typedef TVector<TCValueSlice> MED::TTMeshValue< TValueType >::TCValueSliceArr |
typedef TValueType::value_type MED::TTMeshValue< TValueType >::TElement |
typedef TValueType MED::TTMeshValue< TValueType >::TValue |
typedef TSlice<TElement> MED::TTMeshValue< TValueType >::TValueSlice |
typedef TVector<TValueSlice> MED::TTMeshValue< TValueType >::TValueSliceArr |
void MED::TTMeshValue< TValueType >::Allocate | ( | TInt | theNbElem, |
TInt | theNbGauss, | ||
TInt | theNbComp, | ||
EModeSwitch | theMode = eFULL_INTERLACE |
||
) |
Initialize the class.
References MED::TMeshValueBase::Allocate(), MED::TMeshValueBase::GetStep(), and MED::TTMeshValue< TValueType >::myValue.
TValueSliceArr MED::TTMeshValue< TValueType >::GetCompValueSliceArr | ( | TInt | theElemId | ) |
Iteration through components by corresponding Gauss Points.
References MED::eFULL_INTERLACE, MED::TModeSwitchInfo::GetModeSwitch(), MED::TMeshValueBase::myNbComp, MED::TMeshValueBase::myNbGauss, MED::TMeshValueBase::myStep, and MED::TTMeshValue< TValueType >::myValue.
TCValueSliceArr MED::TTMeshValue< TValueType >::GetCompValueSliceArr | ( | TInt | theElemId | ) | const |
Iteration through components by corresponding Gauss Points.
References MED::eFULL_INTERLACE, MED::TModeSwitchInfo::GetModeSwitch(), MED::TMeshValueBase::myNbComp, MED::TMeshValueBase::myNbGauss, MED::TMeshValueBase::myStep, and MED::TTMeshValue< TValueType >::myValue.
TValueSliceArr MED::TTMeshValue< TValueType >::GetGaussValueSliceArr | ( | TInt | theElemId | ) |
Iteration through Gauss Points by their components.
References MED::eFULL_INTERLACE, MED::TModeSwitchInfo::GetModeSwitch(), MED::TMeshValueBase::myNbComp, MED::TMeshValueBase::myNbGauss, MED::TMeshValueBase::myStep, and MED::TTMeshValue< TValueType >::myValue.
TCValueSliceArr MED::TTMeshValue< TValueType >::GetGaussValueSliceArr | ( | TInt | theElemId | ) | const |
Iteration through Gauss Points by their components.
References MED::eFULL_INTERLACE, MED::TModeSwitchInfo::GetModeSwitch(), MED::TMeshValueBase::myNbComp, MED::TMeshValueBase::myNbGauss, MED::TMeshValueBase::myStep, and MED::TTMeshValue< TValueType >::myValue.
|
virtual |
Returns bare pointer on the internal value representation.
References MED::TTMeshValue< TValueType >::myValue.
|
virtual |
Returns bare pointer on the internal value representation.
References MED::TTMeshValue< TValueType >::myValue.
|
virtual |
Returns bare pointer on the internal value representation.
Implements MED::TMeshValueBase.
TValue MED::TTMeshValue< TValueType >::myValue |