Version: 9.12.0
MED::TFamilyInfo Struct Referenceabstract

Define a base class which represents MED Family entity. More...

#include <MED_Structures.hxx>

Inheritance diagram for MED::TFamilyInfo:

Public Member Functions

const PMeshInfoGetMeshInfo () const
 Get a reference to corresponding MED Mesh. More...
 
TInt GetId () const
 Gets number of the MED FAMILY. More...
 
void SetId (TInt theId)
 
TInt GetNbGroup () const
 Gets number of MED GROUPS the MED FAMILY is bound to. More...
 
virtual std::string GetGroupName (TInt theId) const =0
 Gets name of a bound MED GROUP by its number. More...
 
virtual void SetGroupName (TInt theId, const std::string &theValue)=0
 Sets name of the defined MED GROUP by its number. More...
 
TInt GetNbAttr () const
 Gets number of attached attributes for the MED FAMILY. More...
 
TInt GetAttrId (TInt theId) const
 Get MED FAMILY attribute by its number. More...
 
void SetAttrId (TInt theId, TInt theVal)
 Set MED FAMILY attribute by its number. More...
 
TInt GetAttrVal (TInt theId) const
 Get MED FAMILY attribute by its number. More...
 
void SetAttrVal (TInt theId, TInt theVal)
 Set MED FAMILY attribute by its number. More...
 
virtual std::string GetAttrDesc (TInt theId) const =0
 Get value of the MED FAMILY attribute by its number. More...
 
virtual void SetAttrDesc (TInt theId, const std::string &theValue)=0
 Set value of the MED FAMILY attribute by its number. 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

PMeshInfo myMeshInfo
 A reference to corresponding MED Mesh. More...
 
TInt myId
 An unique index of the MED FAMILY. More...
 
TInt myNbGroup
 Define number of the MED FAMILY. More...
 
TString myGroupNames
 Contains sequence of the names for the MED Groups connected to. More...
 
TInt myNbAttr
 Defines number of the MED Family attributes. More...
 
TFamAttr myAttrId
 Defines sequence of the indexes of the MED Family attributes. More...
 
TFamAttr myAttrVal
 Defines sequence of the values of the MED Family attributes. More...
 
TString myAttrDesc
 Defines sequence of the names of the MED Family attributes. More...
 
TString myName
 Keeps its name. More...
 

Detailed Description

Define a base class which represents MED Family entity.

Member Function Documentation

◆ GetAttrDesc()

virtual std::string MED::TFamilyInfo::GetAttrDesc ( TInt  theId) const
pure virtual

Get value of the MED FAMILY attribute by its number.

Implemented in MED::TTFamilyInfo.

◆ GetAttrId()

TInt MED::TFamilyInfo::GetAttrId ( TInt  theId) const

Get MED FAMILY attribute by its number.

◆ GetAttrVal()

TInt MED::TFamilyInfo::GetAttrVal ( TInt  theId) const

Get MED FAMILY attribute by its number.

◆ GetGroupName()

virtual std::string MED::TFamilyInfo::GetGroupName ( TInt  theId) const
pure virtual

Gets name of a bound MED GROUP by its number.

Implemented in MED::TTFamilyInfo.

◆ GetId()

TInt MED::TFamilyInfo::GetId ( ) const

Gets number of the MED FAMILY.

◆ GetMeshInfo()

const PMeshInfo& MED::TFamilyInfo::GetMeshInfo ( ) const

Get a reference to corresponding MED Mesh.

◆ GetName()

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

Gets its name.

Implemented in MED::TTNameInfo.

◆ GetNbAttr()

TInt MED::TFamilyInfo::GetNbAttr ( ) const

Gets number of attached attributes for the MED FAMILY.

◆ GetNbGroup()

TInt MED::TFamilyInfo::GetNbGroup ( ) const

Gets number of MED GROUPS the MED FAMILY is bound to.

◆ SetAttrDesc()

virtual void MED::TFamilyInfo::SetAttrDesc ( TInt  theId,
const std::string &  theValue 
)
pure virtual

Set value of the MED FAMILY attribute by its number.

Implemented in MED::TTFamilyInfo.

◆ SetAttrId()

void MED::TFamilyInfo::SetAttrId ( TInt  theId,
TInt  theVal 
)

Set MED FAMILY attribute by its number.

◆ SetAttrVal()

void MED::TFamilyInfo::SetAttrVal ( TInt  theId,
TInt  theVal 
)

Set MED FAMILY attribute by its number.

◆ SetGroupName()

virtual void MED::TFamilyInfo::SetGroupName ( TInt  theId,
const std::string &  theValue 
)
pure virtual

Sets name of the defined MED GROUP by its number.

Implemented in MED::TTFamilyInfo.

◆ SetId()

void MED::TFamilyInfo::SetId ( TInt  theId)

◆ 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

◆ myAttrDesc

TString MED::TFamilyInfo::myAttrDesc

◆ myAttrId

TFamAttr MED::TFamilyInfo::myAttrId

Defines sequence of the indexes of the MED Family attributes.

Referenced by MED::TWrapper::GetFamilyInfo(), MED::TWrapper::SetFamilyInfo(), and MED::TTFamilyInfo::TTFamilyInfo().

◆ myAttrVal

TFamAttr MED::TFamilyInfo::myAttrVal

Defines sequence of the values of the MED Family attributes.

Referenced by MED::TWrapper::GetFamilyInfo(), MED::TWrapper::SetFamilyInfo(), and MED::TTFamilyInfo::TTFamilyInfo().

◆ myGroupNames

TString MED::TFamilyInfo::myGroupNames

◆ myId

TInt MED::TFamilyInfo::myId

◆ myMeshInfo

PMeshInfo MED::TFamilyInfo::myMeshInfo

◆ myName

◆ myNbAttr

TInt MED::TFamilyInfo::myNbAttr

Defines number of the MED Family attributes.

Referenced by MED::TWrapper::GetFamilyInfo(), MED::TWrapper::SetFamilyInfo(), and MED::TTFamilyInfo::TTFamilyInfo().

◆ myNbGroup

TInt MED::TFamilyInfo::myNbGroup

Define number of the MED FAMILY.

Defines number MED Groups connected to

Referenced by MED::TWrapper::GetFamilyInfo(), MED::TWrapper::SetFamilyInfo(), and MED::TTFamilyInfo::TTFamilyInfo().