Version: 5.1.6

MED.TFamilyInfo Struct Reference

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

#include <MED_Structures.hxx>

Inheritance diagram for MED.TFamilyInfo:
Inheritance graph

Public Member Functions

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

Data Fields

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

Detailed Description

Define a base class which represents MED Family entity.


Member Function Documentation

const PMeshInfo& MED.TFamilyInfo.GetMeshInfo (  )  const

Get a reference to corresponding MED Mesh.

TInt MED.TFamilyInfo.GetId (  )  const

Gets number of the MED FAMILY.

void MED.TFamilyInfo.SetId ( TInt  theId  ) 
TInt MED.TFamilyInfo.GetNbGroup (  )  const

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

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< eVersion >.

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< eVersion >.

TInt MED.TFamilyInfo.GetNbAttr (  )  const

Gets number of attached attributes for the MED FAMILY.

TInt TFamilyInfo::GetAttrId ( TInt  theId  )  const

Get MED FAMILY attribute by its number.

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

Set MED FAMILY attribute by its number.

TInt TFamilyInfo::GetAttrVal ( TInt  theId  )  const

Get MED FAMILY attribute by its number.

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

Set MED FAMILY attribute by its number.

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< eVersion >.

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< eVersion >.


Field Documentation

A reference to correspondig MED Mesh.

An unique index of the MED FAMILY.

Define number of the MED FAMILY.

Defines number MED Groups connected to

Contains sequence of the names for the MED Groups connected to.

Defines number of the MED Family attributes.

Defines sequence of the indexes of the MED Family attributes.

Defines sequence of the values of the MED Family attributes.

Defines sequence of the names of the MED Family attributes.