Version: 9.12.0
MED::TTProfileInfo Struct Referenceabstract

#include <MED_TStructures.hxx>

Inheritance diagram for MED::TTProfileInfo:

Public Types

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

Public Member Functions

 TTProfileInfo (const TProfileInfo::TInfo &theInfo, EModeProfil theMode)
 
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...
 
virtual std::string GetName () const
 Gets its name. More...
 
virtual void SetName (const std::string &theValue)
 Set a new name. More...
 
virtual void SetName (const TString &theValue)
 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...
 

Member Typedef Documentation

◆ TInfo

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

◆ TKey

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

◆ TNameInfoBase

Constructor & Destructor Documentation

◆ TTProfileInfo()

MED::TTProfileInfo::TTProfileInfo ( const TProfileInfo::TInfo theInfo,
EModeProfil  theMode 
)

Member Function Documentation

◆ GetElemNum()

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

Get number of mesh elelemts by its order number.

◆ GetMode()

EModeProfil MED::TProfileInfo::GetMode ( ) const
inherited

Find out what mode of MED Profile is used.

◆ GetName() [1/2]

virtual std::string MED::TTNameInfo::GetName ( ) const
virtualinherited

Gets its name.

Implements MED::TNameInfo.

References MED::GetNOMLength(), MED::GetString(), and MED::TNameInfo::myName.

◆ GetName() [2/2]

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

Gets its name.

Implemented in MED::TTNameInfo.

◆ GetSize()

TInt MED::TProfileInfo::GetSize ( ) const
inherited

Find out size of the MED Profile.

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

◆ IsPresent()

bool MED::TProfileInfo::IsPresent ( ) const
inherited

Find out if the MED Profile defined.

References SMESH::GetName().

◆ SetElemNum()

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

Set number of mesh elelemts by its order number.

◆ SetMode()

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

Set mode for the MED Profile.

◆ SetName() [1/4]

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

Set a new name.

Implements MED::TNameInfo.

References MED::GetNOMLength(), MED::TNameInfo::myName, and MED::SetString().

Referenced by MED::TTNameInfo::TTNameInfo().

◆ SetName() [2/4]

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() [3/4]

virtual void MED::TTNameInfo::SetName ( const TString theValue)
virtualinherited

Set a new name.

Implements MED::TNameInfo.

References MED::GetNOMLength(), MED::TNameInfo::myName, and MED::SetString().

◆ SetName() [4/4]

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
inherited

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

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

◆ myMode

EModeProfil MED::TProfileInfo::myMode
inherited

Keeps mode for the MED Profile.

Referenced by TTProfileInfo().

◆ myName