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

Public Member Functions

std::vector< const
BigMemoryObject * > 
getAllTheProgeny () const
 
std::vector< const
BigMemoryObject * > 
getDirectChildren () const
 
virtual std::vector< const
BigMemoryObject * > 
getDirectChildrenWithNull () const =0
 
std::size_t getHeapMemorySize () const
 
std::string getHeapMemorySizeStr () const
 
virtual std::size_t getHeapMemorySizeWithoutChildren () const =0
 
bool isObjectInTheProgeny (const BigMemoryObject *obj) const
 
virtual ~BigMemoryObject ()
 

Static Public Member Functions

static std::size_t GetHeapMemorySizeOfObjs (const std::vector< const BigMemoryObject * > &objs)
 

Constructor & Destructor Documentation

BigMemoryObject::~BigMemoryObject ( )
virtual

Member Function Documentation

std::size_t BigMemoryObject::getHeapMemorySize ( ) const
std::string BigMemoryObject::getHeapMemorySizeStr ( ) const

References getHeapMemorySize().

std::vector< const BigMemoryObject * > BigMemoryObject::getDirectChildren ( ) const
std::vector< const BigMemoryObject * > BigMemoryObject::getAllTheProgeny ( ) const

This method returns all the progeny of this (this is not included in returned vector). All the progeny means all the subobjects (children), subsubobjects (little children), ... of this. The elements in returned array are reported only once even if they appear several times in the progeny of this.

References getDirectChildren().

Referenced by isObjectInTheProgeny().

bool BigMemoryObject::isObjectInTheProgeny ( const BigMemoryObject obj) const

This method scan all the progeny of this (this excluded) to see if obj is part of it. If obj is NULL false is returned.

See Also
BigMemoryObject::getAllTheProgeny

References getAllTheProgeny().

Referenced by MEDCoupling::MEDCouplingCartesianAMRMeshGen::extractSubTreeFromGlobalFlatten().

std::size_t BigMemoryObject::GetHeapMemorySizeOfObjs ( const std::vector< const BigMemoryObject * > &  objs)
static
virtual std::size_t MEDCoupling::BigMemoryObject::getHeapMemorySizeWithoutChildren ( ) const
pure virtual

Implemented in MEDCoupling::MEDFileFields, MEDCoupling::MEDFileAnyTypeFieldMultiTS, MEDCoupling::MEDFileAnyTypeFieldMultiTSWithoutSDA, MEDCoupling::MEDFileAnyTypeField1TS, MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA, MEDCoupling::MEDFileMeshes, MEDCoupling::MEDFileMeshMultiTS, MEDCoupling::MEDFileCurveLinearMesh, MEDCoupling::MEDFileCMesh, MEDCoupling::MEDCouplingTwoTimeSteps, MEDCoupling::MEDFileStructuredMesh, MEDCoupling::MEDFileUMesh, MEDCoupling::MEDCouplingFieldDiscretizationGauss, MEDCoupling::DataArrayTemplate< T >, MEDCoupling::DataArrayTemplate< double >, MEDCoupling::DataArrayTemplate< int >, MEDCoupling::DataArrayTemplate< char >, MEDCoupling::MEDCouplingFieldDiscretizationPerCell, MEDCoupling::MEDCouplingCartesianAMRMeshGen, MEDCoupling::MEDCoupling1DGTUMesh, MEDCoupling::MEDCouplingAMRAttribute, MEDCoupling::MEDFileParameters, MEDCoupling::DataArray, MEDCoupling::MEDFileParameterMultiTS, MEDCoupling::MEDFileParameterDouble1TS, MEDCoupling::MEDFileFieldLoc, MEDCoupling::MEDCoupling1SGTUMesh, MEDCoupling::MEDCouplingFieldDouble, MEDCoupling::MEDCouplingField, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< double >, MEDCoupling::MEDCouplingTimeDiscretizationTemplate< int >, MEDCoupling::MEDFileParameterDouble1TSWTI, MEDCoupling::MEDCouplingIMesh, MEDCoupling::MEDCouplingMesh, MEDCoupling::MEDCouplingPointSet, MEDCoupling::MEDCoupling1GTUMesh, MEDCoupling::MEDCouplingUMesh, MEDCoupling::MEDCouplingFieldDiscretization, MEDCoupling::MEDFileMesh, MEDCoupling::MEDCouplingStructuredMesh, MEDCoupling::MEDCouplingMappedExtrudedMesh, MEDCoupling::MEDFileData, MEDCoupling::MEDCouplingCMesh, and MEDCoupling::MEDCouplingCurveLinearMesh.

Referenced by getHeapMemorySize().

virtual std::vector<const BigMemoryObject *> MEDCoupling::BigMemoryObject::getDirectChildrenWithNull ( ) const
pure virtual