MED::TTElemInfo< eVersion > Struct Template Reference

#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 PMeshInfoGetMeshInfo () 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
 

Constructor & Destructor Documentation

◆ TTElemInfo() [1/3]

◆ TTElemInfo() [2/3]

◆ TTElemInfo() [3/3]

Member Function Documentation

◆ GetElemName()

template<EVersion eVersion>
virtual std::string MED::TTElemInfo< eVersion >::GetElemName ( TInt  theId) const
virtual

Get name of the mesh element by its order number.

Implements MED::TElemInfo.

References MED::GetString(), and MED::TElemInfo::myElemNames.

◆ SetElemName()

template<EVersion eVersion>
virtual void MED::TTElemInfo< eVersion >::SetElemName ( TInt  theId,
const std::string &  theValue 
)
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().


The documentation for this struct was generated from the following file: