#include <MED_TStructures.hxx>
Public Member Functions | |
virtual std::string | GetElemName (TInt theId) const |
Get name of the mesh element by its order number. More... | |
virtual void | SetElemName (TInt theId, const std::string &theValue) |
Set name of the mesh element by its order number. More... | |
TTElemInfo (const PMeshInfo &theMeshInfo, const PElemInfo &theInfo) | |
TTElemInfo (const PMeshInfo &theMeshInfo, TInt theNbElem, const TIntVector &theFamilyNums, const TIntVector &theElemNums, const TStringVector &theElemNames) | |
TTElemInfo (const PMeshInfo &theMeshInfo, TInt theNbElem, EBooleen theIsElemNum, EBooleen theIsElemNames) | |
Public Member Functions inherited from MED::TElemInfo | |
virtual std::string | GetElemName (TInt theId) const =0 |
Get name of the mesh element by its order number. More... | |
TInt | GetElemNum (TInt theId) const |
Get a reference number of the mesh element by its order number. More... | |
TInt | GetFamNum (TInt theId) const |
Get number of a MED FAMILY by order number of the mesh element. More... | |
const PMeshInfo & | GetMeshInfo () const |
Get a reference to corresponding MED Mesh. More... | |
TInt | GetNbElem () const |
EBooleen | IsElemNames () const |
Let know if the mesh elements have names. More... | |
EBooleen | IsElemNum () const |
Let know if the mesh elements are indexed. More... | |
EBooleen | IsFamNum () const |
Let know if the mesh elements family are indexed. More... | |
virtual void | SetElemName (TInt theId, const std::string &theValue)=0 |
Set name of the mesh element by its order number. More... | |
void | SetElemNum (TInt theId, TInt theVal) |
Set a reference number for the mesh element by its order number. More... | |
void | SetFamNum (TInt theId, TInt theVal) |
Set number of a MED FAMILY for the mesh element with the order number. More... | |
Public Member Functions inherited from MED::TBase | |
virtual | ~TBase () |
Additional Inherited Members | |
Public Attributes inherited from MED::TElemInfo | |
PString | myElemNames |
Contains sequence of the names for the mesh elements. More... | |
PElemNum | myElemNum |
Contains sequence of the indexes for the mesh elements. More... | |
PElemNum | myFamNum |
Get number of mesh elements. More... | |
EBooleen | myIsElemNames |
Defines if the mesh elements are named. More... | |
EBooleen | myIsElemNum |
Defines if the mesh elements are indexed. More... | |
EBooleen | myIsFamNum |
Defines if the mesh elements family are indexed. More... | |
PMeshInfo | myMeshInfo |
A reference to corresponding MED Mesh. More... | |
TInt | myNbElem |
MED::TTElemInfo< eVersion >::TTElemInfo | ( | const PMeshInfo & | theMeshInfo, |
const PElemInfo & | theInfo | ||
) |
References MED::eFAUX, MED::eVRAI, MED::TElemInfo::myElemNames, MED::TElemInfo::myElemNum, MED::TElemInfo::myFamNum, MED::TElemInfo::myIsElemNames, MED::TElemInfo::myIsElemNum, MED::TElemInfo::myIsFamNum, MED::TElemInfo::myMeshInfo, MED::TElemInfo::myNbElem, MED::TTElemInfo< eVersion >::SetElemName(), MED::TElemInfo::SetElemNum(), and MED::TElemInfo::SetFamNum().
MED::TTElemInfo< eVersion >::TTElemInfo | ( | const PMeshInfo & | theMeshInfo, |
TInt | theNbElem, | ||
const TIntVector & | theFamilyNums, | ||
const TIntVector & | theElemNums, | ||
const TStringVector & | theElemNames | ||
) |
References MED::eFAUX, MED::eVRAI, MED::TElemInfo::myElemNames, MED::TElemInfo::myElemNum, MED::TElemInfo::myFamNum, MED::TElemInfo::myIsElemNames, MED::TElemInfo::myIsElemNum, MED::TElemInfo::myIsFamNum, MED::TElemInfo::myMeshInfo, MED::TElemInfo::myNbElem, and MED::TTElemInfo< eVersion >::SetElemName().
|
virtual |
Get name of the mesh element by its order number.
Implements MED::TElemInfo.
References MED::GetString(), and MED::TElemInfo::myElemNames.
|
virtual |
Set name of the mesh element by its order number.
Implements MED::TElemInfo.
References MED::TElemInfo::myElemNames, and MED::SetString().
Referenced by MED::TTElemInfo< eVersion >::TTElemInfo().