Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MEDCoupling::MEDFileData Class Reference
Inheritance diagram for MEDCoupling::MEDFileData:
Collaboration diagram for MEDCoupling::MEDFileData:

Public Member Functions

bool changeMeshName (const std::string &oldMeshName, const std::string &newMeshName)
 
bool changeMeshNames (const std::vector< std::pair< std::string, std::string > > &modifTab)
 
void dealWithStructureElements ()
 
MEDFileDatadeepCopy () const
 
std::vector< const
BigMemoryObject * > 
getDirectChildrenWithNull () const
 
MEDFileFieldsgetFields () const
 
std::string getHeader () const
 
std::size_t getHeapMemorySizeWithoutChildren () const
 
MEDFileMeshesgetMeshes () const
 
int getNumberOfFields () const
 
int getNumberOfMeshes () const
 
int getNumberOfParams () const
 
MEDFileParametersgetParams () const
 
void setFields (MEDFileFields *fields)
 
void setHeader (const std::string &header)
 
void setMeshes (MEDFileMeshes *meshes)
 
void setParams (MEDFileParameters *params)
 
std::string simpleRepr () const
 
bool unPolyzeMeshes ()
 
void writeLL (med_idt fid) const
 

Static Public Member Functions

static MCAuto< MEDFileDataAggregate (const std::vector< const MEDFileData * > &mfds)
 
static MEDFileDataNew (const std::string &fileName)
 
static MEDFileDataNew (med_idt fid)
 
static MEDFileDataNew ()
 
static MEDFileDataNew (DataArrayByte *db)
 

Additional Inherited Members

- Protected Member Functions inherited from MEDCoupling::RefCountObject
 RefCountObject ()
 
 RefCountObject (const RefCountObject &other)
 
virtual ~RefCountObject ()
 

Detailed Description

User class.

Member Function Documentation

MEDFileData * MEDFileData::New ( const std::string &  fileName)
static

References New().

MEDFileData * MEDFileData::New ( med_idt  fid)
static
MEDFileData * MEDFileData::New ( )
static

Referenced by Aggregate(), deepCopy(), and New().

static MEDFileData* MEDCoupling::MEDFileData::New ( DataArrayByte db)
static
MEDFileData * MEDFileData::deepCopy ( ) const
std::size_t MEDFileData::getHeapMemorySizeWithoutChildren ( ) const
virtual
std::vector< const BigMemoryObject * > MEDFileData::getDirectChildrenWithNull ( ) const
virtual
MEDFileFields * MEDFileData::getFields ( ) const

Return a borrowed reference (caller is not responsible for object destruction)

Referenced by Aggregate().

MEDFileMeshes * MEDFileData::getMeshes ( ) const

Return a borrowed reference (caller is not responsible for object destruction)

Referenced by Aggregate().

MEDFileParameters * MEDFileData::getParams ( ) const

Return a borrowed reference (caller is not responsible for object destruction)

void MEDFileData::setFields ( MEDFileFields fields)
void MEDFileData::setMeshes ( MEDFileMeshes meshes)
void MEDFileData::setParams ( MEDFileParameters params)
int MEDFileData::getNumberOfFields ( ) const
int MEDFileData::getNumberOfMeshes ( ) const
int MEDFileData::getNumberOfParams ( ) const
std::string MEDFileData::getHeader ( ) const
void MEDFileData::setHeader ( const std::string &  header)
bool MEDFileData::changeMeshNames ( const std::vector< std::pair< std::string, std::string > > &  modifTab)
bool MEDFileData::changeMeshName ( const std::string &  oldMeshName,
const std::string &  newMeshName 
)

References changeMeshNames().

bool MEDFileData::unPolyzeMeshes ( )

This method performs unpolyzation in meshes in this and if it leads to a modification to one or more than one meshes in this the fields are automatically renumbered (for those impacted, that is to say here fields on cells and fields on gauss points on impacted fields)

Returns
If true is returned it means that some meshes in this has been modified and eventually fields have been renumbered.
If false this remains unchanged.

References MEDCoupling::MEDFileMeshes::getMeshAtPos(), MEDCoupling::MEDFileMeshes::getNumberOfMeshes(), MEDCoupling::MEDFileFields::renumberEntitiesLyingOnMesh(), and MEDCoupling::MEDFileMesh::unPolyze().

void MEDFileData::dealWithStructureElements ( )
MCAuto< MEDFileData > MEDFileData::Aggregate ( const std::vector< const MEDFileData * > &  mfds)
static
void MEDFileData::writeLL ( med_idt  fid) const