Version: 8.3.0
MED::TWrapper Struct Referenceabstract

Define a base class that wraps the MED API. More...

#include <MED_Wrapper.hxx>

Inheritance diagram for MED::TWrapper:

Public Types

typedef boost::mutex TMutex
 

Public Member Functions

virtual ~TWrapper ()
 
virtual EVersion GetVersion ()=0
 Gets version of the MED library used for the MED file. More...
 
virtual PMeshInfo CrMeshInfo (TInt theDim=0, TInt theSpaceDim=0, const std::string &theValue="", EMaillage theType=eNON_STRUCTURE, const std::string &theDesc="")=0
 Creates a MEDWrapper MED Mesh representation. More...
 
virtual PMeshInfo CrMeshInfo (const PMeshInfo &theInfo)=0
 A copy-constructor for the MEDWrapper MED Mesh representation. More...
 
virtual TInt GetNbMeshes (TErr *theErr=NULL)=0
 Read number of MED Mesh entities in the defined MED file. More...
 
virtual void GetMeshInfo (TInt theMeshId, TMeshInfo &theInfo, TErr *theErr=NULL)=0
 Read a MEDWrapper MED Mesh representation by its number. More...
 
virtual void SetMeshInfo (const TMeshInfo &theInfo, TErr *theErr=NULL)=0
 Write the MEDWrapper MED Mesh representation in the defined MED file. More...
 
virtual PMeshInfo GetPMeshInfo (TInt theId, TErr *theErr=NULL)
 Read a MEDWrapper MED Mesh representation by its number. More...
 
virtual TInt GetNbFamilies (const TMeshInfo &theMeshInfo, TErr *theErr=NULL)=0
 Read number of MED Family entities in the defined MED file. More...
 
virtual TInt GetNbFamAttr (TInt theFamId, const TMeshInfo &theInfo, TErr *theErr=NULL)=0
 Read number of attributes for defined MED Family. More...
 
virtual TInt GetNbFamGroup (TInt theFamId, const TMeshInfo &theInfo, TErr *theErr=NULL)=0
 Read number of MED Groups where MED Family with the number belong to. More...
 
virtual void GetFamilyInfo (TInt theFamId, TFamilyInfo &theInfo, TErr *theErr=NULL)=0
 Read a MEDWrapper MED Family representation by its number. More...
 
virtual void SetFamilyInfo (const TFamilyInfo &theInfo, TErr *theErr=NULL)=0
 Write a MEDWrapper MED Family representation by its number. More...
 
virtual PFamilyInfo CrFamilyInfo (const PMeshInfo &theMeshInfo, TInt theNbGroup=0, TInt theNbAttr=0, TInt theId=0, const std::string &theValue="")=0
 Creates 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())=0
 Creates a MEDWrapper MED Family representation. More...
 
virtual PFamilyInfo CrFamilyInfo (const PMeshInfo &theMeshInfo, const PFamilyInfo &theInfo)=0
 A copy-constructor for the MEDWrapper MED Family representation. More...
 
PFamilyInfo GetPFamilyInfo (const PMeshInfo &theMeshInfo, TInt theId, TErr *theErr=NULL)
 Write 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 GetNumeration (TElemInfo &theInfo, TInt theNb, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Read sequence of numerous for any descendant of TElemInfo. More...
 
virtual void GetFamilies (TElemInfo &theInfo, TInt theNb, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Read sequence MED Family indexes 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...
 
virtual void SetNumeration (const TElemInfo &theInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Write sequence of numerous for any descendant of TElemInfo. More...
 
virtual void SetFamilies (const TElemInfo &theInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Write sequence MED Family indexes for any descendant of TElemInfo. More...
 
PElemInfo GetPElemInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity=eNOEUD, EGeometrieElement theGeom=ePOINT1, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Read a MEDWrapper MED Element representation from defined MED file. More...
 
virtual TInt GetNbNodes (const TMeshInfo &theMeshInfo, TErr *theErr=NULL)=0
 Read number of nodes in defined MED Mesh. More...
 
virtual TInt GetNbNodes (const TMeshInfo &theMeshInfo, ETable theTable, TErr *theErr=NULL)
 
virtual void GetNodeInfo (TNodeInfo &theInfo, TErr *theErr=NULL)=0
 Read a MEDWrapper MED Nodes representation from defined MED file. More...
 
virtual void SetNodeInfo (const TNodeInfo &theInfo, TErr *theErr=NULL)=0
 Write the MEDWrapper MED Nodes representation into defined MED file. More...
 
virtual PElemInfo CrElemInfo (const PMeshInfo &theMeshInfo, TInt theNbElem, EBooleen theIsElemNum=eVRAI, EBooleen theIsElemNames=eVRAI)
 Creates a MEDWrapper MED Nodes representation. More...
 
virtual PElemInfo CrElemInfo (const PMeshInfo &theMeshInfo, TInt theNbElem, const TIntVector &theFamNum, const TIntVector &aElemNum, const TStringVector &aElemNames)
 Creates a MEDWrapper MED Nodes representation. More...
 
virtual PNodeInfo CrNodeInfo (const PMeshInfo &theMeshInfo, TInt theNbElem, EModeSwitch theMode=eFULL_INTERLACE, ERepere theSystem=eCART, EBooleen theIsElemNum=eVRAI, EBooleen theIsElemNames=eVRAI)=0
 Creates 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())=0
 Creates a MEDWrapper MED Nodes representation. More...
 
virtual PNodeInfo CrNodeInfo (const PMeshInfo &theMeshInfo, const PNodeInfo &theInfo)=0
 A copy-constructor for the MEDWrapper MED Nodes representation. More...
 
PNodeInfo GetPNodeInfo (const PMeshInfo &theMeshInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Nodes representation from defined MED file. More...
 
virtual void GetPolygoneInfo (TPolygoneInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Polygones representation from defined MED file. More...
 
virtual void SetPolygoneInfo (const TPolygoneInfo &theInfo, TErr *theErr=NULL)
 Write a MEDWrapper MED Polygones representation from defined 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 defined MED Mesh. More...
 
virtual TInt GetPolygoneConnSize (const TMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Read connectivity infroamtion for the MED Polygones in defined MED Mesh. More...
 
virtual PPolygoneInfo CrPolygoneInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TInt theNbElem, TInt theConnSize, EConnectivite theConnMode=eNOD, EBooleen theIsElemNum=eVRAI, EBooleen theIsElemNames=eVRAI)
 Creates 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())
 Creates a MEDWrapper MED Polygones representation. More...
 
virtual PPolygoneInfo CrPolygoneInfo (const PMeshInfo &theMeshInfo, const PPolygoneInfo &theInfo)
 A copy-constructor for the MEDWrapper MED Polygones representation. More...
 
PPolygoneInfo GetPPolygoneInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD)
 Read a MEDWrapper MED Polygones representation from defined MED file. More...
 
virtual void GetPolyedreInfo (TPolyedreInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Polyedres representation from defined MED file. More...
 
virtual void SetPolyedreInfo (const TPolyedreInfo &theInfo, TErr *theErr=NULL)
 Write a MEDWrapper MED Polyedres representation from defined 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 defined MED Mesh. More...
 
virtual void GetPolyedreConnSize (const TMeshInfo &theMeshInfo, TInt &theNbFaces, TInt &theConnSize, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Read connectivity infroamtion for the MED Polyedres in defined MED Mesh. More...
 
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)
 
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())
 Creates a MEDWrapper MED Polyedres representation. More...
 
virtual PPolyedreInfo CrPolyedreInfo (const PMeshInfo &theMeshInfo, const PPolyedreInfo &theInfo)
 A copy-constructor for the MEDWrapper MED Polyedres representation. More...
 
PPolyedreInfo GetPPolyedreInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD)
 Read a MEDWrapper MED Polyedres representation from defined MED file. More...
 
virtual TEntityInfo GetEntityInfo (const TMeshInfo &theMeshInfo, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)=0
 Get TEntityInfo which contains brief information about existing cells and their destribution among MED ENTITIES. More...
 
virtual TInt GetNbCells (const TMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)=0
 Read number of cells for defined MED Mesh, ENTITY and geometrical type with define mode of connectivity. More...
 
virtual void GetCellInfo (TCellInfo &theInfo, TErr *theErr=NULL)=0
 Read a MEDWrapper MED Cells representation from defined MED file. More...
 
virtual void SetCellInfo (const TCellInfo &theInfo, TErr *theErr=NULL)=0
 Write the MEDWrapper MED Cells representation into defined MED file. More...
 
virtual PCellInfo CrCellInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TInt theNbElem, EConnectivite theConnMode=eNOD, EBooleen theIsElemNum=eVRAI, EBooleen theIsElemNames=eVRAI, EModeSwitch theMode=eFULL_INTERLACE)=0
 Creates 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)=0
 Creates a MEDWrapper MED Cells representation. More...
 
virtual PCellInfo CrCellInfo (const PMeshInfo &theMeshInfo, const PCellInfo &theInfo)=0
 A copy-constructor for the MEDWrapper MED Cells representation. More...
 
PCellInfo GetPCellInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Read a MEDWrapper MED Cells representation from defined MED file. 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 MEDWrapped representation of MED_BALL from the MED file. More...
 
virtual void SetBallInfo (const TBallInfo &theInfo, TErr *theErr=NULL)
 Write a MEDWrapped representation of MED_BALL to the MED file. More...
 
virtual PBallInfo CrBallInfo (const PMeshInfo &theMeshInfo, TInt theNbBalls, EBooleen theIsElemNum=eVRAI)
 Creates 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())
 Creates a MEDWrapper MED Balls representation. More...
 
virtual PBallInfo CrBallInfo (const PMeshInfo &theMeshInfo, const PBallInfo &theInfo)
 A copy-constructor for the MEDWrapped MED Balls representation. More...
 
virtual PBallInfo GetPBallInfo (const PMeshInfo &theMeshInfo)
 Read a MEDWrapped MED Balls representation from defined MED file. More...
 
virtual TInt GetNbFields (TErr *theErr=NULL)=0
 Read number of MED FIELDS in defined MED Mesh. More...
 
virtual TInt GetNbComp (TInt theFieldId, TErr *theErr=NULL)=0
 Read number of components for the defined MED FIELD by its order number. More...
 
virtual void GetFieldInfo (TInt theFieldId, TFieldInfo &theInfo, TErr *theErr=NULL)=0
 Read MEDWrapper MED FIELD representation by its order number. More...
 
virtual void SetFieldInfo (const TFieldInfo &theInfo, TErr *theErr=NULL)=0
 Write MEDWrapper MED FIELD representation into defined MED file. More...
 
virtual PFieldInfo CrFieldInfo (const PMeshInfo &theMeshInfo, TInt theNbComp=0, ETypeChamp theType=eFLOAT64, const std::string &theValue="", EBooleen theIsLocal=eVRAI, TInt theNbRef=1)=0
 Creates a MEDWrapper MED FIELD representation. More...
 
virtual PFieldInfo CrFieldInfo (const PMeshInfo &theMeshInfo, const PFieldInfo &theInfo)=0
 A copy-constructor for the MEDWrapper MED FIELD representation. More...
 
PFieldInfo GetPFieldInfo (const PMeshInfo &theMeshInfo, TInt theId, TErr *theErr=NULL)
 Read a MEDWrapper MED FIELD representation from defined MED file. More...
 
virtual TInt GetNbGauss (TErr *theErr=NULL)
 Read number of MED GAUSS in defined MED Mesh. More...
 
virtual TGaussInfo::TInfo GetGaussPreInfo (TInt theId, TErr *theErr=NULL)
 Read brief MED GAUSS information by its order number from defined MED Mesh. More...
 
virtual void GetGaussInfo (TInt theId, TGaussInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED GAUSS representation by its order number from defined MED file. More...
 
virtual PGaussInfo CrGaussInfo (const TGaussInfo::TInfo &theInfo, EModeSwitch theMode=eFULL_INTERLACE)=0
 Creates a MEDWrapper MED GAUSS representation. More...
 
virtual TInt GetNbTimeStamps (const TFieldInfo &theInfo, const TEntityInfo &theEntityInfo, EEntiteMaillage &theEntity, TGeom2Size &theGeom2Size, TErr *theErr=NULL)=0
 Read number of MED TIMESTAMPS in defined MED Mesh. More...
 
virtual void GetTimeStampInfo (TInt theTimeStampId, TTimeStampInfo &theInfo, TErr *theErr=NULL)=0
 Read MEDWrapper MED TIMESTAMP representation by its order number. 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())=0
 Creates a MEDWrapper MED TIMESTAMP representation. More...
 
virtual PTimeStampInfo CrTimeStampInfo (const PFieldInfo &theFieldInfo, const PTimeStampInfo &theInfo)=0
 A copy-constructor for the MEDWrapper MED TIMESTAMP representation. More...
 
PTimeStampInfo GetPTimeStampInfo (const PFieldInfo &theFieldInfo, EEntiteMaillage theEntity, const TGeom2Size &theGeom2Size, TInt theId, TErr *theErr=NULL)
 Read MEDWrapper MED TIMESTAMP representation by its order number. More...
 
virtual TInt GetNbProfiles (TErr *theErr=NULL)=0
 Read number of MED PROFILES in defined MED Mesh. More...
 
virtual TProfileInfo::TInfo GetProfilePreInfo (TInt theId, TErr *theErr=NULL)=0
 Read brief MED PROFILE information by its order number from defined MED Mesh. More...
 
virtual void GetProfileInfo (TInt theId, TProfileInfo &theInfo, TErr *theErr=NULL)=0
 Read a MEDWrapper MED PROFILE representation by its order number from defined MED file. More...
 
virtual PProfileInfo CrProfileInfo (const TProfileInfo::TInfo &theInfo, EModeProfil theMode=eCOMPACT)=0
 Creates a MEDWrapper MED PROFILE representation. More...
 
virtual void SetProfileInfo (const TProfileInfo &theInfo, TErr *theErr=NULL)=0
 Write a MEDWrapper MED PROFILE representation. More...
 
PProfileInfo GetPProfileInfo (TInt theId, EModeProfil theMode=eCOMPACT, TErr *theErr=NULL)
 Read a MEDWrapper MED PROFILE representation by its order number from defined MED file. More...
 
virtual void GetTimeStampValue (const PTimeStampValueBase &theTimeStampValue, const TMKey2Profile &theMKey2Profile, const TKey2Gauss &theKey2Gauss, TErr *theErr=NULL)=0
 Read the values for MEDWrapper MED TIEMSTAMP from defined MED file. More...
 
virtual void SetTimeStampValue (const PTimeStampValueBase &theTimeStampValue, TErr *theErr=NULL)=0
 Write the values for MEDWrapper MED TIEMSTAMP to defined MED file. More...
 
virtual PTimeStampValueBase CrTimeStampValue (const PTimeStampInfo &theTimeStampInfo, ETypeChamp theTypeChamp, const TGeom2Profile &theGeom2Profile=TGeom2Profile(), EModeSwitch theMode=eFULL_INTERLACE)=0
 Creates the values for MEDWrapper MED TIEMSTAMP representation. More...
 
virtual PTimeStampValueBase CrTimeStampValue (const PTimeStampInfo &theTimeStampInfo, const TGeom2Profile &theGeom2Profile=TGeom2Profile(), EModeSwitch theMode=eFULL_INTERLACE)
 Creates the values for MEDWrapper MED TIEMSTAMP representation. More...
 
virtual PTimeStampValueBase CrTimeStampValue (const PTimeStampInfo &theTimeStampInfo, const PTimeStampValueBase &theInfo, ETypeChamp theTypeChamp)=0
 A copy-constructor for the values for MEDWrapper MED TIEMSTAMP representation. More...
 
virtual PTimeStampValueBase CrTimeStampValue (const PTimeStampInfo &theTimeStampInfo, const PTimeStampValueBase &theInfo)
 A copy-constructor for the values for MEDWrapper MED TIEMSTAMP representation. More...
 
PTimeStampValueBase GetPTimeStampValue (const PTimeStampInfo &theTimeStampInfo, const TMKey2Profile &theMKey2Profile, const TKey2Gauss &theKey2Gauss, TErr *theErr=NULL)
 Read the values for MEDWrapper MED TIEMSTAMP from defined MED file. More...
 
virtual void GetTimeStampVal (const PTimeStampVal &theVal, const TMKey2Profile &theMKey2Profile, const TKey2Gauss &theKey2Gauss, TErr *theErr=NULL)
 Read the values for MEDWrapper MED TIEMSTAMP from defined MED file. More...
 
virtual void SetTimeStamp (const PTimeStampVal &theVal, TErr *theErr=NULL)
 Write the values for MEDWrapper MED TIEMSTAMP to defined MED file. More...
 
virtual PTimeStampVal CrTimeStampVal (const PTimeStampInfo &theTimeStampInfo, const TGeom2Profile &theGeom2Profile=TGeom2Profile(), EModeSwitch theMode=eFULL_INTERLACE)
 Creates the values for MEDWrapper MED TIEMSTAMP representation. More...
 
virtual PTimeStampVal CrTimeStampVal (const PTimeStampInfo &theTimeStampInfo, const PTimeStampVal &theInfo)
 A copy-constructor for the values for MEDWrapper MED TIEMSTAMP representation. More...
 
PTimeStampVal GetPTimeStampVal (const PTimeStampInfo &theTimeStampInfo, const TMKey2Profile &theMKey2Profile, const TKey2Gauss &theKey2Gauss, TErr *theErr=NULL)
 Read the values for MEDWrapper MED TIEMSTAMP from defined MED file. More...
 
PGrilleInfo GetPGrilleInfo (const PMeshInfo &theMeshInfo)
 Read a MEDWrapper MED Grille representation from defined MED file. More...
 
PGrilleInfo GetPGrilleInfo (const PMeshInfo &theMeshInfo, const PGrilleInfo &theInfo)
 Read a MEDWrapper MED Grille representation from defined MED file. More...
 
virtual void GetGrilleInfo (TGrilleInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Grille representation from defined MED file. More...
 
virtual void SetGrilleInfo (const TGrilleInfo &theInfo, TErr *theErr=NULL)
 Write the MEDWrapper MED Grille representation into defined MED file. More...
 
virtual PGrilleInfo CrGrilleInfo (const PMeshInfo &theMeshInfo, const PGrilleInfo &theGrilleInfo)
 This feature is support only for version of 2.2 and higher. More...
 
virtual PGrilleInfo CrGrilleInfo (const PMeshInfo &theMeshInfo)
 This feature is support only for version of 2.2 and higher. More...
 
virtual PGrilleInfo CrGrilleInfo (const PMeshInfo &theMeshInfo, const EGrilleType &type)
 This feature is support only for version of 2.2 and higher. More...
 
virtual PGrilleInfo CrGrilleInfo (const PMeshInfo &theMeshInfo, const EGrilleType &type, const TInt &nbNodes)
 This feature is support only for version of 2.2 and higher. More...
 
virtual PGrilleInfo CrGrilleInfo (const PMeshInfo &theMeshInfo, const EGrilleType &type, const MED::TIntVector &nbNodeVec)
 This feature is support only for version of 2.2 and higher. More...
 
virtual void GetGrilleType (const TMeshInfo &theMeshInfo, EGrilleType &type, TErr *theErr=NULL)
 This feature is support only for version of 2.2 and higher. More...
 

Data Fields

TMutex myMutex
 This is a synchronization primitive which allow to support thread safety for the MED access. More...
 

Detailed Description

Define a base class that wraps the MED API.

Member Typedef Documentation

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

Constructor & Destructor Documentation

MED::TWrapper::~TWrapper ( )
virtual

Member Function Documentation

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

Creates a MEDWrapper MED Balls representation.

This feature is supported since version 3.0

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Creates a MEDWrapper MED Balls representation.

This feature is supported since version 3.0

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

A copy-constructor for the MEDWrapped MED Balls representation.

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Creates a MEDWrapper MED Cells representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

virtual 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 
)
pure virtual

Creates a MEDWrapper MED Cells representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

A copy-constructor for the MEDWrapper MED Cells representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Creates a MEDWrapper MED Nodes representation.

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Creates a MEDWrapper MED Nodes representation.

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Creates a MEDWrapper MED Family representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

virtual 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() 
)
pure virtual

Creates a MEDWrapper MED Family representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

A copy-constructor for the MEDWrapper MED Family representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Creates a MEDWrapper MED FIELD representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

A copy-constructor for the MEDWrapper MED FIELD representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Creates a MEDWrapper MED GAUSS representation.

This feature is support only for version of 2.2 and higher

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

This feature is support only for version of 2.2 and higher.

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

This feature is support only for version of 2.2 and higher.

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

This feature is support only for version of 2.2 and higher.

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

This feature is support only for version of 2.2 and higher.

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

This feature is support only for version of 2.2 and higher.

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Creates a MEDWrapper MED Mesh representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

A copy-constructor for the MEDWrapper MED Mesh representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Creates a MEDWrapper MED Nodes representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

virtual 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() 
)
pure virtual

Creates a MEDWrapper MED Nodes representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

A copy-constructor for the MEDWrapper MED Nodes representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Creates a MEDWrapper MED Polyedres representation.

This feature is support only for version of 2.2 and higher

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

A copy-constructor for the MEDWrapper MED Polyedres representation.

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

virtual 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

Creates a MEDWrapper MED Polygones representation.

This feature is supported only for version of 2.2 and higher

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

virtual 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

Creates a MEDWrapper MED Polygones representation.

This feature is supported only for version of 2.2 and higher

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

A copy-constructor for the MEDWrapper MED Polygones representation.

Reimplemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Creates a MEDWrapper MED PROFILE representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

virtual 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() 
)
pure virtual

Creates a MEDWrapper MED TIMESTAMP representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

A copy-constructor for the MEDWrapper MED TIMESTAMP representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Creates the values for MEDWrapper MED TIEMSTAMP representation.

References MED::eFLOAT64.

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

A copy-constructor for the values for MEDWrapper MED TIEMSTAMP representation.

References MED::eFLOAT64.

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

Creates the values for MEDWrapper MED TIEMSTAMP representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Creates the values for MEDWrapper MED TIEMSTAMP representation.

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

A copy-constructor for the values for MEDWrapper MED TIEMSTAMP representation.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

A copy-constructor for the values for MEDWrapper MED TIEMSTAMP representation.

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

Read a MEDWrapped representation of MED_BALL from the MED file.

This feature is supported since version 3.0

Reimplemented in MED::V2_2::TVWrapper.

virtual void MED::TWrapper::GetCellInfo ( TCellInfo theInfo,
TErr theErr = NULL 
)
pure virtual

Read a MEDWrapper MED Cells representation from defined MED file.

Implemented in MED::V2_2::TVWrapper.

virtual TEntityInfo MED::TWrapper::GetEntityInfo ( const TMeshInfo theMeshInfo,
EConnectivite  theConnMode = eNOD,
TErr theErr = NULL 
)
pure virtual

Get TEntityInfo which contains brief information about existing cells and their destribution among MED ENTITIES.

Implemented in MED::V2_2::TVWrapper.

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

Read sequence MED Family indexes for any descendant of TElemInfo.

Reimplemented in MED::V2_2::TVWrapper.

virtual void MED::TWrapper::GetFamilyInfo ( TInt  theFamId,
TFamilyInfo theInfo,
TErr theErr = NULL 
)
pure virtual

Read a MEDWrapper MED Family representation by its number.

Implemented in MED::V2_2::TVWrapper.

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

Read MEDWrapper MED FIELD representation by its order number.

Implemented in MED::V2_2::TVWrapper.

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

Read a MEDWrapper MED GAUSS representation by its order number from defined MED file.

This feature is support only for version of 2.2 and higher

Reimplemented in MED::V2_2::TVWrapper.

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

Read brief MED GAUSS information by its order number from defined MED Mesh.

This feature is support only for version of 2.2 and higher

Reimplemented in MED::V2_2::TVWrapper.

References MED::ePOINT1.

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

Read a MEDWrapper MED Grille representation from defined MED file.

This feature is support only for version of 2.2 and higher

Reimplemented in MED::V2_2::TVWrapper.

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

This feature is support only for version of 2.2 and higher.

Reimplemented in MED::V2_2::TVWrapper.

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

Read a MEDWrapper MED Mesh representation by its number.

Implemented in MED::V2_2::TVWrapper.

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

Read sequence of names for any descendant of TElemInfo.

Reimplemented in MED::V2_2::TVWrapper.

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

Read number of balls in the Mesh.

This feature is supported since version 3.0

Reimplemented in MED::V2_2::TVWrapper.

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

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

Implemented in MED::V2_2::TVWrapper.

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

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

Implemented in MED::V2_2::TVWrapper.

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

Read number of attributes for defined MED Family.

Implemented in MED::V2_2::TVWrapper.

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

Read number of MED Groups where MED Family with the number belong to.

Implemented in MED::V2_2::TVWrapper.

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

Read number of MED Family entities in the defined MED file.

Implemented in MED::V2_2::TVWrapper.

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

Read number of MED FIELDS in defined MED Mesh.

Implemented in MED::V2_2::TVWrapper.

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

Read number of MED GAUSS in defined MED Mesh.

This feature is support only for version of 2.2 and higher

Reimplemented in MED::V2_2::TVWrapper.

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

Read number of MED Mesh entities in the defined MED file.

Implemented in MED::V2_2::TVWrapper.

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

Read number of nodes in defined MED Mesh.

Implemented in MED::V2_2::TVWrapper.

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

Reimplemented in MED::V2_2::TVWrapper.

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

Read number of MED Polyedres in defined MED Mesh.

This feature is support only for version of 2.2 and higher

Reimplemented in MED::V2_2::TVWrapper.

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

Read number of MED Polygones in defined MED Mesh.

This feature is supported only for version of 2.2 and higher

Reimplemented in MED::V2_2::TVWrapper.

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

Read number of MED PROFILES in defined MED Mesh.

Implemented in MED::V2_2::TVWrapper.

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

Read number of MED TIMESTAMPS in defined MED Mesh.

By the way some additional information can be obtained:

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

Implemented in MED::V2_2::TVWrapper.

virtual void MED::TWrapper::GetNodeInfo ( TNodeInfo theInfo,
TErr theErr = NULL 
)
pure virtual

Read a MEDWrapper MED Nodes representation from defined MED file.

Implemented in MED::V2_2::TVWrapper.

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

Read sequence of numerous for any descendant of TElemInfo.

Reimplemented in MED::V2_2::TVWrapper.

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

Read a MEDWrapped MED Balls representation from defined MED file.

Read a MEDWrapped representation of MED Balls from the MED file.

This feature is supported since version 3.0

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

Read a MEDWrapper MED Cells representation from defined MED file.

References ADDMSG, BEGMSG, MED::eNON_STRUCTURE, and INITMSG.

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

Read a MEDWrapper MED Element representation from defined MED file.

References MED::eFAUX, MED::eHEXA8, MED::eNOEUD, MED::eNON_STRUCTURE, MED::ePOINT1, MED::ePOLYEDRE, MED::ePOLYGONE, MED::eQUAD4, MED::eSEG2, and MED::eVRAI.

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

Write a MEDWrapper MED Family representation by its number.

References INITMSG.

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

Read a MEDWrapper MED FIELD representation from defined MED file.

References INITMSG.

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

Read a MEDWrapper MED Grille representation from defined MED file.

This feature is support only for version of 2.2 and higher

References ADDMSG, BEGMSG, MED::eCOOR_IND1, MED::eCOOR_IND2, MED::eCOOR_IND3, MED::eGRILLE_STANDARD, MED::eSTRUCTURE, MED::GetNbNodes(), and INITMSG.

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

Read a MEDWrapper MED Grille representation from defined MED file.

This feature is support only for version of 2.2 and higher

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

Read a MEDWrapper MED Mesh representation by its number.

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

Read a MEDWrapper MED Nodes representation from defined MED file.

References ADDMSG, BEGMSG, MED::GetNbNodes(), and INITMSG.

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

Read connectivity infroamtion for the MED Polyedres in defined MED Mesh.

This feature is support only for version of 2.2 and higher

Reimplemented in MED::V2_2::TVWrapper.

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

Read a MEDWrapper MED Polyedres representation from defined MED file.

This feature is support only for version of 2.2 and higher

Reimplemented in MED::V2_2::TVWrapper.

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

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

This feature is supported only for version of 2.2 and higher

Reimplemented in MED::V2_2::TVWrapper.

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

Read a MEDWrapper MED Polygones representation from defined MED file.

This feature is supported only for version of 2.2 and higher

Reimplemented in MED::V2_2::TVWrapper.

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

Read a MEDWrapper MED Polyedres representation from defined MED file.

This feature is support only for version of 2.2 and higher

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

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

Read a MEDWrapper MED Polygones representation from defined MED file.

This feature is support only for version of 2.2 and higher

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

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

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

References MED::GetProfileInfo().

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

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

Implemented in MED::V2_2::TVWrapper.

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

Read brief MED PROFILE information by its order number from defined MED Mesh.

Implemented in MED::V2_2::TVWrapper.

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

Read MEDWrapper MED TIMESTAMP representation by its order number.

References INITMSG.

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

Read the values for MEDWrapper MED TIEMSTAMP from defined MED file.

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

Read the values for MEDWrapper MED TIEMSTAMP from defined MED file.

References MED::eFLOAT64.

virtual void MED::TWrapper::GetTimeStampInfo ( TInt  theTimeStampId,
TTimeStampInfo theInfo,
TErr theErr = NULL 
)
pure virtual

Read MEDWrapper MED TIMESTAMP representation by its order number.

Implemented in MED::V2_2::TVWrapper.

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

Read the values for MEDWrapper MED TIEMSTAMP from defined MED file.

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

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

Read the values for MEDWrapper MED TIEMSTAMP from defined MED file.

Implemented in MED::V2_2::TVWrapper.

virtual EVersion MED::TWrapper::GetVersion ( )
pure virtual

Gets version of the MED library used for the MED file.

Implemented in MED::TTWrapper< eVersion >, and MED::TTWrapper< eV2_2 >.

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

Write a MEDWrapped representation of MED_BALL to the MED file.

This feature is supported since version 3.0

Reimplemented in MED::V2_2::TVWrapper.

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

Write the MEDWrapper MED Cells representation into defined MED file.

Implemented in MED::V2_2::TVWrapper.

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

Write sequence MED Family indexes for any descendant of TElemInfo.

Reimplemented in MED::V2_2::TVWrapper.

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

Write a MEDWrapper MED Family representation by its number.

Implemented in MED::V2_2::TVWrapper.

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

Write MEDWrapper MED FIELD representation into defined MED file.

Implemented in MED::V2_2::TVWrapper.

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

Write the MEDWrapper MED Grille representation into defined MED file.

This feature is support only for version of 2.2 and higher

Reimplemented in MED::V2_2::TVWrapper.

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

Write the MEDWrapper MED Mesh representation in the defined MED file.

Implemented in MED::V2_2::TVWrapper.

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

Write sequence of names for any descendant of TElemInfo.

Reimplemented in MED::V2_2::TVWrapper.

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

Write the MEDWrapper MED Nodes representation into defined MED file.

Implemented in MED::V2_2::TVWrapper.

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

Write sequence of numerous for any descendant of TElemInfo.

Reimplemented in MED::V2_2::TVWrapper.

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

Write a MEDWrapper MED Polyedres representation from defined MED file.

This feature is support only for version of 2.2 and higher

Reimplemented in MED::V2_2::TVWrapper.

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

Write a MEDWrapper MED Polygones representation from defined MED file.

This feature is supported only for version of 2.2 and higher

Reimplemented in MED::V2_2::TVWrapper.

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

Write a MEDWrapper MED PROFILE representation.

Implemented in MED::V2_2::TVWrapper.

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

Write the values for MEDWrapper MED TIEMSTAMP to defined MED file.

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

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

Write the values for MEDWrapper MED TIEMSTAMP to defined MED file.

Implemented in MED::V2_2::TVWrapper.

Field Documentation

TMutex MED::TWrapper::myMutex

This is a synchronization primitive which allow to support thread safety for the MED access.