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) |
|
virtual |
std::size_t BigMemoryObject::getHeapMemorySize | ( | ) | const |
References getDirectChildren(), and getHeapMemorySizeWithoutChildren().
Referenced by getHeapMemorySizeStr().
std::string BigMemoryObject::getHeapMemorySizeStr | ( | ) | const |
References getHeapMemorySize().
std::vector< const BigMemoryObject * > BigMemoryObject::getDirectChildren | ( | ) | const |
References getDirectChildrenWithNull().
Referenced by getAllTheProgeny(), and getHeapMemorySize().
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.
References getAllTheProgeny().
Referenced by MEDCoupling::MEDCouplingCartesianAMRMeshGen::extractSubTreeFromGlobalFlatten().
|
static |
|
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().
|
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::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::MEDCouplingPointSet, MEDCoupling::MEDCouplingUMesh, MEDCoupling::MEDCouplingFieldDiscretization, MEDCoupling::MEDFileMesh, MEDCoupling::MEDCouplingMappedExtrudedMesh, MEDCoupling::MEDFileData, MEDCoupling::MEDCouplingCMesh, and MEDCoupling::MEDCouplingCurveLinearMesh.
Referenced by getDirectChildren().