#include <MED_TStructures.hxx>
Public Types | |
typedef TTNameInfo< eVersion > | TNameInfoBase |
Public Member Functions | |
virtual std::string | GetCompName (TInt theId) const |
Get name of the component by its order number. More... | |
virtual std::string | GetUnitName (TInt theId) const |
Get unit of the component by its order number. More... | |
virtual void | SetCompName (TInt theId, const std::string &theValue) |
Set name for the component by its order number. More... | |
virtual void | SetUnitName (TInt theId, const std::string &theValue) |
Set unit for the component by its order number. More... | |
TTFieldInfo (const PMeshInfo &theMeshInfo, const PFieldInfo &theInfo) | |
TTFieldInfo (const PMeshInfo &theMeshInfo, TInt theNbComp, ETypeChamp theType, const std::string &theValue, EBooleen theIsLocal, TInt theNbRef) | |
Public Member Functions inherited from MED::TFieldInfo | |
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 PMeshInfo & | GetMeshInfo () 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... | |
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::TFieldInfo | |
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... | |
typedef TTNameInfo<eVersion> MED::TTFieldInfo< eVersion >::TNameInfoBase |
MED::TTFieldInfo< eVersion >::TTFieldInfo | ( | const PMeshInfo & | theMeshInfo, |
const PFieldInfo & | theInfo | ||
) |
MED::TTFieldInfo< eVersion >::TTFieldInfo | ( | const PMeshInfo & | theMeshInfo, |
TInt | theNbComp, | ||
ETypeChamp | theType, | ||
const std::string & | theValue, | ||
EBooleen | theIsLocal, | ||
TInt | theNbRef | ||
) |
|
virtual |
Get name of the component by its order number.
Implements MED::TFieldInfo.
References MED::GetString(), and MED::TFieldInfo::myCompNames.
|
virtual |
Get unit of the component by its order number.
Implements MED::TFieldInfo.
References MED::GetString(), and MED::TFieldInfo::myUnitNames.
|
virtual |
Set name for the component by its order number.
Implements MED::TFieldInfo.
References MED::TFieldInfo::myCompNames, and MED::SetString().
Referenced by MED::TTFieldInfo< eVersion >::TTFieldInfo().
|
virtual |
Set unit for the component by its order number.
Implements MED::TFieldInfo.
References MED::TFieldInfo::myUnitNames, and MED::SetString().
Referenced by MED::TTFieldInfo< eVersion >::TTFieldInfo().