Version: 9.16.0
MED::TProfileInfo Struct Referenceabstract

The class represents MED Profile entity. More...

#include <MED_Structures.hxx>

Inheritance diagram for MED::TProfileInfo:

Public Types

typedef std::string TKey
 
typedef boost::tuple< TKey, TIntTInfo
 

Public Member Functions

EModeProfil GetMode () const
 Find out what mode of MED Profile is used. More...
 
void SetMode (EModeProfil theMode)
 Set mode for the MED Profile. More...
 
TInt GetElemNum (TInt theId) const
 Get number of mesh elelemts by its order number. More...
 
void SetElemNum (TInt theId, TInt theVal)
 Set number of mesh elelemts by its order number. More...
 
bool IsPresent () const
 Find out if the MED Profile defined. More...
 
TInt GetSize () const
 Find out size of the MED Profile. More...
 
virtual std::string GetName () const =0
 Gets its name. More...
 
virtual void SetName (const std::string &theValue)=0
 Set a new name. More...
 
virtual void SetName (const TString &theValue)=0
 Set a new name. More...
 

Data Fields

EModeProfil myMode
 Keeps mode for the MED Profile. More...
 
PElemNum myElemNum
 Keeps sequence of cell by its number which belong to the profile. More...
 
TString myName
 Keeps its name. More...
 

Detailed Description

The class represents MED Profile entity.

Member Typedef Documentation

◆ TInfo

typedef boost::tuple<TKey,TInt> MED::TProfileInfo::TInfo

◆ TKey

typedef std::string MED::TProfileInfo::TKey

Member Function Documentation

◆ GetElemNum()

TInt MED::TProfileInfo::GetElemNum ( TInt  theId) const

Get number of mesh elelemts by its order number.

References myElemNum.

◆ GetMode()

EModeProfil MED::TProfileInfo::GetMode ( ) const

Find out what mode of MED Profile is used.

◆ GetName()

virtual std::string MED::TNameInfo::GetName ( ) const
pure virtualinherited

Gets its name.

Implemented in MED::TTNameInfo.

◆ GetSize()

TInt MED::TProfileInfo::GetSize ( ) const

Find out size of the MED Profile.

Referenced by MED::TWrapper::SetProfileInfo().

◆ IsPresent()

bool MED::TProfileInfo::IsPresent ( ) const

Find out if the MED Profile defined.

References SMESH::GetName().

◆ SetElemNum()

void MED::TProfileInfo::SetElemNum ( TInt  theId,
TInt  theVal 
)

Set number of mesh elelemts by its order number.

◆ SetMode()

void MED::TProfileInfo::SetMode ( EModeProfil  theMode)

Set mode for the MED Profile.

◆ SetName() [1/2]

virtual void MED::TNameInfo::SetName ( const std::string &  theValue)
pure virtualinherited

Set a new name.

Implemented in MED::TTNameInfo.

Referenced by MED::TWrapper::GetFieldInfo().

◆ SetName() [2/2]

virtual void MED::TNameInfo::SetName ( const TString theValue)
pure virtualinherited

Set a new name.

Implemented in MED::TTNameInfo.

Field Documentation

◆ myElemNum

PElemNum MED::TProfileInfo::myElemNum

Keeps sequence of cell by its number which belong to the profile.

Referenced by GetElemNum(), MED::TWrapper::GetProfileInfo(), MED::TWrapper::SetProfileInfo(), and MED::TTProfileInfo::TTProfileInfo().

◆ myMode

EModeProfil MED::TProfileInfo::myMode

Keeps mode for the MED Profile.

Referenced by MED::TTProfileInfo::TTProfileInfo().

◆ myName