Version: 8.3.0
MED::V2_2::TVWrapper Class Reference

#include <MED_V2_2_Wrapper.hxx>

Inheritance diagram for MED::V2_2::TVWrapper:

Public Types

typedef boost::mutex TMutex
 

Public Member Functions

 TVWrapper (const std::string &theFileName)
 
virtual TInt GetNbMeshes (TErr *theErr=NULL)
 Read number of MED Mesh entities in the defined MED file. More...
 
virtual void GetMeshInfo (TInt theMeshId, MED::TMeshInfo &, TErr *theErr=NULL)
 Read a MEDWrapper MED Mesh representation by its number. More...
 
virtual void SetMeshInfo (const MED::TMeshInfo &theInfo, TErr *theErr=NULL)
 Write the MEDWrapper MED Mesh representation in the defined MED file. More...
 
void SetMeshInfo (const MED::TMeshInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual TInt GetNbFamilies (const MED::TMeshInfo &theMeshInfo, TErr *theErr=NULL)
 Read number of MED Family entities in the defined MED file. More...
 
virtual TInt GetNbFamAttr (TInt theFamId, const MED::TMeshInfo &theInfo, TErr *theErr=NULL)
 Read number of attributes for defined MED Family. More...
 
virtual TInt GetNbFamGroup (TInt theFamId, const MED::TMeshInfo &theInfo, TErr *theErr=NULL)
 Read number of MED Groups where MED Family with the number belong to. More...
 
virtual void GetFamilyInfo (TInt theFamId, MED::TFamilyInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Family representation by its number. More...
 
virtual void SetFamilyInfo (const MED::TFamilyInfo &theInfo, TErr *theErr=NULL)
 Write a MEDWrapper MED Family representation by its number. More...
 
void SetFamilyInfo (const MED::TFamilyInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual void GetNames (TElemInfo &theInfo, TInt nb, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Read sequence of names for any descendant of TElemInfo. More...
 
virtual void GetNumeration (TElemInfo &theInfo, TInt nb, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Read sequence of numerous for any descendant of TElemInfo. More...
 
virtual void GetFamilies (TElemInfo &theInfo, TInt nb, 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...
 
void SetNames (const TElemInfo &theInfo, EModeAcces theMode, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 
virtual void SetNumeration (const TElemInfo &theInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Write sequence of numerous for any descendant of TElemInfo. More...
 
void SetNumeration (const TElemInfo &theInfo, EModeAcces theMode, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 
virtual void SetFamilies (const TElemInfo &theInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 Write sequence MED Family indexes for any descendant of TElemInfo. More...
 
void SetFamilies (const TElemInfo &theInfo, EModeAcces theMode, EEntiteMaillage theEntity, EGeometrieElement theGeom, TErr *theErr=NULL)
 
virtual TInt GetNbNodes (const MED::TMeshInfo &theMeshInfo, TErr *theErr=NULL)
 Read number of nodes in defined MED Mesh. More...
 
TInt GetNbNodes (const MED::TMeshInfo &theMeshInfo, ETable theTable, TErr *theErr=NULL)
 
virtual void GetNodeInfo (MED::TNodeInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Nodes representation from defined MED file. More...
 
virtual void SetNodeInfo (const MED::TNodeInfo &theInfo, TErr *theErr=NULL)
 Write the MEDWrapper MED Nodes representation into defined MED file. More...
 
void SetNodeInfo (const MED::TNodeInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
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...
 
void SetPolygoneInfo (const MED::TPolygoneInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
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 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...
 
void SetPolyedreInfo (const MED::TPolyedreInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual TInt GetNbPolyedres (const TMeshInfo &theMeshInfo, EEntiteMaillage, EGeometrieElement, EConnectivite, 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 TEntityInfo GetEntityInfo (const MED::TMeshInfo &theMeshInfo, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Get TEntityInfo which contains brief information about existing cells and their destribution among MED ENTITIES. More...
 
virtual TInt GetNbCells (const MED::TMeshInfo &theMeshInfo, EEntiteMaillage, EGeometrieElement, EConnectivite theConnMode=eNOD, TErr *theErr=NULL)
 Read number of cells for defined MED Mesh, ENTITY and geometrical type with define mode of connectivity. More...
 
virtual void GetCellInfo (MED::TCellInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Cells representation from defined MED file. More...
 
virtual void SetCellInfo (const MED::TCellInfo &theInfo, TErr *theErr=NULL)
 Write the MEDWrapper MED Cells representation into defined MED file. More...
 
void SetCellInfo (const MED::TCellInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
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 MEDWrapped representation of MED_BALL from the MED file. More...
 
virtual void SetBallInfo (const TBallInfo &theInfo, TErr *theErr)
 Write a MEDWrapped representation of MED_BALL to the MED file. More...
 
void SetBallInfo (const TBallInfo &theInfo, EModeAcces theMode, TErr *theErr)
 Write a MEDWrapped representation of MED_BALL to the MED file. More...
 
virtual TInt GetNbFields (TErr *theErr=NULL)
 Read number of MED FIELDS in defined MED Mesh. More...
 
virtual TInt GetNbComp (TInt theFieldId, TErr *theErr=NULL)
 Read number of components for the defined MED FIELD by its order number. More...
 
virtual void GetFieldInfo (TInt theFieldId, MED::TFieldInfo &theInfo, TErr *theErr=NULL)
 Read MEDWrapper MED FIELD representation by its order number. More...
 
virtual void SetFieldInfo (const MED::TFieldInfo &theInfo, TErr *theErr=NULL)
 Write MEDWrapper MED FIELD representation into defined MED file. More...
 
void SetFieldInfo (const MED::TFieldInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
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 TInt GetNbProfiles (TErr *theErr=NULL)
 Read number of MED PROFILES in defined MED Mesh. More...
 
virtual TProfileInfo::TInfo GetProfilePreInfo (TInt theId, TErr *theErr=NULL)
 Read brief MED PROFILE information by its order number from defined MED Mesh. More...
 
virtual void GetProfileInfo (TInt theId, TProfileInfo &theInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED PROFILE representation by its order number from defined MED file. More...
 
virtual void SetProfileInfo (const TProfileInfo &theInfo, TErr *theErr=NULL)
 Write a MEDWrapper MED PROFILE representation. More...
 
void SetProfileInfo (const TProfileInfo &theInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual TInt GetNbTimeStamps (const MED::TFieldInfo &theInfo, const MED::TEntityInfo &theEntityInfo, EEntiteMaillage &theEntity, TGeom2Size &theGeom2Size, TErr *theErr=NULL)
 Read number of MED TIMESTAMPS in defined MED Mesh. More...
 
virtual void GetTimeStampInfo (TInt theTimeStampId, MED::TTimeStampInfo &theInfo, TErr *theErr=NULL)
 Read MEDWrapper MED TIMESTAMP representation by its order number. More...
 
virtual void GetTimeStampValue (const PTimeStampValueBase &theTimeStampValue, const TMKey2Profile &theMKey2Profile, const TKey2Gauss &theKey2Gauss, TErr *theErr=NULL)
 Read the values for MEDWrapper MED TIEMSTAMP from defined MED file. More...
 
virtual void SetTimeStampValue (const PTimeStampValueBase &theTimeStampValue, TErr *theErr=NULL)
 Write the values for MEDWrapper MED TIEMSTAMP to defined MED file. More...
 
void SetTimeStampValue (const PTimeStampValueBase &theTimeStampValue, EModeAcces theMode, TErr *theErr=NULL)
 
virtual void GetGrilleInfo (TGrilleInfo &theGrilleInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Grille representation from defined MED file. More...
 
virtual void SetGrilleInfo (const MED::TGrilleInfo &theGrilleInfo, TErr *theErr=NULL)
 Write the MEDWrapper MED Grille representation into defined MED file. More...
 
void SetGrilleInfo (const MED::TGrilleInfo &theGrilleInfo, EModeAcces theMode, TErr *theErr=NULL)
 
virtual void GetGrilleType (const MED::TMeshInfo &theMeshInfo, EGrilleType &type, TErr *theErr=NULL)
 This feature is support only for version of 2.2 and higher. More...
 
void GetGrilleStruct (const MED::TMeshInfo &theMeshInfo, TIntVector &theStruct, TErr *theErr=NULL)
 
virtual EVersion GetVersion ()
 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="")
 Creates a MEDWrapper MED Mesh representation. More...
 
virtual PMeshInfo CrMeshInfo (const PMeshInfo &theInfo)
 A copy-constructor for the MEDWrapper MED Mesh representation. More...
 
virtual PFamilyInfo CrFamilyInfo (const PMeshInfo &theMeshInfo, TInt theNbGroup=0, TInt theNbAttr=0, TInt theId=0, const std::string &theValue="")
 Creates a MEDWrapper MED Family representation. More...
 
virtual PFamilyInfo CrFamilyInfo (const PMeshInfo &theMeshInfo, const std::string &theValue, TInt theId, const MED::TStringSet &theGroupNames, const MED::TStringVector &theAttrDescs=MED::TStringVector(), const MED::TIntVector &theAttrIds=MED::TIntVector(), const MED::TIntVector &theAttrVals=MED::TIntVector())
 Creates a MEDWrapper MED Family representation. More...
 
virtual PFamilyInfo CrFamilyInfo (const PMeshInfo &theMeshInfo, const PFamilyInfo &theInfo)
 A copy-constructor for the MEDWrapper MED Family representation. 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)
 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())
 Creates a MEDWrapper MED Nodes representation. More...
 
virtual PNodeInfo CrNodeInfo (const PMeshInfo &theMeshInfo, const PNodeInfo &theInfo)
 A copy-constructor for the MEDWrapper MED Nodes representation. 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...
 
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...
 
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)
 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)
 Creates a MEDWrapper MED Cells representation. More...
 
virtual PCellInfo CrCellInfo (const PMeshInfo &theMeshInfo, const PCellInfo &theInfo)
 A copy-constructor for the MEDWrapper MED Cells representation. 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 MEDWrapper MED Balls representation. More...
 
virtual PFieldInfo CrFieldInfo (const PMeshInfo &theMeshInfo, TInt theNbComp=0, ETypeChamp theType=eFLOAT64, const std::string &theValue="", EBooleen theIsLocal=eVRAI, TInt theNbRef=1)
 Creates a MEDWrapper MED FIELD representation. More...
 
virtual PFieldInfo CrFieldInfo (const PMeshInfo &theMeshInfo, const PFieldInfo &theInfo)
 A copy-constructor for the MEDWrapper MED FIELD representation. 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())
 Creates a MEDWrapper MED TIMESTAMP representation. More...
 
virtual PTimeStampInfo CrTimeStampInfo (const PFieldInfo &theFieldInfo, const PTimeStampInfo &theInfo)
 A copy-constructor for the MEDWrapper MED TIMESTAMP representation. More...
 
virtual PGaussInfo CrGaussInfo (const TGaussInfo::TInfo &theInfo, EModeSwitch theMode=eFULL_INTERLACE)
 Creates a MEDWrapper MED GAUSS representation. More...
 
virtual PProfileInfo CrProfileInfo (const TProfileInfo::TInfo &theInfo, EModeProfil theMode=eCOMPACT)
 Creates a MEDWrapper MED PROFILE representation. More...
 
virtual PTimeStampValueBase CrTimeStampValue (const PTimeStampInfo &theTimeStampInfo, ETypeChamp theTypeChamp, 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)
 A copy-constructor for 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)
 A copy-constructor for the values for MEDWrapper MED TIEMSTAMP representation. More...
 
virtual PGrilleInfo CrGrilleInfo (const PMeshInfo &theMeshInfo, const PGrilleInfo &theInfo)
 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 PGrilleInfo CrGrilleInfo (const PMeshInfo &theMeshInfo)
 This feature is support only for version of 2.2 and higher. More...
 
virtual PMeshInfo GetPMeshInfo (TInt theId, TErr *theErr=NULL)
 Read a MEDWrapper MED Mesh representation by its number. More...
 
PFamilyInfo GetPFamilyInfo (const PMeshInfo &theMeshInfo, TInt theId, TErr *theErr=NULL)
 Write a MEDWrapper MED Family representation by its number. 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...
 
PNodeInfo GetPNodeInfo (const PMeshInfo &theMeshInfo, TErr *theErr=NULL)
 Read a MEDWrapper MED Nodes representation from defined MED file. More...
 
PPolygoneInfo GetPPolygoneInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD)
 Read a MEDWrapper MED Polygones representation from defined MED file. More...
 
PPolyedreInfo GetPPolyedreInfo (const PMeshInfo &theMeshInfo, EEntiteMaillage theEntity, EGeometrieElement theGeom, EConnectivite theConnMode=eNOD)
 Read a MEDWrapper MED Polyedres representation from defined MED file. 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 PBallInfo GetPBallInfo (const PMeshInfo &theMeshInfo)
 Read a MEDWrapped MED Balls representation from defined MED file. More...
 
PFieldInfo GetPFieldInfo (const PMeshInfo &theMeshInfo, TInt theId, TErr *theErr=NULL)
 Read a MEDWrapper MED FIELD representation from defined MED file. 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...
 
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...
 
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...
 

Data Fields

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

Protected Attributes

PFile myFile
 

Private Member Functions

 TVWrapper ()
 
 TVWrapper (const TVWrapper &)
 
TVWrapperoperator= (const TVWrapper &)
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

MED::V2_2::TVWrapper::TVWrapper ( )
private
MED::V2_2::TVWrapper::TVWrapper ( const TVWrapper )
private
MED::V2_2::TVWrapper::TVWrapper ( const std::string &  theFileName)

Member Function Documentation

virtual PBallInfo MED::TTWrapper< eVersion >::CrBallInfo ( const PMeshInfo theMeshInfo,
TInt  theNbBalls,
EBooleen  theIsElemNum = eVRAI 
)
virtualinherited

Creates a MEDWrapper MED Balls representation.

Reimplemented from MED::TWrapper.

virtual PBallInfo MED::TTWrapper< eVersion >::CrBallInfo ( const PMeshInfo theMeshInfo,
const TIntVector theNodes,
TFloatVector theDiameters,
const TIntVector theFamilyNums = TIntVector(),
const TIntVector theElemNums = TIntVector() 
)
virtualinherited

Creates a MEDWrapper MED Balls representation.

Reimplemented from MED::TWrapper.

virtual PBallInfo MED::TTWrapper< eVersion >::CrBallInfo ( const PMeshInfo theMeshInfo,
const PBallInfo theInfo 
)
virtualinherited

A copy-constructor for the MEDWrapper MED Balls representation.

Reimplemented from MED::TWrapper.

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

Creates a MEDWrapper MED Cells representation.

Implements MED::TWrapper.

virtual PCellInfo MED::TTWrapper< eVersion >::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 
)
virtualinherited

Creates a MEDWrapper MED Cells representation.

Implements MED::TWrapper.

virtual PCellInfo MED::TTWrapper< eVersion >::CrCellInfo ( const PMeshInfo theMeshInfo,
const PCellInfo theInfo 
)
virtualinherited

A copy-constructor for the MEDWrapper MED Cells representation.

Implements MED::TWrapper.

virtual PElemInfo MED::TTWrapper< eVersion >::CrElemInfo ( const PMeshInfo theMeshInfo,
TInt  theNbElem,
EBooleen  theIsElemNum = eVRAI,
EBooleen  theIsElemNames = eVRAI 
)
virtualinherited

Creates a MEDWrapper MED Nodes representation.

Reimplemented from MED::TWrapper.

virtual PElemInfo MED::TTWrapper< eVersion >::CrElemInfo ( const PMeshInfo theMeshInfo,
TInt  theNbElem,
const TIntVector theFamNum,
const TIntVector aElemNum,
const TStringVector aElemNames 
)
virtualinherited

Creates a MEDWrapper MED Nodes representation.

Reimplemented from MED::TWrapper.

virtual PFamilyInfo MED::TTWrapper< eVersion >::CrFamilyInfo ( const PMeshInfo theMeshInfo,
TInt  theNbGroup = 0,
TInt  theNbAttr = 0,
TInt  theId = 0,
const std::string &  theValue = "" 
)
virtualinherited

Creates a MEDWrapper MED Family representation.

Implements MED::TWrapper.

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

Creates a MEDWrapper MED Family representation.

Implements MED::TWrapper.

virtual PFamilyInfo MED::TTWrapper< eVersion >::CrFamilyInfo ( const PMeshInfo theMeshInfo,
const PFamilyInfo theInfo 
)
virtualinherited

A copy-constructor for the MEDWrapper MED Family representation.

Implements MED::TWrapper.

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

Creates a MEDWrapper MED FIELD representation.

Implements MED::TWrapper.

virtual PFieldInfo MED::TTWrapper< eVersion >::CrFieldInfo ( const PMeshInfo theMeshInfo,
const PFieldInfo theInfo 
)
virtualinherited

A copy-constructor for the MEDWrapper MED FIELD representation.

Implements MED::TWrapper.

virtual PGaussInfo MED::TTWrapper< eVersion >::CrGaussInfo ( const TGaussInfo::TInfo theInfo,
EModeSwitch  theMode = eFULL_INTERLACE 
)
virtualinherited

Creates a MEDWrapper MED GAUSS representation.

This feature is support only for version of 2.2 and higher

Implements MED::TWrapper.

virtual PGrilleInfo MED::TTWrapper< eVersion >::CrGrilleInfo ( const PMeshInfo theMeshInfo,
const PGrilleInfo theGrilleInfo 
)
virtualinherited

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

Reimplemented from MED::TWrapper.

virtual PGrilleInfo MED::TTWrapper< eVersion >::CrGrilleInfo ( const PMeshInfo theMeshInfo,
const EGrilleType type 
)
virtualinherited

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

Reimplemented from MED::TWrapper.

virtual PGrilleInfo MED::TTWrapper< eVersion >::CrGrilleInfo ( const PMeshInfo theMeshInfo,
const EGrilleType type,
const TInt nbNodes 
)
virtualinherited

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

Reimplemented from MED::TWrapper.

virtual PGrilleInfo MED::TTWrapper< eVersion >::CrGrilleInfo ( const PMeshInfo theMeshInfo,
const EGrilleType type,
const MED::TIntVector nbNodeVec 
)
virtualinherited

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

Reimplemented from MED::TWrapper.

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

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

virtual PMeshInfo MED::TTWrapper< eVersion >::CrMeshInfo ( TInt  theDim = 0,
TInt  theSpaceDim = 0,
const std::string &  theValue = "",
EMaillage  theType = eNON_STRUCTURE,
const std::string &  theDesc = "" 
)
virtualinherited

Creates a MEDWrapper MED Mesh representation.

Implements MED::TWrapper.

virtual PMeshInfo MED::TTWrapper< eVersion >::CrMeshInfo ( const PMeshInfo theInfo)
virtualinherited

A copy-constructor for the MEDWrapper MED Mesh representation.

Implements MED::TWrapper.

virtual PNodeInfo MED::TTWrapper< eVersion >::CrNodeInfo ( const PMeshInfo theMeshInfo,
TInt  theNbElem,
EModeSwitch  theMode = eFULL_INTERLACE,
ERepere  theSystem = eCART,
EBooleen  theIsElemNum = eVRAI,
EBooleen  theIsElemNames = eVRAI 
)
virtualinherited

Creates a MEDWrapper MED Nodes representation.

Implements MED::TWrapper.

virtual PNodeInfo MED::TTWrapper< eVersion >::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() 
)
virtualinherited

Creates a MEDWrapper MED Nodes representation.

Implements MED::TWrapper.

virtual PNodeInfo MED::TTWrapper< eVersion >::CrNodeInfo ( const PMeshInfo theMeshInfo,
const PNodeInfo theInfo 
)
virtualinherited

A copy-constructor for the MEDWrapper MED Nodes representation.

Implements MED::TWrapper.

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

Reimplemented from MED::TWrapper.

virtual PPolyedreInfo MED::TTWrapper< eVersion >::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() 
)
virtualinherited

Creates a MEDWrapper MED Polyedres representation.

This feature is support only for version of 2.2 and higher

Reimplemented from MED::TWrapper.

virtual PPolyedreInfo MED::TTWrapper< eVersion >::CrPolyedreInfo ( const PMeshInfo theMeshInfo,
const PPolyedreInfo theInfo 
)
virtualinherited

A copy-constructor for the MEDWrapper MED Polyedres representation.

Reimplemented from MED::TWrapper.

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

Creates a MEDWrapper MED Polygones representation.

This feature is supported only for version of 2.2 and higher

Reimplemented from MED::TWrapper.

virtual PPolygoneInfo MED::TTWrapper< eVersion >::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() 
)
virtualinherited

Creates a MEDWrapper MED Polygones representation.

This feature is supported only for version of 2.2 and higher

Reimplemented from MED::TWrapper.

virtual PPolygoneInfo MED::TTWrapper< eVersion >::CrPolygoneInfo ( const PMeshInfo theMeshInfo,
const PPolygoneInfo theInfo 
)
virtualinherited

A copy-constructor for the MEDWrapper MED Polygones representation.

Reimplemented from MED::TWrapper.

virtual PProfileInfo MED::TTWrapper< eVersion >::CrProfileInfo ( const TProfileInfo::TInfo theInfo,
EModeProfil  theMode = eCOMPACT 
)
virtualinherited

Creates a MEDWrapper MED PROFILE representation.

Implements MED::TWrapper.

virtual PTimeStampInfo MED::TTWrapper< eVersion >::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() 
)
virtualinherited

Creates a MEDWrapper MED TIMESTAMP representation.

Implements MED::TWrapper.

virtual PTimeStampInfo MED::TTWrapper< eVersion >::CrTimeStampInfo ( const PFieldInfo theFieldInfo,
const PTimeStampInfo theInfo 
)
virtualinherited

A copy-constructor for the MEDWrapper MED TIMESTAMP representation.

Implements MED::TWrapper.

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

Creates the values for MEDWrapper MED TIEMSTAMP representation.

References MED::eFLOAT64.

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

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

References MED::eFLOAT64.

virtual PTimeStampValueBase MED::TTWrapper< eVersion >::CrTimeStampValue ( const PTimeStampInfo theTimeStampInfo,
ETypeChamp  theTypeChamp,
const TGeom2Profile theGeom2Profile = TGeom2Profile(),
EModeSwitch  theMode = eFULL_INTERLACE 
)
virtualinherited

Creates the values for MEDWrapper MED TIEMSTAMP representation.

Implements MED::TWrapper.

References MED::eFLOAT64.

virtual PTimeStampValueBase MED::TTWrapper< eVersion >::CrTimeStampValue ( const PTimeStampInfo theTimeStampInfo,
const PTimeStampValueBase theInfo,
ETypeChamp  theTypeChamp 
)
virtualinherited

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

Implements MED::TWrapper.

References MED::eFLOAT64.

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

Creates the values for MEDWrapper MED TIEMSTAMP representation.

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

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

EGeometrieElement MED::V2_2::TVWrapper::GetBallGeom ( const TMeshInfo theMeshInfo)

Read geom type of MED_BALL structural element.

References MED::V2_2::eLECTURE, and myFile.

Referenced by GetBallInfo(), GetNbBalls(), and SetBallInfo().

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

Read a MEDWrapped representation of MED_BALL from the MED file.

Reimplemented from MED::TWrapper.

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

TEntityInfo MED::V2_2::TVWrapper::GetEntityInfo ( const MED::TMeshInfo theMeshInfo,
EConnectivite  theConnMode = eNOD,
TErr theErr = NULL 
)
virtual
void MED::V2_2::TVWrapper::GetFamilies ( TElemInfo theInfo,
TInt  theNb,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)
virtual

Read sequence MED Family indexes for any descendant of TElemInfo.

Reimplemented from MED::TWrapper.

References MED::eBALL, MED::V2_2::eLECTURE, MED::TElemInfo::myFamNum, MED::TElemInfo::myMeshInfo, and MED::TNameInfo::myName.

void MED::V2_2::TVWrapper::GetFamilyInfo ( TInt  theFamId,
MED::TFamilyInfo theInfo,
TErr theErr = NULL 
)
virtual
void MED::V2_2::TVWrapper::GetFieldInfo ( TInt  theFieldId,
MED::TFieldInfo theInfo,
TErr theErr = NULL 
)
virtual
void MED::V2_2::TVWrapper::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 from MED::TWrapper.

References MED::V2_2::eLECTURE, EXCEPTION, MED::TGaussInfo::myGaussCoord, MED::TModeSwitchInfo::myModeSwitch, MED::TNameInfo::myName, MED::TGaussInfo::myRefCoord, and MED::TGaussInfo::myWeight.

TGaussInfo::TInfo MED::V2_2::TVWrapper::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 from MED::TWrapper.

References MED::V2_2::eLECTURE, MED::ePOINT1, EXCEPTION, and MED::GetNOMLength< eV2_2 >().

void MED::V2_2::TVWrapper::GetGrilleStruct ( const MED::TMeshInfo theMeshInfo,
TIntVector theStruct,
TErr theErr = NULL 
)
void MED::V2_2::TVWrapper::GetGrilleType ( const MED::TMeshInfo theMeshInfo,
EGrilleType type,
TErr theErr = NULL 
)
virtual

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

Reimplemented from MED::TWrapper.

References MED::V2_2::eLECTURE, MED::eSTRUCTURE, EXCEPTION, MED::TNameInfo::myName, and MED::TMeshInfo::myType.

void MED::V2_2::TVWrapper::GetMeshInfo ( TInt  theMeshId,
MED::TMeshInfo theInfo,
TErr theErr = NULL 
)
virtual
void MED::V2_2::TVWrapper::GetNames ( TElemInfo theInfo,
TInt  theNb,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)
virtual
TInt MED::V2_2::TVWrapper::GetNbBalls ( const TMeshInfo theMeshInfo)
virtual

Read number of balls in the Mesh.

Reimplemented from MED::TWrapper.

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

Referenced by GetNbCells().

TInt MED::V2_2::TVWrapper::GetNbCells ( const MED::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 define mode of connectivity.

Implements MED::TWrapper.

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

Referenced by GetNbBalls().

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

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

Implements MED::TWrapper.

References MED::V2_2::eLECTURE.

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

Read number of attributes for defined MED Family.

Implements MED::TWrapper.

References MED::V2_2::eLECTURE, and MED::TNameInfo::myName.

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

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

Implements MED::TWrapper.

References MED::V2_2::eLECTURE, and MED::TNameInfo::myName.

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

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

Implements MED::TWrapper.

References MED::V2_2::eLECTURE, and MED::TNameInfo::myName.

TInt MED::V2_2::TVWrapper::GetNbFields ( TErr theErr = NULL)
virtual

Read number of MED FIELDS in defined MED Mesh.

Implements MED::TWrapper.

References MED::V2_2::eLECTURE.

TInt MED::V2_2::TVWrapper::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 from MED::TWrapper.

References MED::V2_2::eLECTURE.

TInt MED::V2_2::TVWrapper::GetNbMeshes ( TErr theErr = NULL)
virtual

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

Implements MED::TWrapper.

References MED::V2_2::eLECTURE.

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

Read number of nodes in defined MED Mesh.

Implements MED::TWrapper.

References MED::eCOOR, and MED::GetNbNodes().

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

Reimplemented from MED::TWrapper.

References MED::V2_2::eLECTURE, and MED::TNameInfo::myName.

TInt MED::V2_2::TVWrapper::GetNbPolyedres ( const TMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
EConnectivite  theConnMode,
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 from MED::TWrapper.

TInt MED::V2_2::TVWrapper::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 from MED::TWrapper.

TInt MED::V2_2::TVWrapper::GetNbProfiles ( TErr theErr = NULL)
virtual

Read number of MED PROFILES in defined MED Mesh.

Implements MED::TWrapper.

References MED::V2_2::eLECTURE.

TInt MED::V2_2::TVWrapper::GetNbTimeStamps ( const MED::TFieldInfo theInfo,
const MED::TEntityInfo theEntityInfo,
EEntiteMaillage theEntity,
TGeom2Size theGeom2Size,
TErr theErr = NULL 
)
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.

Implements MED::TWrapper.

References MED::V2_2::eLECTURE, MED::eMAILLE, MED::eNOEUD_ELEMENT, EXCEPTION, INITMSG, MED::TFieldInfo::myMeshInfo, and MED::TNameInfo::myName.

void MED::V2_2::TVWrapper::GetNumeration ( TElemInfo theInfo,
TInt  theNb,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)
virtual
PBallInfo MED::TWrapper::GetPBallInfo ( const PMeshInfo theMeshInfo)
virtualinherited

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 
)
inherited

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 
)
inherited

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 
)
inherited

Write a MEDWrapper MED Family representation by its number.

References INITMSG.

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

Read a MEDWrapper MED FIELD representation from defined MED file.

References INITMSG.

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

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 
)
inherited

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 
)
virtualinherited

Read a MEDWrapper MED Mesh representation by its number.

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

Read a MEDWrapper MED Nodes representation from defined MED file.

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

void MED::V2_2::TVWrapper::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 from MED::TWrapper.

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

void MED::V2_2::TVWrapper::GetPolyedreInfo ( TPolyedreInfo theInfo,
TErr theErr = NULL 
)
virtual
TInt MED::V2_2::TVWrapper::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 from MED::TWrapper.

References MED::V2_2::eLECTURE, EXCEPTION, and MED::TNameInfo::myName.

void MED::V2_2::TVWrapper::GetPolygoneInfo ( MED::TPolygoneInfo theInfo,
TErr theErr = NULL 
)
virtual
PPolyedreInfo MED::TWrapper::GetPPolyedreInfo ( const PMeshInfo theMeshInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
EConnectivite  theConnMode = eNOD 
)
inherited

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 
)
inherited

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 
)
inherited

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

References MED::GetProfileInfo().

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

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

Implements MED::TWrapper.

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

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

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

Implements MED::TWrapper.

References MED::V2_2::eLECTURE, EXCEPTION, and MED::GetNOMLength< eV2_2 >().

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

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 
)
inherited

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 
)
inherited

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

References MED::eFLOAT64.

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

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

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

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

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

Implements MED::TWrapper.

References MED::V2_2::eLECTURE, EXCEPTION, MED::GetNOMLength< eV2_2 >(), and INITMSG.

virtual EVersion MED::TTWrapper< eVersion >::GetVersion ( )
virtualinherited

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

Implements MED::TWrapper.

TVWrapper& MED::V2_2::TVWrapper::operator= ( const TVWrapper )
private
void MED::V2_2::TVWrapper::SetBallInfo ( const TBallInfo theInfo,
TErr theErr 
)
virtual

Write a MEDWrapped representation of MED_BALL to the MED file.

Reimplemented from MED::TWrapper.

References MED::V2_2::eLECTURE_ECRITURE.

void MED::V2_2::TVWrapper::SetBallInfo ( const TBallInfo theInfo,
EModeAcces  theMode,
TErr theErr 
)
void MED::V2_2::TVWrapper::SetCellInfo ( const MED::TCellInfo theInfo,
TErr theErr = NULL 
)
virtual

Write the MEDWrapper MED Cells representation into defined MED file.

Implements MED::TWrapper.

References MED::V2_2::eLECTURE_ECRITURE.

Referenced by SetBallInfo().

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

Write sequence MED Family indexes for any descendant of TElemInfo.

Reimplemented from MED::TWrapper.

References MED::V2_2::eLECTURE_ECRITURE.

void MED::V2_2::TVWrapper::SetFamilies ( const TElemInfo theInfo,
EModeAcces  theMode,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)
void MED::V2_2::TVWrapper::SetFamilyInfo ( const MED::TFamilyInfo theInfo,
TErr theErr = NULL 
)
virtual

Write a MEDWrapper MED Family representation by its number.

Implements MED::TWrapper.

References MED::V2_2::eLECTURE_AJOUT, and MED::V2_2::eLECTURE_ECRITURE.

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

Write MEDWrapper MED FIELD representation into defined MED file.

Implements MED::TWrapper.

References MED::V2_2::eLECTURE_AJOUT, and MED::V2_2::eLECTURE_ECRITURE.

void MED::V2_2::TVWrapper::SetGrilleInfo ( const MED::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 from MED::TWrapper.

References MED::V2_2::eLECTURE_ECRITURE.

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

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

Implements MED::TWrapper.

References MED::V2_2::eCREATION, MED::V2_2::eLECTURE_AJOUT, and MED::V2_2::eLECTURE_ECRITURE.

void MED::V2_2::TVWrapper::SetMeshInfo ( const MED::TMeshInfo theInfo,
EModeAcces  theMode,
TErr theErr = NULL 
)
void MED::V2_2::TVWrapper::SetNames ( const TElemInfo theInfo,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)
virtual

Write sequence of names for any descendant of TElemInfo.

Reimplemented from MED::TWrapper.

References MED::V2_2::eLECTURE_ECRITURE.

void MED::V2_2::TVWrapper::SetNames ( const TElemInfo theInfo,
EModeAcces  theMode,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)
void MED::V2_2::TVWrapper::SetNodeInfo ( const MED::TNodeInfo theInfo,
TErr theErr = NULL 
)
virtual

Write the MEDWrapper MED Nodes representation into defined MED file.

Implements MED::TWrapper.

References MED::V2_2::eLECTURE_AJOUT, and MED::V2_2::eLECTURE_ECRITURE.

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

Write sequence of numerous for any descendant of TElemInfo.

Reimplemented from MED::TWrapper.

References MED::V2_2::eLECTURE_ECRITURE.

void MED::V2_2::TVWrapper::SetNumeration ( const TElemInfo theInfo,
EModeAcces  theMode,
EEntiteMaillage  theEntity,
EGeometrieElement  theGeom,
TErr theErr = NULL 
)
void MED::V2_2::TVWrapper::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 from MED::TWrapper.

References MED::V2_2::eLECTURE_ECRITURE.

void MED::V2_2::TVWrapper::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 from MED::TWrapper.

References MED::V2_2::eLECTURE_ECRITURE.

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

Write a MEDWrapper MED PROFILE representation.

Implements MED::TWrapper.

References MED::V2_2::eCREATION, MED::V2_2::eLECTURE_AJOUT, and MED::V2_2::eLECTURE_ECRITURE.

void MED::V2_2::TVWrapper::SetProfileInfo ( const TProfileInfo theInfo,
EModeAcces  theMode,
TErr theErr = NULL 
)
void MED::TWrapper::SetTimeStamp ( const PTimeStampVal theVal,
TErr theErr = NULL 
)
virtualinherited

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

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

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

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

Implements MED::TWrapper.

References MED::V2_2::eLECTURE_AJOUT, and MED::V2_2::eLECTURE_ECRITURE.

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

Field Documentation

TMutex MED::TWrapper::myMutex
inherited

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