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

#include <MED_TStructures.hxx>

Inheritance diagram for MED::TTFieldInfo< eVersion >:

Public Types

typedef TTNameInfo< eVersion > TNameInfoBase
 

Public Member Functions

 TTFieldInfo (const PMeshInfo &theMeshInfo, const PFieldInfo &theInfo)
 
 TTFieldInfo (const PMeshInfo &theMeshInfo, TInt theNbComp, ETypeChamp theType, const std::string &theValue, EBooleen theIsLocal, TInt theNbRef)
 
virtual std::string GetCompName (TInt theId) const
 Get name 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 std::string GetUnitName (TInt theId) const
 Get unit of 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...
 
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 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 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...
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<EVersion eVersion>
MED::TTFieldInfo< eVersion >::TTFieldInfo ( const PMeshInfo theMeshInfo,
TInt  theNbComp,
ETypeChamp  theType,
const std::string &  theValue,
EBooleen  theIsLocal,
TInt  theNbRef 
)

Member Function Documentation

template<EVersion eVersion>
virtual std::string MED::TTFieldInfo< eVersion >::GetCompName ( TInt  theId) const
virtual

Get name of the component by its order number.

Implements MED::TFieldInfo.

References MED::GetString(), and MED::TFieldInfo::myCompNames.

EBooleen MED::TFieldInfo::GetIsLocal ( ) const
inherited

Find out if MED FIELD is local or not.

const PMeshInfo& MED::TFieldInfo::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::TFieldInfo::GetNbComp ( ) const
inherited

Get number of components for MED FIELD.

TInt MED::TFieldInfo::GetNbRef ( ) const
inherited

Find out number of references for the MED FIELD.

ETypeChamp MED::TFieldInfo::GetType ( ) const
inherited

Find out what type of MED FIELD is used.

template<EVersion eVersion>
virtual std::string MED::TTFieldInfo< eVersion >::GetUnitName ( TInt  theId) const
virtual

Get unit of the component by its order number.

Implements MED::TFieldInfo.

References MED::GetString(), and MED::TFieldInfo::myUnitNames.

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

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

Field Documentation

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

Defines number of references of the field.

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