Version: 8.3.0
MED::TFieldInfo Struct Referenceabstract

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

#include <MED_Structures.hxx>

Inheritance diagram for MED::TFieldInfo:

Public Member Functions

const PMeshInfoGetMeshInfo () const
 Get a reference to corresponding MED Mesh. More...
 
ETypeChamp GetType () const
 Find out what type of MED FIELD is used. More...
 
TInt GetNbComp () const
 Get number of components for MED FIELD. More...
 
EBooleen GetIsLocal () const
 Find out if MED FIELD is local or not. More...
 
TInt GetNbRef () const
 Find out number of references for the MED FIELD. More...
 
virtual std::string GetCompName (TInt theId) const =0
 Get name of the component by its order number. More...
 
virtual void SetCompName (TInt theId, const std::string &theValue)=0
 Set name for the component by its order number. More...
 
virtual std::string GetUnitName (TInt theId) const =0
 Get unit of the component by its order number. More...
 
virtual void SetUnitName (TInt theId, const std::string &theValue)=0
 Set unit for the component by its order 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...
 
ETypeChamp myType
 Defines type of MED Field. More...
 
TInt myNbComp
 Defines number of components stored in the field. More...
 
EBooleen myIsLocal
 Defines if the MED Field is local. More...
 
TInt myNbRef
 Defines number of references of the field. More...
 
TString myCompNames
 Contains names for each of MED Field components. More...
 
TString myUnitNames
 Contains units for each of MED Field components. More...
 
TString myName
 Keeps its name. More...
 

Detailed Description

Define a base class which represents MED Field entity.

Member Function Documentation

virtual std::string MED::TFieldInfo::GetCompName ( TInt  theId) const
pure virtual

Get name of the component by its order number.

Implemented in MED::TTFieldInfo< eVersion >.

EBooleen MED::TFieldInfo::GetIsLocal ( ) const

Find out if MED FIELD is local or not.

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

Get a reference to corresponding MED Mesh.

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

Gets its name.

Implemented in MED::TTNameInfo< eVersion >.

TInt MED::TFieldInfo::GetNbComp ( ) const

Get number of components for MED FIELD.

TInt MED::TFieldInfo::GetNbRef ( ) const

Find out number of references for the MED FIELD.

ETypeChamp MED::TFieldInfo::GetType ( ) const

Find out what type of MED FIELD is used.

virtual std::string MED::TFieldInfo::GetUnitName ( TInt  theId) const
pure virtual

Get unit of the component by its order number.

Implemented in MED::TTFieldInfo< eVersion >.

virtual void MED::TFieldInfo::SetCompName ( TInt  theId,
const std::string &  theValue 
)
pure virtual

Set name for the component by its order number.

Implemented in MED::TTFieldInfo< eVersion >.

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

virtual void MED::TFieldInfo::SetUnitName ( TInt  theId,
const std::string &  theValue 
)
pure virtual

Set unit for the component by its order number.

Implemented in MED::TTFieldInfo< eVersion >.

Field Documentation

EBooleen MED::TFieldInfo::myIsLocal
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::TFieldInfo::myNbComp
TInt MED::TFieldInfo::myNbRef

Defines number of references of the field.

Referenced by MED::V2_2::TVWrapper::GetTimeStampInfo(), and MED::TTFieldInfo< eVersion >::TTFieldInfo().