Version: 9.16.0
MED::TWrapper Class Reference

Class that wraps the MED API. More...

#include <MED_Wrapper.hxx>

Public Member Functions

 TWrapper (const std::string &theFileName, bool write, TFileInternal *tfileInst=nullptr, TInt theMajor=-1, TInt theVersion=-1)
 
virtual ~TWrapper ()
 
virtual TInt GetNbMeshes (TErr *theErr=NULL)
 Read number of MED Mesh entities in the MED file. More...
 
virtual void GetMeshInfo (TInt theMeshId, TMeshInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Mesh representation by its number. More...
 
virtual void SetMeshInfo (const TMeshInfo &theInfo, TErr *theErr=NULL)
 Write the MEDWrapper MED Mesh representation into the MED file. More...
 
void SetMeshInfo (const MED::TMeshInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual PMeshInfo CrMeshInfo (TInt theDim=0, TInt theSpaceDim=0, const std::string &theValue="", EMaillage theType=eNON_STRUCTURE, const std::string &theDesc="")
 Create a MEDWrapper MED Mesh representation. More...
 
virtual PMeshInfo CrMeshInfo (const PMeshInfo &theInfo)
 Copy constructor for the MEDWrapper MED Mesh representation. More...
 
virtual PMeshInfo GetPMeshInfo (TInt theId, TErr *theErr=NULL)
 Get a MEDWrapper MED Mesh representation by its number. More...
 
virtual TInt GetNbFamilies (const TMeshInfo &theMeshInfo, TErr *theErr=NULL)
 Read number of MED Family entities in the MED file. More...
 
virtual TInt GetNbFamAttr (TInt theFamId, const TMeshInfo &theInfo, TErr *theErr=NULL)
 Read number of attributes for MED Family. More...
 
virtual TInt GetNbFamGroup (TInt theFamId, const TMeshInfo &theInfo, TErr *theErr=NULL)
 Read number of MED Groups to which the MED Family belongs to. More...
 
virtual void GetFamilyInfo (TInt theFamId, TFamilyInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Family representation by its number. More...
 
virtual void SetFamilyInfo (const TFamilyInfo &theInfo, TErr *theErr=NULL)
 Write a MEDWrapper MED Family representation into the MED file. More...
 
void SetFamilyInfo (const MED::TFamilyInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual PFamilyInfo CrFamilyInfo (const PMeshInfo &theMeshInfo, TInt theNbGroup=0, TInt theNbAttr=0, TInt theId=0, const std::string &theValue="")
 Create a MEDWrapper MED Family representation. More...
 
virtual PFamilyInfo CrFamilyInfo (const PMeshInfo &theMeshInfo, const std::string &theValue, TInt theId, const TStringSet &theGroupNames, const TStringVector &theAttrDescs=TStringVector(), const TIntVector &theAttrIds=TIntVector(), const TIntVector &theAttrVals=TIntVector())
 Create a MEDWrapper MED Family representation. More...
 
virtual PFamilyInfo CrFamilyInfo (const PMeshInfo &theMeshInfo, const PFamilyInfo &theInfo)
 Copy constructor for the MEDWrapper MED Family representation. More...
 
PFamilyInfo GetPFamilyInfo (const PMeshInfo &theMeshInfo, TInt theId, TErr *theErr=NULL)
 Get a MEDWrapper MED Family representation by its number. More...
 
virtual void GetNames (TElemInfo &theInfo, TInt theNb, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Read sequence of names for any descendant of TElemInfo. More...
 
virtual void SetNames (const TElemInfo &theInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Write sequence of names for any descendant of TElemInfo. More...
 
void SetNames (const TElemInfo &theInfo, EModeAcces theMode, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 
virtual void GetNumeration (TElemInfo &theInfo, TInt theNb, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Read sequence of numerated data for any descendant of TElemInfo. More...
 
virtual void SetNumeration (const TElemInfo &theInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Write sequence of numerated data for any descendant of TElemInfo. More...
 
void SetNumeration (const TElemInfo &theInfo, EModeAcces theMode, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 
virtual void GetFamilies (TElemInfo &theInfo, TInt theNb, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Read sequence of MED Families' indices for any descendant of TElemInfo. More...
 
virtual void SetFamilies (const TElemInfo &theInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Write sequence of MED Families' indices for any descendant of TElemInfo. More...
 
void SetFamilies (const TElemInfo &theInfo, EModeAcces theMode, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 
virtual TInt GetNbNodes (const TMeshInfo &theMeshInfo, TErr *theErr=NULL)
 Read number of nodes in MED Mesh. More...
 
virtual TInt GetNbNodes (const TMeshInfo &theMeshInfo, ETable theTable, TErr *theErr=NULL)
 
virtual void GetNodeInfo (TNodeInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Nodes representation from the MED file. More...
 
virtual void SetNodeInfo (const TNodeInfo &theInfo, TErr *theErr=NULL)
 Write the MEDWrapper MED Nodes representation into the MED file. More...
 
void SetNodeInfo (const MED::TNodeInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual PNodeInfo CrNodeInfo (const PMeshInfo &theMeshInfo, TInt theNbElem, EModeSwitch theMode=eFULL_INTERLACE, ERepere theSystem=eCART, EBooleen theIsElemNum=eVRAI, EBooleen theIsElemNames=eFAUX)
 Create a MEDWrapper MED Nodes representation. More...
 
virtual PNodeInfo CrNodeInfo (const PMeshInfo &theMeshInfo, const TFloatVector &theNodeCoords, EModeSwitch theMode=eFULL_INTERLACE, ERepere theSystem=eCART, const TStringVector &theCoordNames=TStringVector(), const TStringVector &theCoordUnits=TStringVector(), const TIntVector &theFamilyNums=TIntVector(), const TIntVector &theElemNums=TIntVector(), const TStringVector &theElemNames=TStringVector())
 Create a MEDWrapper MED Nodes representation. More...
 
virtual PNodeInfo CrNodeInfo (const PMeshInfo &theMeshInfo, const PNodeInfo &theInfo)
 Copy constructor for the MEDWrapper MED Nodes representation. More...
 
PNodeInfo GetPNodeInfo (const PMeshInfo &theMeshInfo, TErr *theErr=NULL)
 Get a MEDWrapper MED Nodes representation from the MED file. More...
 
virtual PElemInfo CrElemInfo (const PMeshInfo &theMeshInfo, TInt theNbElem, EBooleen theIsElemNum=eVRAI, EBooleen theIsElemNames=eVRAI)
 Create a MEDWrapper MED Elements representation. More...
 
virtual PElemInfo CrElemInfo (const PMeshInfo &theMeshInfo, TInt theNbElem, const TIntVector &theFamNum, const TIntVector &aElemNum, const TStringVector &aElemNames)
 Create a MEDWrapper MED Elements representation. More...
 
PElemInfo GetPElemInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity=eNOEUD, EGeometrieElement theGeom=ePOINT1, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Get a MEDWrapper MED Element representation from the MED file. More...
 
virtual TInt GetNbPolygones (const TMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Read number of MED Polygones in MED Mesh. More...
 
virtual TInt GetPolygoneConnSize (const TMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Read connectivity information for the MED Polygones in defined MED Mesh. More...
 
virtual void GetPolygoneInfo (TPolygoneInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Polygones representation from the MED file. More...
 
virtual void SetPolygoneInfo (const TPolygoneInfo &theInfo, TErr *theErr=NULL)
 Write a MEDWrapper MED Polygones representation into the MED file. More...
 
void SetPolygoneInfo (const MED::TPolygoneInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual PPolygoneInfo CrPolygoneInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TInt theNbElem, TInt theConnSize, EConnectivite theConnMode=eNOD, EBooleen theIsElemNum=eVRAI, EBooleen theIsElemNames=eVRAI)
 Create a MEDWrapper MED Polygones representation. More...
 
virtual PPolygoneInfo CrPolygoneInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, const TIntVector &theIndexes, const TIntVector &theConnectivities, EConnectivite theConnMode=eNOD, const TIntVector &theFamilyNums=TIntVector(), const TIntVector &theElemNums=TIntVector(), const TStringVector &theElemNames=TStringVector())
 Create a MEDWrapper MED Polygones representation. More...
 
virtual PPolygoneInfo CrPolygoneInfo (const PMeshInfo &theMeshInfo, const PPolygoneInfo &theInfo)
 Copy constructor for the MEDWrapper MED Polygones representation. More...
 
PPolygoneInfo GetPPolygoneInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD)
 Get a MEDWrapper MED Polygones representation from the MED file. More...
 
virtual TInt GetNbPolyedres (const TMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Read number of MED Polyedres in MED Mesh. More...
 
virtual void GetPolyedreConnSize (const TMeshInfo &theMeshInfo, TInt &theNbFaces, TInt &theConnSize, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Read connectivity information for the MED Polyedres in MED Mesh. More...
 
virtual void GetPolyedreInfo (TPolyedreInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Polyedres representation from the MED file. More...
 
virtual void SetPolyedreInfo (const TPolyedreInfo &theInfo, TErr *theErr=NULL)
 Write a MEDWrapper MED Polyedres representation into the MED file. More...
 
void SetPolyedreInfo (const MED::TPolyedreInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual PPolyedreInfo CrPolyedreInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TInt theNbElem, TInt theNbFaces, TInt theConnSize, EConnectivite theConnMode=eNOD, EBooleen theIsElemNum=eVRAI, EBooleen theIsElemNames=eVRAI)
 Create a MEDWrapper MED Polyedres representation. More...
 
virtual PPolyedreInfo CrPolyedreInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, const TIntVector &theIndexes, const TIntVector &theFaces, const TIntVector &theConnectivities, EConnectivite theConnMode=eNOD, const TIntVector &theFamilyNums=TIntVector(), const TIntVector &theElemNums=TIntVector(), const TStringVector &theElemNames=TStringVector())
 Create a MEDWrapper MED Polyedres representation. More...
 
virtual PPolyedreInfo CrPolyedreInfo (const PMeshInfo &theMeshInfo, const PPolyedreInfo &theInfo)
 Copy constructor for the MEDWrapper MED Polyedres representation. More...
 
PPolyedreInfo GetPPolyedreInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD)
 Get a MEDWrapper MED Polyedres representation from the MED file. More...
 
virtual TEntityInfo GetEntityInfo (const TMeshInfo &theMeshInfo, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Get TEntityInfo which contains brief information about existing cells. More...
 
virtual TInt GetNbCells (const TMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Read number of cells for defined MED Mesh, ENTITY and geometrical type with given connectivity mode. More...
 
virtual void GetCellInfo (TCellInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Cells representation from the MED file. More...
 
virtual void SetCellInfo (const TCellInfo &theInfo, TErr *theErr=NULL)
 Write the MEDWrapper MED Cells representation into the MED file. More...
 
void SetCellInfo (const MED::TCellInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual PCellInfo CrCellInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TInt theNbElem, EConnectivite theConnMode=eNOD, EBooleen theIsElemNum=eVRAI, EBooleen theIsElemNames=eFAUX, EModeSwitch theMode=eFULL_INTERLACE)
 Create a MEDWrapper MED Cells representation. More...
 
virtual PCellInfo CrCellInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, const TIntVector &theConnectivities, EConnectivite theConnMode=eNOD, const TIntVector &theFamilyNums=TIntVector(), const TIntVector &theElemNums=TIntVector(), const TStringVector &theElemNames=TStringVector(), EModeSwitch theMode=eFULL_INTERLACE)
 Create a MEDWrapper MED Cells representation. More...
 
virtual PCellInfo CrCellInfo (const PMeshInfo &theMeshInfo, const PCellInfo &theInfo)
 Copy constructor for the MEDWrapper MED Cells representation. More...
 
PCellInfo GetPCellInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Get a MEDWrapper MED Cells representation from the MED file. More...
 
EGeometrieElement GetBallGeom (const TMeshInfo &theMeshInfo)
 Read geom type of MED_BALL structural element. More...
 
virtual TInt GetNbBalls (const TMeshInfo &theMeshInfo)
 Read number of balls in the Mesh. More...
 
virtual void GetBallInfo (TBallInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper representation of MED_BALL from the MED file. More...
 
virtual void SetBallInfo (const TBallInfo &theInfo, TErr *theErr=NULL)
 Write a MEDWrapper representation of MED_BALL into the MED file. More...
 
void SetBallInfo (const TBallInfo &theInfo, EModeAcces theMode, TErr *theErr)
 
virtual PBallInfo CrBallInfo (const PMeshInfo &theMeshInfo, TInt theNbBalls, EBooleen theIsElemNum=eVRAI)
 Create a MEDWrapper MED Balls representation. More...
 
virtual PBallInfo CrBallInfo (const PMeshInfo &theMeshInfo, const TIntVector &theNodes, TFloatVector &theDiameters, const TIntVector &theFamilyNums=TIntVector(), const TIntVector &theElemNums=TIntVector())
 Create a MEDWrapper MED Balls representation. More...
 
virtual PBallInfo CrBallInfo (const PMeshInfo &theMeshInfo, const PBallInfo &theInfo)
 Copy constructor for the MEDWrapper MED Balls representation. More...
 
virtual PBallInfo GetPBallInfo (const PMeshInfo &theMeshInfo)
 Get a MEDWrapper MED Balls representation from the MED file. More...
 
virtual TInt GetNbFields (TErr *theErr=NULL)
 Read number of MED FIELDS in the MED Mesh. More...
 
virtual TInt GetNbComp (TInt theFieldId, TErr *theErr=NULL)
 Read number of components for the MED FIELD by its order number. More...
 
virtual void GetFieldInfo (TInt theFieldId, TFieldInfo &theInfo, TErr *theErr=NULL)
 Read MEDWrapper MED FIELD representation from the MED file by its order number. More...
 
virtual void SetFieldInfo (const TFieldInfo &theInfo, TErr *theErr=NULL)
 Write MEDWrapper MED FIELD representation into the MED file. More...
 
void SetFieldInfo (const MED::TFieldInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual PFieldInfo CrFieldInfo (const PMeshInfo &theMeshInfo, TInt theNbComp=0, ETypeChamp theType=eFLOAT64, const std::string &theValue="", EBooleen theIsLocal=eVRAI, TInt theNbRef=1)
 Create a MEDWrapper MED FIELD representation. More...
 
virtual PFieldInfo CrFieldInfo (const PMeshInfo &theMeshInfo, const PFieldInfo &theInfo)
 Copy constructor for the MEDWrapper MED FIELD representation. More...
 
PFieldInfo GetPFieldInfo (const PMeshInfo &theMeshInfo, TInt theId, TErr *theErr=NULL)
 Get a MEDWrapper MED FIELD representation from the MED file. More...
 
virtual TInt GetNbGauss (TErr *theErr=NULL)
 Read number of MED GAUSS in the MED Mesh. More...
 
virtual TGaussInfo::TInfo GetGaussPreInfo (TInt theId, TErr *theErr=NULL)
 Read brief MED GAUSS information by its order number from the MED file. More...
 
virtual void GetGaussInfo (TInt theId, TGaussInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED GAUSS representation by its order number from the MED file. More...
 
virtual PGaussInfo CrGaussInfo (const TGaussInfo::TInfo &theInfo, EModeSwitch theMode=eFULL_INTERLACE)
 Create a MEDWrapper MED GAUSS representation. More...
 
virtual TInt GetNbTimeStamps (const TFieldInfo &theInfo, const TEntityInfo &theEntityInfo, EEntiteMaillage &theEntity, TGeom2Size &theGeom2Size, TErr *theErr=NULL)
 Read number of MED TIMESTAMPS in the MED Mesh. More...
 
virtual void GetTimeStampInfo (TInt theTimeStampId, TTimeStampInfo &theInfo, TErr *theErr=NULL)
 Read MEDWrapper MED TIMESTAMP representation by its order number from the MED file. More...
 
virtual PTimeStampInfo CrTimeStampInfo (const PFieldInfo &theFieldInfo, EEntiteMaillage theEntity, const TGeom2Size &theGeom2Size, const TGeom2NbGauss &theGeom2NbGauss=TGeom2NbGauss(), TInt theNumDt=0, TInt theNumOrd=0, TFloat theDt=0, const std::string &theUnitDt="", const TGeom2Gauss &theGeom2Gauss=TGeom2Gauss())
 Create a MEDWrapper MED TIMESTAMP representation. More...
 
virtual PTimeStampInfo CrTimeStampInfo (const PFieldInfo &theFieldInfo, const PTimeStampInfo &theInfo)
 Copy constructor for the MEDWrapper MED TIMESTAMP representation. More...
 
PTimeStampInfo GetPTimeStampInfo (const PFieldInfo &theFieldInfo, EEntiteMaillage theEntity, const TGeom2Size &theGeom2Size, TInt theId, TErr *theErr=NULL)
 Get MEDWrapper MED TIMESTAMP representation from the MED file. More...
 
virtual TInt GetNbProfiles (TErr *theErr=NULL)
 Read number of MED PROFILES in the MED file. More...
 
virtual TProfileInfo::TInfo GetProfilePreInfo (TInt theId, TErr *theErr=NULL)
 Read brief MED PROFILE information by its order number from the MED file. More...
 
virtual void GetProfileInfo (TInt theId, TProfileInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED PROFILE representation by its order number from the MED file. More...
 
virtual void SetProfileInfo (const TProfileInfo &theInfo, TErr *theErr=NULL)
 Write a MEDWrapper MED PROFILE representation into the MED file. More...
 
void SetProfileInfo (const TProfileInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual PProfileInfo CrProfileInfo (const TProfileInfo::TInfo &theInfo, EModeProfil theMode=eCOMPACT)
 Create a MEDWrapper MED PROFILE representation. More...
 
PProfileInfo GetPProfileInfo (TInt theId, EModeProfil theMode=eCOMPACT, TErr *theErr=NULL)
 Get a MEDWrapper MED PROFILE representation from the MED file. More...
 
virtual void GetTimeStampValue (const PTimeStampValueBase &theTimeStampValue, const TMKey2Profile &theMKey2Profile, const TKey2Gauss &theKey2Gauss, TErr *theErr=NULL)
 Read the values for MEDWrapper MED TIMESTAMP from the MED file. More...
 
virtual void SetTimeStampValue (const PTimeStampValueBase &theTimeStampValue, TErr *theErr=NULL)
 Write the values for MEDWrapper MED TIMESTAMP into the MED file. More...
 
void SetTimeStampValue (const PTimeStampValueBase &theTimeStampValue, EModeAcces theMode, TErr *theErr=NULL)
 
virtual PTimeStampValueBase CrTimeStampValue (const PTimeStampInfo &theTimeStampInfo, ETypeChamp theTypeChamp, const TGeom2Profile &theGeom2Profile=TGeom2Profile(), EModeSwitch theMode=eFULL_INTERLACE)
 Create the values for MEDWrapper MED TIMESTAMP representation. More...
 
virtual PTimeStampValueBase CrTimeStampValue (const PTimeStampInfo &theTimeStampInfo, const TGeom2Profile &theGeom2Profile=TGeom2Profile(), EModeSwitch theMode=eFULL_INTERLACE)
 Create the values for MEDWrapper MED TIMESTAMP representation. More...
 
virtual PTimeStampValueBase CrTimeStampValue (const PTimeStampInfo &theTimeStampInfo, const PTimeStampValueBase &theInfo, ETypeChamp theTypeChamp)
 Copy constructor for the values for MEDWrapper MED TIMESTAMP representation. More...
 
virtual PTimeStampValueBase CrTimeStampValue (const PTimeStampInfo &theTimeStampInfo, const PTimeStampValueBase &theInfo)
 Copy constructor for the values for MEDWrapper MED TIMESTAMP representation. More...
 
PTimeStampValueBase GetPTimeStampValue (const PTimeStampInfo &theTimeStampInfo, const TMKey2Profile &theMKey2Profile, const TKey2Gauss &theKey2Gauss, TErr *theErr=NULL)
 Get the values for MEDWrapper MED TIMESTAMP from the MED file. More...
 
virtual void GetTimeStampVal (const PTimeStampVal &theVal, const TMKey2Profile &theMKey2Profile, const TKey2Gauss &theKey2Gauss, TErr *theErr=NULL)
 Read the values for MEDWrapper MED TIMESTAMP from the MED file. More...
 
virtual void SetTimeStamp (const PTimeStampVal &theVal, TErr *theErr=NULL)
 Write the values for MEDWrapper MED TIMESTAMP into the MED file. More...
 
virtual PTimeStampVal CrTimeStampVal (const PTimeStampInfo &theTimeStampInfo, const TGeom2Profile &theGeom2Profile=TGeom2Profile(), EModeSwitch theMode=eFULL_INTERLACE)
 Create the values for MEDWrapper MED TIMESTAMP representation. More...
 
virtual PTimeStampVal CrTimeStampVal (const PTimeStampInfo &theTimeStampInfo, const PTimeStampVal &theInfo)
 Copy constructor for the values for MEDWrapper MED TIMESTAMP representation. More...
 
PTimeStampVal GetPTimeStampVal (const PTimeStampInfo &theTimeStampInfo, const TMKey2Profile &theMKey2Profile, const TKey2Gauss &theKey2Gauss, TErr *theErr=NULL)
 Get the values for MEDWrapper MED TIMESTAMP from the MED file. More...
 
PGrilleInfo GetPGrilleInfo (const PMeshInfo &theMeshInfo)
 Read a MEDWrapper MED Grille representation from the MED file. More...
 
PGrilleInfo GetPGrilleInfo (const PMeshInfo &theMeshInfo, const PGrilleInfo &theInfo)
 Read a MEDWrapper MED Grille representation from the MED file. More...
 
virtual void GetGrilleInfo (TGrilleInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Grille representation from the MED file. More...
 
virtual void SetGrilleInfo (const TGrilleInfo &theInfo, TErr *theErr=NULL)
 Write the MEDWrapper MED Grille representation into the MED file. More...
 
void SetGrilleInfo (const MED::TGrilleInfo &theGrilleInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual PGrilleInfo CrGrilleInfo (const PMeshInfo &theMeshInfo, const PGrilleInfo &theGrilleInfo)
 Create the MEDWrapper MED Grille representation. More...
 
virtual PGrilleInfo CrGrilleInfo (const PMeshInfo &theMeshInfo)
 Create the MEDWrapper MED Grille representation. More...
 
virtual PGrilleInfo CrGrilleInfo (const PMeshInfo &theMeshInfo, const EGrilleType &type)
 Create the MEDWrapper MED Grille representation. More...
 
virtual PGrilleInfo CrGrilleInfo (const PMeshInfo &theMeshInfo, const EGrilleType &type, const TInt &nbNodes)
 Create the MEDWrapper MED Grille representation. More...
 
virtual PGrilleInfo CrGrilleInfo (const PMeshInfo &theMeshInfo, const EGrilleType &type, const MED::TIntVector &nbNodeVec)
 Create the MEDWrapper MED Grille representation. More...
 
virtual void GetGrilleType (const TMeshInfo &theMeshInfo, EGrilleType &type, TErr *theErr=NULL)
 Get a MEDWrapper MED Grille type. More...
 
void GetGrilleStruct (const MED::TMeshInfo &theMeshInfo, TIntVector &theStruct, TErr *theErr=NULL)
 Get a MEDWrapper MED Grille structure. More...
 

Protected Attributes

PFileInternal myFile
 
TInt myMajor
 
TInt myMinor
 

Private Types

typedef boost::mutex TMutex
 

Private Member Functions

 TWrapper ()
 
 TWrapper (const TWrapper &)
 
TWrapperoperator= (const TWrapper &)
 

Private Attributes

TMutex myMutex
 Synchronization primitive that allows supporting thread safety for the MED access. More...
 

Friends

class TLockProxy
 

Detailed Description

Class that wraps the MED API.

Member Typedef Documentation

◆ TMutex

typedef boost::mutex MED::TWrapper::TMutex
private

Constructor & Destructor Documentation

◆ TWrapper() [1/3]

MED::TWrapper::TWrapper ( )
private

◆ TWrapper() [2/3]

MED::TWrapper::TWrapper ( const TWrapper )
private

◆ TWrapper() [3/3]

MED::TWrapper::TWrapper ( const std::string &  theFileName,
bool  write,
TFileInternal tfileInst = nullptr,
TInt  theMajor = -1,
TInt  theVersion = -1 
)

◆ ~TWrapper()

MED::TWrapper::~TWrapper ( )
virtual

Member Function Documentation

◆ CrBallInfo() [1/3]

PBallInfo MED::TWrapper::CrBallInfo ( const PMeshInfo theMeshInfo,
const PBallInfo theInfo 
)
virtual

Copy constructor for the MEDWrapper MED Balls representation.

This feature is supported since version 3.0

◆ CrBallInfo() [2/3]

PBallInfo MED::TWrapper::CrBallInfo ( const PMeshInfo theMeshInfo,
const TIntVector theNodes,
TFloatVector theDiameters,
const TIntVector theFamilyNums = TIntVector(),
const TIntVector theElemNums = TIntVector() 
)
virtual

Create a MEDWrapper MED Balls representation.

This feature is supported since version 3.0

◆ CrBallInfo() [3/3]

PBallInfo MED::TWrapper::CrBallInfo ( const PMeshInfo theMeshInfo,
TInt  theNbBalls,
EBooleen  theIsElemNum = eVRAI 
)
virtual

Create a MEDWrapper MED Balls representation.

This feature is supported since version 3.0

Referenced by GetPBallInfo().

◆ CrCellInfo() [1/3]

PCellInfo MED::TWrapper::CrCellInfo ( const PMeshInfo theMeshInfo,
const PCellInfo theInfo 
)
virtual

Copy constructor for the MEDWrapper MED Cells representation.

◆ CrCellInfo() [2/3]

PCellInfo MED::TWrapper::CrCellInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
const TIntVector theConnectivities,
EConnectivite  theConnMode = eNOD,
const TIntVector theFamilyNums = TIntVector(),
const TIntVector theElemNums = TIntVector(),
const TStringVector theElemNames = TStringVector(),
EModeSwitch  theMode = eFULL_INTERLACE 
)
virtual

Create a MEDWrapper MED Cells representation.

◆ CrCellInfo() [3/3]

PCellInfo MED::TWrapper::CrCellInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TInt  theNbElem,
EConnectivite  theConnMode = eNOD,
EBooleen  theIsElemNum = eVRAI,
EBooleen  theIsElemNames = eFAUX,
EModeSwitch  theMode = eFULL_INTERLACE 
)
virtual

Create a MEDWrapper MED Cells representation.

Referenced by GetPCellInfo().

◆ CrElemInfo() [1/2]

PElemInfo MED::TWrapper::CrElemInfo ( const PMeshInfo theMeshInfo,
TInt  theNbElem,
const TIntVector theFamNum,
const TIntVector aElemNum,
const TStringVector aElemNames 
)
virtual

Create a MEDWrapper MED Elements representation.

◆ CrElemInfo() [2/2]

PElemInfo MED::TWrapper::CrElemInfo ( const PMeshInfo theMeshInfo,
TInt  theNbElem,
EBooleen  theIsElemNum = eVRAI,
EBooleen  theIsElemNames = eVRAI 
)
virtual

Create a MEDWrapper MED Elements representation.

Referenced by GetPElemInfo().

◆ CrFamilyInfo() [1/3]

PFamilyInfo MED::TWrapper::CrFamilyInfo ( const PMeshInfo theMeshInfo,
const PFamilyInfo theInfo 
)
virtual

Copy constructor for the MEDWrapper MED Family representation.

◆ CrFamilyInfo() [2/3]

PFamilyInfo MED::TWrapper::CrFamilyInfo ( const PMeshInfo theMeshInfo,
const std::string &  theValue,
TInt  theId,
const TStringSet theGroupNames,
const TStringVector theAttrDescs = TStringVector(),
const TIntVector theAttrIds = TIntVector(),
const TIntVector theAttrVals = TIntVector() 
)
virtual

Create a MEDWrapper MED Family representation.

◆ CrFamilyInfo() [3/3]

PFamilyInfo MED::TWrapper::CrFamilyInfo ( const PMeshInfo theMeshInfo,
TInt  theNbGroup = 0,
TInt  theNbAttr = 0,
TInt  theId = 0,
const std::string &  theValue = "" 
)
virtual

Create a MEDWrapper MED Family representation.

Referenced by GetPFamilyInfo().

◆ CrFieldInfo() [1/2]

PFieldInfo MED::TWrapper::CrFieldInfo ( const PMeshInfo theMeshInfo,
const PFieldInfo theInfo 
)
virtual

Copy constructor for the MEDWrapper MED FIELD representation.

◆ CrFieldInfo() [2/2]

PFieldInfo MED::TWrapper::CrFieldInfo ( const PMeshInfo theMeshInfo,
TInt  theNbComp = 0,
ETypeChamp  theType = eFLOAT64,
const std::string &  theValue = "",
EBooleen  theIsLocal = eVRAI,
TInt  theNbRef = 1 
)
virtual

Create a MEDWrapper MED FIELD representation.

Referenced by GetPFieldInfo().

◆ CrGaussInfo()

PGaussInfo MED::TWrapper::CrGaussInfo ( const TGaussInfo::TInfo theInfo,
EModeSwitch  theMode = eFULL_INTERLACE 
)
virtual

Create a MEDWrapper MED GAUSS representation.

◆ CrGrilleInfo() [1/5]

PGrilleInfo MED::TWrapper::CrGrilleInfo ( const PMeshInfo theMeshInfo)
virtual

Create the MEDWrapper MED Grille representation.

◆ CrGrilleInfo() [2/5]

PGrilleInfo MED::TWrapper::CrGrilleInfo ( const PMeshInfo theMeshInfo,
const EGrilleType type 
)
virtual

Create the MEDWrapper MED Grille representation.

◆ CrGrilleInfo() [3/5]

PGrilleInfo MED::TWrapper::CrGrilleInfo ( const PMeshInfo theMeshInfo,
const EGrilleType type,
const MED::TIntVector nbNodeVec 
)
virtual

Create the MEDWrapper MED Grille representation.

◆ CrGrilleInfo() [4/5]

PGrilleInfo MED::TWrapper::CrGrilleInfo ( const PMeshInfo theMeshInfo,
const EGrilleType type,
const TInt nbNodes 
)
virtual

Create the MEDWrapper MED Grille representation.

◆ CrGrilleInfo() [5/5]

PGrilleInfo MED::TWrapper::CrGrilleInfo ( const PMeshInfo theMeshInfo,
const PGrilleInfo theGrilleInfo 
)
virtual

Create the MEDWrapper MED Grille representation.

Referenced by GetPGrilleInfo().

◆ CrMeshInfo() [1/2]

PMeshInfo MED::TWrapper::CrMeshInfo ( const PMeshInfo theInfo)
virtual

Copy constructor for the MEDWrapper MED Mesh representation.

◆ CrMeshInfo() [2/2]

PMeshInfo MED::TWrapper::CrMeshInfo ( TInt  theDim = 0,
TInt  theSpaceDim = 0,
const std::string &  theValue = "",
EMaillage  theType = eNON_STRUCTURE,
const std::string &  theDesc = "" 
)
virtual

Create a MEDWrapper MED Mesh representation.

Referenced by GetPMeshInfo().

◆ CrNodeInfo() [1/3]

PNodeInfo MED::TWrapper::CrNodeInfo ( const PMeshInfo theMeshInfo,
const PNodeInfo theInfo 
)
virtual

Copy constructor for the MEDWrapper MED Nodes representation.

◆ CrNodeInfo() [2/3]

PNodeInfo MED::TWrapper::CrNodeInfo ( const PMeshInfo theMeshInfo,
const TFloatVector theNodeCoords,
EModeSwitch  theMode = eFULL_INTERLACE,
ERepere  theSystem = eCART,
const TStringVector theCoordNames = TStringVector(),
const TStringVector theCoordUnits = TStringVector(),
const TIntVector theFamilyNums = TIntVector(),
const TIntVector theElemNums = TIntVector(),
const TStringVector theElemNames = TStringVector() 
)
virtual

Create a MEDWrapper MED Nodes representation.

◆ CrNodeInfo() [3/3]

PNodeInfo MED::TWrapper::CrNodeInfo ( const PMeshInfo theMeshInfo,
TInt  theNbElem,
EModeSwitch  theMode = eFULL_INTERLACE,
ERepere  theSystem = eCART,
EBooleen  theIsElemNum = eVRAI,
EBooleen  theIsElemNames = eFAUX 
)
virtual

Create a MEDWrapper MED Nodes representation.

Referenced by GetPNodeInfo().

◆ CrPolyedreInfo() [1/3]

PPolyedreInfo MED::TWrapper::CrPolyedreInfo ( const PMeshInfo theMeshInfo,
const PPolyedreInfo theInfo 
)
virtual

Copy constructor for the MEDWrapper MED Polyedres representation.

◆ CrPolyedreInfo() [2/3]

PPolyedreInfo MED::TWrapper::CrPolyedreInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
const TIntVector theIndexes,
const TIntVector theFaces,
const TIntVector theConnectivities,
EConnectivite  theConnMode = eNOD,
const TIntVector theFamilyNums = TIntVector(),
const TIntVector theElemNums = TIntVector(),
const TStringVector theElemNames = TStringVector() 
)
virtual

Create a MEDWrapper MED Polyedres representation.

◆ CrPolyedreInfo() [3/3]

PPolyedreInfo MED::TWrapper::CrPolyedreInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TInt  theNbElem,
TInt  theNbFaces,
TInt  theConnSize,
EConnectivite  theConnMode = eNOD,
EBooleen  theIsElemNum = eVRAI,
EBooleen  theIsElemNames = eVRAI 
)
virtual

Create a MEDWrapper MED Polyedres representation.

Referenced by GetPPolyedreInfo().

◆ CrPolygoneInfo() [1/3]

PPolygoneInfo MED::TWrapper::CrPolygoneInfo ( const PMeshInfo theMeshInfo,
const PPolygoneInfo theInfo 
)
virtual

Copy constructor for the MEDWrapper MED Polygones representation.

◆ CrPolygoneInfo() [2/3]

PPolygoneInfo MED::TWrapper::CrPolygoneInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
const TIntVector theIndexes,
const TIntVector theConnectivities,
EConnectivite  theConnMode = eNOD,
const TIntVector theFamilyNums = TIntVector(),
const TIntVector theElemNums = TIntVector(),
const TStringVector theElemNames = TStringVector() 
)
virtual

Create a MEDWrapper MED Polygones representation.

◆ CrPolygoneInfo() [3/3]

PPolygoneInfo MED::TWrapper::CrPolygoneInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TInt  theNbElem,
TInt  theConnSize,
EConnectivite  theConnMode = eNOD,
EBooleen  theIsElemNum = eVRAI,
EBooleen  theIsElemNames = eVRAI 
)
virtual

Create a MEDWrapper MED Polygones representation.

Referenced by GetPPolygoneInfo().

◆ CrProfileInfo()

PProfileInfo MED::TWrapper::CrProfileInfo ( const TProfileInfo::TInfo theInfo,
EModeProfil  theMode = eCOMPACT 
)
virtual

Create a MEDWrapper MED PROFILE representation.

Referenced by GetPProfileInfo().

◆ CrTimeStampInfo() [1/2]

PTimeStampInfo MED::TWrapper::CrTimeStampInfo ( const PFieldInfo theFieldInfo,
const PTimeStampInfo theInfo 
)
virtual

Copy constructor for the MEDWrapper MED TIMESTAMP representation.

◆ CrTimeStampInfo() [2/2]

PTimeStampInfo MED::TWrapper::CrTimeStampInfo ( const PFieldInfo theFieldInfo,
EEntiteMaillage  theEntity,
const TGeom2Size theGeom2Size,
const TGeom2NbGauss theGeom2NbGauss = TGeom2NbGauss(),
TInt  theNumDt = 0,
TInt  theNumOrd = 0,
TFloat  theDt = 0,
const std::string &  theUnitDt = "",
const TGeom2Gauss theGeom2Gauss = TGeom2Gauss() 
)
virtual

Create a MEDWrapper MED TIMESTAMP representation.

Referenced by GetPTimeStampInfo().

◆ CrTimeStampVal() [1/2]

PTimeStampVal MED::TWrapper::CrTimeStampVal ( const PTimeStampInfo theTimeStampInfo,
const PTimeStampVal theInfo 
)
virtual

Copy constructor for the values for MEDWrapper MED TIMESTAMP representation.

References CrTimeStampValue(), and MED::eFLOAT64.

◆ CrTimeStampVal() [2/2]

PTimeStampVal MED::TWrapper::CrTimeStampVal ( const PTimeStampInfo theTimeStampInfo,
const TGeom2Profile theGeom2Profile = TGeom2Profile(),
EModeSwitch  theMode = eFULL_INTERLACE 
)
virtual

Create the values for MEDWrapper MED TIMESTAMP representation.

References CrTimeStampValue(), and MED::eFLOAT64.

Referenced by GetPTimeStampVal().

◆ CrTimeStampValue() [1/4]

PTimeStampValueBase MED::TWrapper::CrTimeStampValue ( const PTimeStampInfo theTimeStampInfo,
const PTimeStampValueBase theInfo 
)
virtual

Copy constructor for the values for MEDWrapper MED TIMESTAMP representation.

References CrTimeStampValue().

◆ CrTimeStampValue() [2/4]

PTimeStampValueBase MED::TWrapper::CrTimeStampValue ( const PTimeStampInfo theTimeStampInfo,
const PTimeStampValueBase theInfo,
ETypeChamp  theTypeChamp 
)
virtual

Copy constructor for the values for MEDWrapper MED TIMESTAMP representation.

References MED::eFLOAT64.

◆ CrTimeStampValue() [3/4]

PTimeStampValueBase MED::TWrapper::CrTimeStampValue ( const PTimeStampInfo theTimeStampInfo,
const TGeom2Profile theGeom2Profile = TGeom2Profile(),
EModeSwitch  theMode = eFULL_INTERLACE 
)
virtual

Create the values for MEDWrapper MED TIMESTAMP representation.

References CrTimeStampValue().

◆ CrTimeStampValue() [4/4]

PTimeStampValueBase MED::TWrapper::CrTimeStampValue ( const PTimeStampInfo theTimeStampInfo,
ETypeChamp  theTypeChamp,
const TGeom2Profile theGeom2Profile = TGeom2Profile(),
EModeSwitch  theMode = eFULL_INTERLACE 
)
virtual

Create the values for MEDWrapper MED TIMESTAMP representation.

References MED::eFLOAT64.

Referenced by CrTimeStampVal(), CrTimeStampValue(), GetPTimeStampValue(), GetTimeStampVal(), and SetTimeStamp().

◆ GetBallGeom()

EGeometrieElement MED::TWrapper::GetBallGeom ( const TMeshInfo theMeshInfo)

Read geom type of MED_BALL structural element.

References MED::eLECTURE, myFile, and myMinor.

Referenced by GetBallInfo(), GetFamilies(), GetNames(), GetNbBalls(), GetNumeration(), SetBallInfo(), SetFamilies(), SetNames(), and SetNumeration().

◆ GetBallInfo()

void MED::TWrapper::GetBallInfo ( TBallInfo theInfo,
TErr theErr = NULL 
)
virtual

Read a MEDWrapper representation of MED_BALL from the MED file.

This feature is supported since version 3.0

References MED::eBALL, MED::eLECTURE, EXCEPTION, GetBallGeom(), GetCellInfo(), MED::TBallInfo::myDiameters, myFile, MED::TCellInfo::myGeom, MED::TElemInfo::myMeshInfo, and myMinor.

Referenced by GetPBallInfo().

◆ GetCellInfo()

◆ GetEntityInfo()

◆ GetFamilies()

void MED::TWrapper::GetFamilies ( TElemInfo theInfo,
TInt  theNb,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)
virtual

◆ GetFamilyInfo()

◆ GetFieldInfo()

void MED::TWrapper::GetFieldInfo ( TInt  theFieldId,
MED::TFieldInfo theInfo,
TErr theErr = NULL 
)
virtual

◆ GetGaussInfo()

void MED::TWrapper::GetGaussInfo ( TInt  theId,
TGaussInfo theInfo,
TErr theErr = NULL 
)
virtual

◆ GetGaussPreInfo()

TGaussInfo::TInfo MED::TWrapper::GetGaussPreInfo ( TInt  theId,
TErr theErr = NULL 
)
virtual

Read brief MED GAUSS information by its order number from the MED file.

References MED::eLECTURE, MED::ePOINT1, EXCEPTION, MED::GetNOMLength(), myFile, and myMinor.

◆ GetGrilleInfo()

◆ GetGrilleStruct()

void MED::TWrapper::GetGrilleStruct ( const MED::TMeshInfo theMeshInfo,
TIntVector theStruct,
TErr theErr = NULL 
)

Get a MEDWrapper MED Grille structure.

References MED::eLECTURE, EXCEPTION, myFile, myMinor, and MED::TNameInfo::myName.

Referenced by GetEntityInfo(), and GetGrilleInfo().

◆ GetGrilleType()

void MED::TWrapper::GetGrilleType ( const TMeshInfo theMeshInfo,
EGrilleType type,
TErr theErr = NULL 
)
virtual

◆ GetMeshInfo()

void MED::TWrapper::GetMeshInfo ( TInt  theMeshId,
MED::TMeshInfo theInfo,
TErr theErr = NULL 
)
virtual

◆ GetNames()

void MED::TWrapper::GetNames ( TElemInfo theInfo,
TInt  theNb,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)
virtual

◆ GetNbBalls()

TInt MED::TWrapper::GetNbBalls ( const TMeshInfo theMeshInfo)
virtual

Read number of balls in the Mesh.

This feature is supported since version 3.0

References MED::eLECTURE, MED::eNOD, MED::eSTRUCT_ELEMENT, GetBallGeom(), GetNbCells(), myFile, and myMinor.

Referenced by GetNbCells(), and GetPBallInfo().

◆ GetNbCells()

TInt MED::TWrapper::GetNbCells ( const TMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
EConnectivite  theConnMode = eNOD,
TErr theErr = NULL 
)
virtual

Read number of cells for defined MED Mesh, ENTITY and geometrical type with given connectivity mode.

References MED::eBALL, MED::eLECTURE, MED::ePOLYEDRE, MED::ePOLYGON2, MED::ePOLYGONE, GetNbBalls(), myFile, myMinor, and MED::TNameInfo::myName.

Referenced by GetEntityInfo(), GetNbBalls(), GetNbPolyedres(), GetNbPolygones(), and GetPCellInfo().

◆ GetNbComp()

TInt MED::TWrapper::GetNbComp ( TInt  theFieldId,
TErr theErr = NULL 
)
virtual

Read number of components for the MED FIELD by its order number.

References MED::eLECTURE, myFile, and myMinor.

Referenced by GetPFieldInfo().

◆ GetNbFamAttr()

TInt MED::TWrapper::GetNbFamAttr ( TInt  theFamId,
const TMeshInfo theInfo,
TErr theErr = NULL 
)
virtual

Read number of attributes for MED Family.

References MED::eLECTURE, myFile, myMinor, and MED::TNameInfo::myName.

Referenced by GetPFamilyInfo().

◆ GetNbFamGroup()

TInt MED::TWrapper::GetNbFamGroup ( TInt  theFamId,
const TMeshInfo theInfo,
TErr theErr = NULL 
)
virtual

Read number of MED Groups to which the MED Family belongs to.

References MED::eLECTURE, myFile, myMinor, and MED::TNameInfo::myName.

Referenced by GetPFamilyInfo().

◆ GetNbFamilies()

TInt MED::TWrapper::GetNbFamilies ( const TMeshInfo theMeshInfo,
TErr theErr = NULL 
)
virtual

Read number of MED Family entities in the MED file.

References MED::eLECTURE, myFile, myMinor, and MED::TNameInfo::myName.

◆ GetNbFields()

TInt MED::TWrapper::GetNbFields ( TErr theErr = NULL)
virtual

Read number of MED FIELDS in the MED Mesh.

References MED::eLECTURE, myFile, and myMinor.

◆ GetNbGauss()

TInt MED::TWrapper::GetNbGauss ( TErr theErr = NULL)
virtual

Read number of MED GAUSS in the MED Mesh.

References MED::eLECTURE, myFile, and myMinor.

◆ GetNbMeshes()

TInt MED::TWrapper::GetNbMeshes ( TErr theErr = NULL)
virtual

Read number of MED Mesh entities in the MED file.

References MED::eLECTURE, myFile, and myMinor.

Referenced by GetNbTimeStamps().

◆ GetNbNodes() [1/2]

TInt MED::TWrapper::GetNbNodes ( const TMeshInfo theMeshInfo,
ETable  theTable,
TErr theErr = NULL 
)
virtual

◆ GetNbNodes() [2/2]

TInt MED::TWrapper::GetNbNodes ( const TMeshInfo theMeshInfo,
TErr theErr = NULL 
)
virtual

Read number of nodes in MED Mesh.

References MED::eCOOR, and GetNbNodes().

Referenced by GetEntityInfo(), GetGrilleInfo(), GetNbNodes(), GetPGrilleInfo(), and GetPNodeInfo().

◆ GetNbPolyedres()

TInt MED::TWrapper::GetNbPolyedres ( const TMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
EConnectivite  theConnMode = eNOD,
TErr theErr = NULL 
)
virtual

Read number of MED Polyedres in MED Mesh.

References GetNbCells().

Referenced by GetPPolyedreInfo().

◆ GetNbPolygones()

TInt MED::TWrapper::GetNbPolygones ( const TMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
EConnectivite  theConnMode = eNOD,
TErr theErr = NULL 
)
virtual

Read number of MED Polygones in MED Mesh.

References GetNbCells().

Referenced by GetPPolygoneInfo().

◆ GetNbProfiles()

TInt MED::TWrapper::GetNbProfiles ( TErr theErr = NULL)
virtual

Read number of MED PROFILES in the MED file.

References MED::eLECTURE, myFile, and myMinor.

◆ GetNbTimeStamps()

TInt MED::TWrapper::GetNbTimeStamps ( const TFieldInfo theInfo,
const TEntityInfo theEntityInfo,
EEntiteMaillage theEntity,
TGeom2Size theGeom2Size,
TErr theErr = NULL 
)
virtual

Read number of MED TIMESTAMPS in the MED Mesh.

In addition, the following information can be obtained:

  • what MED ENTITY the MED TIMESTAMP is connected to;
  • what geometrical types the MED TIMESTAMP is defined on.

References MED::eLECTURE, MED::eMAILLE, MED::eNOEUD_ELEMENT, EXCEPTION, GetNbMeshes(), INITMSG, myFile, MED::TFieldInfo::myMeshInfo, myMinor, and MED::TNameInfo::myName.

◆ GetNodeInfo()

◆ GetNumeration()

void MED::TWrapper::GetNumeration ( TElemInfo theInfo,
TInt  theNb,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)
virtual

◆ GetPBallInfo()

PBallInfo MED::TWrapper::GetPBallInfo ( const PMeshInfo theMeshInfo)
virtual

Get a MEDWrapper MED Balls representation from the MED file.

This feature is supported since version 3.0

References CrBallInfo(), GetBallInfo(), and GetNbBalls().

◆ GetPCellInfo()

PCellInfo MED::TWrapper::GetPCellInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
EConnectivite  theConnMode = eNOD,
TErr theErr = NULL 
)

Get a MEDWrapper MED Cells representation from the MED file.

References ADDMSG, BEGMSG, CrCellInfo(), MED::eNON_STRUCTURE, GetCellInfo(), GetNbCells(), and INITMSG.

Referenced by GetPElemInfo().

◆ GetPElemInfo()

PElemInfo MED::TWrapper::GetPElemInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity = eNOEUD,
EGeometrieElement  theGeom = ePOINT1,
EConnectivite  theConnMode = eNOD,
TErr theErr = NULL 
)

◆ GetPFamilyInfo()

PFamilyInfo MED::TWrapper::GetPFamilyInfo ( const PMeshInfo theMeshInfo,
TInt  theId,
TErr theErr = NULL 
)

Get a MEDWrapper MED Family representation by its number.

References CrFamilyInfo(), GetFamilyInfo(), GetNbFamAttr(), GetNbFamGroup(), and INITMSG.

◆ GetPFieldInfo()

PFieldInfo MED::TWrapper::GetPFieldInfo ( const PMeshInfo theMeshInfo,
TInt  theId,
TErr theErr = NULL 
)

Get a MEDWrapper MED FIELD representation from the MED file.

References CrFieldInfo(), GetFieldInfo(), GetNbComp(), and INITMSG.

◆ GetPGrilleInfo() [1/2]

PGrilleInfo MED::TWrapper::GetPGrilleInfo ( const PMeshInfo theMeshInfo)

◆ GetPGrilleInfo() [2/2]

PGrilleInfo MED::TWrapper::GetPGrilleInfo ( const PMeshInfo theMeshInfo,
const PGrilleInfo theInfo 
)

Read a MEDWrapper MED Grille representation from the MED file.

References CrGrilleInfo().

◆ GetPMeshInfo()

PMeshInfo MED::TWrapper::GetPMeshInfo ( TInt  theId,
TErr theErr = NULL 
)
virtual

Get a MEDWrapper MED Mesh representation by its number.

References CrMeshInfo(), and GetMeshInfo().

◆ GetPNodeInfo()

PNodeInfo MED::TWrapper::GetPNodeInfo ( const PMeshInfo theMeshInfo,
TErr theErr = NULL 
)

Get a MEDWrapper MED Nodes representation from the MED file.

References ADDMSG, BEGMSG, CrNodeInfo(), GetNbNodes(), GetNodeInfo(), and INITMSG.

Referenced by GetPElemInfo().

◆ GetPolyedreConnSize()

void MED::TWrapper::GetPolyedreConnSize ( const TMeshInfo theMeshInfo,
TInt theNbFaces,
TInt theConnSize,
EConnectivite  theConnMode = eNOD,
TErr theErr = NULL 
)
virtual

Read connectivity information for the MED Polyedres in MED Mesh.

References MED::eLECTURE, EXCEPTION, myFile, myMinor, and MED::TNameInfo::myName.

Referenced by GetPPolyedreInfo().

◆ GetPolyedreInfo()

◆ GetPolygoneConnSize()

TInt MED::TWrapper::GetPolygoneConnSize ( const TMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
EConnectivite  theConnMode = eNOD,
TErr theErr = NULL 
)
virtual

Read connectivity information for the MED Polygones in defined MED Mesh.

References MED::eLECTURE, EXCEPTION, myFile, myMinor, and MED::TNameInfo::myName.

Referenced by GetPPolygoneInfo().

◆ GetPolygoneInfo()

◆ GetPPolyedreInfo()

PPolyedreInfo MED::TWrapper::GetPPolyedreInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
EConnectivite  theConnMode = eNOD 
)

Get a MEDWrapper MED Polyedres representation from the MED file.

References ADDMSG, CrPolyedreInfo(), MED::eNON_STRUCTURE, GetNbPolyedres(), GetPolyedreConnSize(), GetPolyedreInfo(), INITMSG, and MED::TCSlice< TValueType >::size().

Referenced by GetPElemInfo().

◆ GetPPolygoneInfo()

PPolygoneInfo MED::TWrapper::GetPPolygoneInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
EConnectivite  theConnMode = eNOD 
)

Get a MEDWrapper MED Polygones representation from the MED file.

References ADDMSG, CrPolygoneInfo(), MED::eNON_STRUCTURE, GetNbPolygones(), GetPolygoneConnSize(), GetPolygoneInfo(), INITMSG, and MED::TCSlice< TValueType >::size().

Referenced by GetPElemInfo().

◆ GetPProfileInfo()

PProfileInfo MED::TWrapper::GetPProfileInfo ( TInt  theId,
EModeProfil  theMode = eCOMPACT,
TErr theErr = NULL 
)

Get a MEDWrapper MED PROFILE representation from the MED file.

References CrProfileInfo(), GetProfileInfo(), and GetProfilePreInfo().

◆ GetProfileInfo()

void MED::TWrapper::GetProfileInfo ( TInt  theId,
TProfileInfo theInfo,
TErr theErr = NULL 
)
virtual

Read a MEDWrapper MED PROFILE representation by its order number from the MED file.

References MED::eLECTURE, EXCEPTION, MED::TProfileInfo::myElemNum, myFile, myMinor, and MED::TNameInfo::myName.

Referenced by GetPProfileInfo().

◆ GetProfilePreInfo()

TProfileInfo::TInfo MED::TWrapper::GetProfilePreInfo ( TInt  theId,
TErr theErr = NULL 
)
virtual

Read brief MED PROFILE information by its order number from the MED file.

References MED::eLECTURE, EXCEPTION, MED::GetNOMLength(), myFile, and myMinor.

Referenced by GetPProfileInfo().

◆ GetPTimeStampInfo()

PTimeStampInfo MED::TWrapper::GetPTimeStampInfo ( const PFieldInfo theFieldInfo,
EEntiteMaillage  theEntity,
const TGeom2Size theGeom2Size,
TInt  theId,
TErr theErr = NULL 
)

Get MEDWrapper MED TIMESTAMP representation from the MED file.

References CrTimeStampInfo(), GetTimeStampInfo(), and INITMSG.

◆ GetPTimeStampVal()

PTimeStampVal MED::TWrapper::GetPTimeStampVal ( const PTimeStampInfo theTimeStampInfo,
const TMKey2Profile theMKey2Profile,
const TKey2Gauss theKey2Gauss,
TErr theErr = NULL 
)

Get the values for MEDWrapper MED TIMESTAMP from the MED file.

References CrTimeStampVal(), and GetTimeStampVal().

◆ GetPTimeStampValue()

PTimeStampValueBase MED::TWrapper::GetPTimeStampValue ( const PTimeStampInfo theTimeStampInfo,
const TMKey2Profile theMKey2Profile,
const TKey2Gauss theKey2Gauss,
TErr theErr = NULL 
)

Get the values for MEDWrapper MED TIMESTAMP from the MED file.

References CrTimeStampValue(), MED::eFLOAT64, and GetTimeStampValue().

◆ GetTimeStampInfo()

◆ GetTimeStampVal()

void MED::TWrapper::GetTimeStampVal ( const PTimeStampVal theVal,
const TMKey2Profile theMKey2Profile,
const TKey2Gauss theKey2Gauss,
TErr theErr = NULL 
)
virtual

Read the values for MEDWrapper MED TIMESTAMP from the MED file.

References MED::CopyTimeStampValueBase(), CrTimeStampValue(), MED::eFLOAT64, MED::eINT, and GetTimeStampValue().

Referenced by GetPTimeStampVal().

◆ GetTimeStampValue()

void MED::TWrapper::GetTimeStampValue ( const PTimeStampValueBase theTimeStampValue,
const TMKey2Profile theMKey2Profile,
const TKey2Gauss theKey2Gauss,
TErr theErr = NULL 
)
virtual

Read the values for MEDWrapper MED TIMESTAMP from the MED file.

References MED::eLECTURE, EXCEPTION, MED::GetNOMLength(), INITMSG, myFile, and myMinor.

Referenced by GetPTimeStampValue(), and GetTimeStampVal().

◆ operator=()

TWrapper & MED::TWrapper::operator= ( const TWrapper )
private

◆ SetBallInfo() [1/2]

void MED::TWrapper::SetBallInfo ( const TBallInfo theInfo,
EModeAcces  theMode,
TErr theErr 
)

◆ SetBallInfo() [2/2]

void MED::TWrapper::SetBallInfo ( const TBallInfo theInfo,
TErr theErr = NULL 
)
virtual

Write a MEDWrapper representation of MED_BALL into the MED file.

This feature is supported since version 3.0

References MED::eLECTURE_ECRITURE, and SetBallInfo().

Referenced by SetBallInfo().

◆ SetCellInfo() [1/2]

◆ SetCellInfo() [2/2]

void MED::TWrapper::SetCellInfo ( const TCellInfo theInfo,
TErr theErr = NULL 
)
virtual

Write the MEDWrapper MED Cells representation into the MED file.

References MED::eLECTURE_ECRITURE, and SetCellInfo().

Referenced by SetBallInfo(), and SetCellInfo().

◆ SetFamilies() [1/2]

void MED::TWrapper::SetFamilies ( const TElemInfo theInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)
virtual

Write sequence of MED Families' indices for any descendant of TElemInfo.

References MED::eLECTURE_ECRITURE, and SetFamilies().

Referenced by SetFamilies(), and SetPolygoneInfo().

◆ SetFamilies() [2/2]

void MED::TWrapper::SetFamilies ( const TElemInfo theInfo,
EModeAcces  theMode,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)

◆ SetFamilyInfo() [1/2]

◆ SetFamilyInfo() [2/2]

void MED::TWrapper::SetFamilyInfo ( const TFamilyInfo theInfo,
TErr theErr = NULL 
)
virtual

Write a MEDWrapper MED Family representation into the MED file.

References MED::eLECTURE_AJOUT, MED::eLECTURE_ECRITURE, and SetFamilyInfo().

Referenced by SetFamilyInfo().

◆ SetFieldInfo() [1/2]

◆ SetFieldInfo() [2/2]

void MED::TWrapper::SetFieldInfo ( const TFieldInfo theInfo,
TErr theErr = NULL 
)
virtual

Write MEDWrapper MED FIELD representation into the MED file.

References MED::eLECTURE_AJOUT, MED::eLECTURE_ECRITURE, and SetFieldInfo().

Referenced by SetFieldInfo().

◆ SetGrilleInfo() [1/2]

◆ SetGrilleInfo() [2/2]

void MED::TWrapper::SetGrilleInfo ( const TGrilleInfo theInfo,
TErr theErr = NULL 
)
virtual

Write the MEDWrapper MED Grille representation into the MED file.

References MED::eLECTURE_ECRITURE, and SetGrilleInfo().

Referenced by SetGrilleInfo().

◆ SetMeshInfo() [1/2]

void MED::TWrapper::SetMeshInfo ( const MED::TMeshInfo theInfo,
EModeAcces  theMode,
TErr theErr = NULL 
)

◆ SetMeshInfo() [2/2]

void MED::TWrapper::SetMeshInfo ( const TMeshInfo theInfo,
TErr theErr = NULL 
)
virtual

Write the MEDWrapper MED Mesh representation into the MED file.

References MED::eCREATION, MED::eLECTURE_AJOUT, MED::eLECTURE_ECRITURE, and SetMeshInfo().

Referenced by SetMeshInfo().

◆ SetNames() [1/2]

void MED::TWrapper::SetNames ( const TElemInfo theInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)
virtual

Write sequence of names for any descendant of TElemInfo.

References MED::eLECTURE_ECRITURE, and SetNames().

Referenced by SetNames(), and SetPolygoneInfo().

◆ SetNames() [2/2]

void MED::TWrapper::SetNames ( const TElemInfo theInfo,
EModeAcces  theMode,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)

◆ SetNodeInfo() [1/2]

◆ SetNodeInfo() [2/2]

void MED::TWrapper::SetNodeInfo ( const TNodeInfo theInfo,
TErr theErr = NULL 
)
virtual

Write the MEDWrapper MED Nodes representation into the MED file.

References MED::eLECTURE_AJOUT, MED::eLECTURE_ECRITURE, and SetNodeInfo().

Referenced by SetNodeInfo().

◆ SetNumeration() [1/2]

void MED::TWrapper::SetNumeration ( const TElemInfo theInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)
virtual

Write sequence of numerated data for any descendant of TElemInfo.

References MED::eLECTURE_ECRITURE, and SetNumeration().

Referenced by SetNumeration(), and SetPolygoneInfo().

◆ SetNumeration() [2/2]

void MED::TWrapper::SetNumeration ( const TElemInfo theInfo,
EModeAcces  theMode,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)

◆ SetPolyedreInfo() [1/2]

◆ SetPolyedreInfo() [2/2]

void MED::TWrapper::SetPolyedreInfo ( const TPolyedreInfo theInfo,
TErr theErr = NULL 
)
virtual

Write a MEDWrapper MED Polyedres representation into the MED file.

References MED::eLECTURE_ECRITURE, and SetPolyedreInfo().

Referenced by SetPolyedreInfo().

◆ SetPolygoneInfo() [1/2]

◆ SetPolygoneInfo() [2/2]

void MED::TWrapper::SetPolygoneInfo ( const TPolygoneInfo theInfo,
TErr theErr = NULL 
)
virtual

Write a MEDWrapper MED Polygones representation into the MED file.

References MED::eLECTURE_ECRITURE, and SetPolygoneInfo().

Referenced by SetPolygoneInfo().

◆ SetProfileInfo() [1/2]

void MED::TWrapper::SetProfileInfo ( const TProfileInfo theInfo,
EModeAcces  theMode,
TErr theErr = NULL 
)

◆ SetProfileInfo() [2/2]

void MED::TWrapper::SetProfileInfo ( const TProfileInfo theInfo,
TErr theErr = NULL 
)
virtual

Write a MEDWrapper MED PROFILE representation into the MED file.

References MED::eCREATION, MED::eLECTURE_AJOUT, MED::eLECTURE_ECRITURE, and SetProfileInfo().

Referenced by SetProfileInfo().

◆ SetTimeStamp()

void MED::TWrapper::SetTimeStamp ( const PTimeStampVal theVal,
TErr theErr = NULL 
)
virtual

Write the values for MEDWrapper MED TIMESTAMP into the MED file.

References MED::CopyTimeStampValueBase(), CrTimeStampValue(), MED::eFLOAT64, MED::eINT, and SetTimeStampValue().

◆ SetTimeStampValue() [1/2]

void MED::TWrapper::SetTimeStampValue ( const PTimeStampValueBase theTimeStampValue,
EModeAcces  theMode,
TErr theErr = NULL 
)

◆ SetTimeStampValue() [2/2]

void MED::TWrapper::SetTimeStampValue ( const PTimeStampValueBase theTimeStampValue,
TErr theErr = NULL 
)
virtual

Write the values for MEDWrapper MED TIMESTAMP into the MED file.

References MED::eLECTURE_AJOUT, MED::eLECTURE_ECRITURE, and SetTimeStampValue().

Referenced by SetTimeStamp(), and SetTimeStampValue().

Friends And Related Function Documentation

◆ TLockProxy

friend class TLockProxy
friend

Field Documentation

◆ myFile

◆ myMajor

TInt MED::TWrapper::myMajor
protected

◆ myMinor

◆ myMutex

TMutex MED::TWrapper::myMutex
private

Synchronization primitive that allows supporting thread safety for the MED access.

Referenced by MED::TLockProxy::TLockProxy(), and MED::TLockProxy::~TLockProxy().