Version: 8.3.0
MED::TTFamilyInfo< eVersion > Struct Template Referenceabstract

#include <MED_TStructures.hxx>

Inheritance diagram for MED::TTFamilyInfo< eVersion >:

Public Types

typedef TTNameInfo< eVersion > TNameInfoBase
 

Public Member Functions

 TTFamilyInfo (const PMeshInfo &theMeshInfo, const PFamilyInfo &theInfo)
 
 TTFamilyInfo (const PMeshInfo &theMeshInfo, TInt theNbGroup, TInt theNbAttr, TInt theId, const std::string &theValue)
 
 TTFamilyInfo (const PMeshInfo &theMeshInfo, const std::string &theValue, TInt theId, const TStringSet &theGroupNames, const TStringVector &theAttrDescs, const TIntVector &theAttrIds, const TIntVector &theAttrVals)
 
virtual std::string GetGroupName (TInt theId) const
 Gets name of a bound MED GROUP by its number. More...
 
virtual void SetGroupName (TInt theId, const std::string &theValue)
 Sets name of the defined MED GROUP by its number. More...
 
virtual std::string GetAttrDesc (TInt theId) const
 Get value of the MED FAMILY attribute by its number. More...
 
virtual void SetAttrDesc (TInt theId, const std::string &theValue)
 Set value of the MED FAMILY attribute by its number. More...
 
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...
 
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 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

PMeshInfo myMeshInfo
 A reference to correspondig 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...
 

Member Typedef Documentation

template<EVersion eVersion>
typedef TTNameInfo<eVersion> MED::TTFamilyInfo< eVersion >::TNameInfoBase

Constructor & Destructor Documentation

Member Function Documentation

template<EVersion eVersion>
virtual std::string MED::TTFamilyInfo< eVersion >::GetAttrDesc ( TInt  theId) const
virtual

Get value of the MED FAMILY attribute by its number.

Implements MED::TFamilyInfo.

References MED::GetString(), and MED::TFamilyInfo::myAttrDesc.

TInt TFamilyInfo::GetAttrId ( TInt  theId) const
inherited

Get MED FAMILY attribute by its number.

TInt TFamilyInfo::GetAttrVal ( TInt  theId) const
inherited

Get MED FAMILY attribute by its number.

template<EVersion eVersion>
virtual std::string MED::TTFamilyInfo< eVersion >::GetGroupName ( TInt  theId) const
virtual

Gets name of a bound MED GROUP by its number.

Implements MED::TFamilyInfo.

References MED::GetString(), and MED::TFamilyInfo::myGroupNames.

TInt MED::TFamilyInfo::GetId ( ) const
inherited

Gets number of the MED FAMILY.

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

Get a reference to corresponding MED Mesh.

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

Gets its name.

Implemented in MED::TTNameInfo< eVersion >.

template<EVersion eVersion>
virtual std::string MED::TTNameInfo< eVersion >::GetName ( ) const
virtualinherited

Gets its name.

Implements MED::TNameInfo.

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

TInt MED::TFamilyInfo::GetNbAttr ( ) const
inherited

Gets number of attached attributes for the MED FAMILY.

TInt MED::TFamilyInfo::GetNbGroup ( ) const
inherited

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

template<EVersion eVersion>
virtual void MED::TTFamilyInfo< eVersion >::SetAttrDesc ( TInt  theId,
const std::string &  theValue 
)
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().

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

Set MED FAMILY attribute by its number.

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

Set MED FAMILY attribute by its number.

template<EVersion eVersion>
virtual void MED::TTFamilyInfo< eVersion >::SetGroupName ( TInt  theId,
const std::string &  theValue 
)
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().

void MED::TFamilyInfo::SetId ( TInt  theId)
inherited
virtual void MED::TNameInfo::SetName ( const std::string &  theValue)
pure virtualinherited

Set a new name.

Implemented in MED::TTNameInfo< eVersion >.

Referenced by MED::V2_2::TVWrapper::GetFieldInfo().

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

Set a new name.

Implemented in MED::TTNameInfo< eVersion >.

template<EVersion eVersion>
virtual void MED::TTNameInfo< eVersion >::SetName ( const std::string &  theValue)
virtualinherited

Set a new name.

Implements MED::TNameInfo.

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

Referenced by MED::TTNameInfo< eVersion >::TTNameInfo().

template<EVersion eVersion>
virtual void MED::TTNameInfo< eVersion >::SetName ( const TString theValue)
virtualinherited

Set a new name.

Implements MED::TNameInfo.

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

Field Documentation

TFamAttr MED::TFamilyInfo::myAttrId
inherited

Defines sequence of the indexes of the MED Family attributes.

Referenced by MED::V2_2::TVWrapper::GetFamilyInfo(), MED::V2_2::TVWrapper::SetFamilyInfo(), and MED::TTFamilyInfo< eVersion >::TTFamilyInfo().

TFamAttr MED::TFamilyInfo::myAttrVal
inherited

Defines sequence of the values of the MED Family attributes.

Referenced by MED::V2_2::TVWrapper::GetFamilyInfo(), MED::V2_2::TVWrapper::SetFamilyInfo(), and MED::TTFamilyInfo< eVersion >::TTFamilyInfo().

TInt MED::TFamilyInfo::myId
inherited
PMeshInfo MED::TFamilyInfo::myMeshInfo
inherited
TString MED::TNameInfo::myName
inherited

Keeps its name.

Referenced by MED::V2_2::TVWrapper::GetCellInfo(), MED::V2_2::TVWrapper::GetEntityInfo(), MED::V2_2::TVWrapper::GetFamilies(), MED::V2_2::TVWrapper::GetFamilyInfo(), MED::V2_2::TVWrapper::GetFieldInfo(), MED::V2_2::TVWrapper::GetGaussInfo(), MED::V2_2::TVWrapper::GetGrilleInfo(), MED::V2_2::TVWrapper::GetGrilleStruct(), MED::V2_2::TVWrapper::GetGrilleType(), MED::V2_2::TVWrapper::GetMeshInfo(), MED::TTNameInfo< eVersion >::GetName(), MED::V2_2::TVWrapper::GetNames(), MED::V2_2::TVWrapper::GetNbCells(), MED::V2_2::TVWrapper::GetNbFamAttr(), MED::V2_2::TVWrapper::GetNbFamGroup(), MED::V2_2::TVWrapper::GetNbFamilies(), MED::V2_2::TVWrapper::GetNbNodes(), MED::V2_2::TVWrapper::GetNbTimeStamps(), MED::V2_2::TVWrapper::GetNodeInfo(), MED::V2_2::TVWrapper::GetNumeration(), MED::V2_2::TVWrapper::GetPolyedreConnSize(), MED::V2_2::TVWrapper::GetPolyedreInfo(), MED::V2_2::TVWrapper::GetPolygoneConnSize(), MED::V2_2::TVWrapper::GetPolygoneInfo(), MED::V2_2::TVWrapper::GetProfileInfo(), MED::V2_2::TVWrapper::GetTimeStampInfo(), MED::V2_2::TVWrapper::SetCellInfo(), MED::V2_2::TVWrapper::SetFamilies(), MED::V2_2::TVWrapper::SetFamilyInfo(), MED::V2_2::TVWrapper::SetFieldInfo(), MED::V2_2::TVWrapper::SetGrilleInfo(), MED::V2_2::TVWrapper::SetMeshInfo(), MED::TTNameInfo< eVersion >::SetName(), MED::V2_2::TVWrapper::SetNames(), MED::V2_2::TVWrapper::SetNodeInfo(), MED::V2_2::TVWrapper::SetNumeration(), MED::V2_2::TVWrapper::SetPolyedreInfo(), MED::V2_2::TVWrapper::SetPolygoneInfo(), MED::V2_2::TVWrapper::SetProfileInfo(), and MED::TTNameInfo< eVersion >::TTNameInfo().

TInt MED::TFamilyInfo::myNbAttr
inherited
TInt MED::TFamilyInfo::myNbGroup
inherited

Define number of the MED FAMILY.

Defines number MED Groups connected to

Referenced by MED::V2_2::TVWrapper::GetFamilyInfo(), MED::V2_2::TVWrapper::SetFamilyInfo(), and MED::TTFamilyInfo< eVersion >::TTFamilyInfo().