#include <MED_TStructures.hxx>
Public Types | |
typedef TTNameInfo< eVersion > | TNameInfoBase |
Public Member Functions | |
virtual std::string | GetAttrDesc (TInt theId) const |
Get value of the MED FAMILY attribute by its number. More... | |
virtual std::string | GetGroupName (TInt theId) const |
Gets name of a bound MED GROUP by its number. More... | |
virtual void | SetAttrDesc (TInt theId, const std::string &theValue) |
Set value of the MED FAMILY attribute by its number. More... | |
virtual void | SetGroupName (TInt theId, const std::string &theValue) |
Sets name of the defined MED GROUP by its number. More... | |
TTFamilyInfo (const PMeshInfo &theMeshInfo, const PFamilyInfo &theInfo) | |
TTFamilyInfo (const PMeshInfo &theMeshInfo, const std::string &theValue, TInt theId, const TStringSet &theGroupNames, const TStringVector &theAttrDescs, const TIntVector &theAttrIds, const TIntVector &theAttrVals) | |
TTFamilyInfo (const PMeshInfo &theMeshInfo, TInt theNbGroup, TInt theNbAttr, TInt theId, const std::string &theValue) | |
Public Member Functions inherited from MED::TFamilyInfo | |
virtual std::string | GetAttrDesc (TInt theId) const =0 |
Get value of the MED FAMILY attribute by its number. More... | |
TInt | GetAttrId (TInt theId) const |
Get MED FAMILY attribute by its number. More... | |
TInt | GetAttrVal (TInt theId) const |
Get MED FAMILY attribute by its number. More... | |
virtual std::string | GetGroupName (TInt theId) const =0 |
Gets name of a bound MED GROUP by its number. More... | |
TInt | GetId () const |
Gets number of the MED FAMILY. More... | |
const PMeshInfo & | GetMeshInfo () const |
Get a reference to corresponding MED Mesh. More... | |
TInt | GetNbAttr () const |
Gets number of attached attributes for the MED FAMILY. More... | |
TInt | GetNbGroup () const |
Gets number of MED GROUPS the MED FAMILY is bound to. More... | |
virtual void | SetAttrDesc (TInt theId, const std::string &theValue)=0 |
Set value of the MED FAMILY attribute by its number. More... | |
void | SetAttrId (TInt theId, TInt theVal) |
Set MED FAMILY attribute by its number. More... | |
void | SetAttrVal (TInt theId, TInt theVal) |
Set MED FAMILY attribute 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... | |
void | SetId (TInt theId) |
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... | |
Public Member Functions inherited from MED::TBase | |
virtual | ~TBase () |
Public Member Functions inherited from MED::TTNameInfo< eVersion > | |
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... | |
TTNameInfo (const std::string &theValue) | |
Additional Inherited Members | |
Public Attributes inherited from MED::TFamilyInfo | |
TString | myAttrDesc |
Defines sequence of the names 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 | myGroupNames |
Contains sequence of the names for the MED Groups connected to. More... | |
TInt | myId |
An unique index of the MED FAMILY. More... | |
PMeshInfo | myMeshInfo |
A reference to corresponding MED Mesh. More... | |
TInt | myNbAttr |
Defines number of the MED Family attributes More... | |
TInt | myNbGroup |
Define number of the MED FAMILY. More... | |
Public Attributes inherited from MED::TNameInfo | |
TString | myName |
Keeps its name. More... | |
typedef TTNameInfo<eVersion> MED::TTFamilyInfo< eVersion >::TNameInfoBase |
MED::TTFamilyInfo< eVersion >::TTFamilyInfo | ( | const PMeshInfo & | theMeshInfo, |
const PFamilyInfo & | theInfo | ||
) |
References MED::TFamilyInfo::myAttrDesc, MED::TFamilyInfo::myAttrId, MED::TFamilyInfo::myAttrVal, MED::TFamilyInfo::myGroupNames, MED::TFamilyInfo::myId, MED::TFamilyInfo::myMeshInfo, MED::TFamilyInfo::myNbAttr, MED::TFamilyInfo::myNbGroup, MED::TTFamilyInfo< eVersion >::SetAttrDesc(), and MED::TTFamilyInfo< eVersion >::SetGroupName().
MED::TTFamilyInfo< eVersion >::TTFamilyInfo | ( | const PMeshInfo & | theMeshInfo, |
const std::string & | theValue, | ||
TInt | theId, | ||
const TStringSet & | theGroupNames, | ||
const TStringVector & | theAttrDescs, | ||
const TIntVector & | theAttrIds, | ||
const TIntVector & | theAttrVals | ||
) |
References MED::TFamilyInfo::myAttrDesc, MED::TFamilyInfo::myAttrId, MED::TFamilyInfo::myAttrVal, MED::TFamilyInfo::myGroupNames, MED::TFamilyInfo::myId, MED::TFamilyInfo::myMeshInfo, MED::TFamilyInfo::myNbAttr, MED::TFamilyInfo::myNbGroup, MED::TTFamilyInfo< eVersion >::SetAttrDesc(), and MED::TTFamilyInfo< eVersion >::SetGroupName().
|
virtual |
Get value of the MED FAMILY attribute by its number.
Implements MED::TFamilyInfo.
References MED::GetString(), and MED::TFamilyInfo::myAttrDesc.
|
virtual |
Gets name of a bound MED GROUP by its number.
Implements MED::TFamilyInfo.
References MED::GetString(), and MED::TFamilyInfo::myGroupNames.
|
virtual |
Set value of the MED FAMILY attribute by its number.
Implements MED::TFamilyInfo.
References MED::TFamilyInfo::myAttrDesc, and MED::SetString().
Referenced by MED::TTFamilyInfo< eVersion >::TTFamilyInfo().
|
virtual |
Sets name of the defined MED GROUP by its number.
Implements MED::TFamilyInfo.
References MED::TFamilyInfo::myGroupNames, and MED::SetString().
Referenced by MED::TTFamilyInfo< eVersion >::TTFamilyInfo().