MED::TFieldInfo Struct Referenceabstract

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

#include <MED_Structures.hxx>

Public Member Functions

virtual std::string GetCompName (TInt theId) const =0
 Get name of the component by its order number. More...
 
EBooleen GetIsLocal () const
 Let known is the MED FIELD is local or not. More...
 
const PMeshInfoGetMeshInfo () const
 Get a reference to corresponding MED Mesh. More...
 
TInt GetNbComp () const
 Get number of components for the MED FIELD. More...
 
TInt GetNbRef () const
 Let known number of references for the MED FIELD. More...
 
ETypeChamp GetType () const
 Let known what type of the MED FIELD is used. More...
 
virtual std::string GetUnitName (TInt theId) const =0
 Get unit 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 void SetUnitName (TInt theId, const std::string &theValue)=0
 Set unit for the component by its order number. More...
 
- Public Member Functions inherited from MED::TNameInfo
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 Attributes

TString myCompNames
 Contains names for each of MED Field components. More...
 
EBooleen myIsLocal
 Defines if the MED Field is local. More...
 
PMeshInfo myMeshInfo
 A reference to corresponding MED Mesh. More...
 
TInt myNbComp
 Defines number of components stored in the field. More...
 
TInt myNbRef
 Defines number of references of the field. More...
 
ETypeChamp myType
 Defines type of the MED Field. More...
 
TString myUnitNames
 Contains units for each of MED Field components. More...
 
- Public Attributes inherited from MED::TNameInfo
TString myName
 Keeps its name. More...
 

Detailed Description

Define a base class which represents MED Field entity.

Member Function Documentation

◆ GetCompName()

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

◆ GetIsLocal()

EBooleen MED::TFieldInfo::GetIsLocal ( ) const

Let known is the MED FIELD is local or not.

◆ GetMeshInfo()

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

Get a reference to corresponding MED Mesh.

◆ GetNbComp()

TInt MED::TFieldInfo::GetNbComp ( ) const

Get number of components for the MED FIELD.

◆ GetNbRef()

TInt MED::TFieldInfo::GetNbRef ( ) const

Let known number of references for the MED FIELD.

◆ GetType()

ETypeChamp MED::TFieldInfo::GetType ( ) const

Let known what type of the MED FIELD is used.

◆ GetUnitName()

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

◆ SetCompName()

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

◆ SetUnitName()

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

Member Data Documentation

◆ myCompNames

◆ myIsLocal

EBooleen MED::TFieldInfo::myIsLocal

◆ myMeshInfo

◆ myNbComp

TInt MED::TFieldInfo::myNbComp

◆ myNbRef

TInt MED::TFieldInfo::myNbRef

Defines number of references of the field.

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

◆ myType

◆ myUnitNames


The documentation for this struct was generated from the following file: