Version: 9.12.0
MEDCoupling::RefCountObjectOnly Class Reference
Inheritance diagram for MEDCoupling::RefCountObjectOnly:

Public Member Functions

bool decrRef () const
 
int getRCValue () const
 
void incrRef () const
 
RefCountObjectOnlyoperator= (const RefCountObjectOnly &other)
 

Protected Member Functions

 RefCountObjectOnly ()
 
 RefCountObjectOnly (const RefCountObjectOnly &other)
 
virtual ~RefCountObjectOnly ()
 

Constructor & Destructor Documentation

◆ RefCountObjectOnly() [1/2]

RefCountObjectOnly::RefCountObjectOnly ( )
protected

◆ RefCountObjectOnly() [2/2]

RefCountObjectOnly::RefCountObjectOnly ( const RefCountObjectOnly other)
protected

◆ ~RefCountObjectOnly()

RefCountObjectOnly::~RefCountObjectOnly ( )
protectedvirtual

Member Function Documentation

◆ decrRef()

bool RefCountObjectOnly::decrRef ( ) const

Referenced by MEDCoupling::InterpolationMatrix::addContribution(), MEDCoupling::DataArrayDouble::applyFunc(), MEDCoupling::MEDCouplingCurveLinearMesh::buildOrthogonalField(), MEDCoupling::MEDCouplingPointSet::changeSpaceDimension(), MEDCoupling::MEDCouplingTwoTimeSteps::checkForUnserialization(), MEDCoupling::DataArrayDouble::determinant(), MEDCoupling::MEDCouplingUMesh::findCellIdsOnBoundary(), MEDCoupling::MEDCouplingCMesh::getMeasureField(), MEDCoupling::MEDCouplingIMesh::getMeasureField(), MEDCoupling::ParaFIELD::ParaFIELD(), MEDCoupling::ParaFIELD::release(), MEDCoupling::MEDCouplingPointSet::renumberNodesCenter(), MEDCoupling::MEDCouplingMappedExtrudedMesh::resizeForUnserialization(), MEDCoupling::MEDCouplingTwoTimeSteps::resizeForUnserialization(), MEDCoupling::MEDCouplingMappedExtrudedMesh::serialize(), MEDCoupling::MEDCouplingPointSet::setCoords(), MEDCoupling::MEDCouplingCMesh::setCoords(), MEDCoupling::MEDCouplingTwoTimeSteps::setEndArray(), MEDCoupling::MEDCouplingField::setMesh(), MEDCoupling::InterpKernelDEC::synchronize(), MEDCoupling::MEDCouplingMappedExtrudedMesh::unserialization(), MEDCoupling::MEDCouplingField::~MEDCouplingField(), MEDCoupling::MEDCouplingPointSet::~MEDCouplingPointSet(), MEDCoupling::MEDCouplingTwoTimeSteps::~MEDCouplingTwoTimeSteps(), MEDCoupling::MEDCouplingUMeshCellByTypeEntry::~MEDCouplingUMeshCellByTypeEntry(), MEDCoupling::MEDCouplingUMeshCellByTypeIterator::~MEDCouplingUMeshCellByTypeIterator(), MEDCoupling::MEDCouplingUMeshCellEntry::~MEDCouplingUMeshCellEntry(), and MEDCoupling::MEDCouplingUMeshCellIterator::~MEDCouplingUMeshCellIterator().

◆ incrRef()

void RefCountObjectOnly::incrRef ( ) const

Referenced by MEDCoupling::MEDFileAnyTypeFieldMultiTSWithoutSDA::buildFromTimeStepIds(), MEDCoupling::MEDFileAnyTypeFieldMultiTSWithoutSDA::buildFromTimeStepIds2(), MEDCoupling::MEDFileAnyTypeField1TS::BuildNewInstanceFromContent(), MEDCoupling::MEDFileAnyTypeFieldMultiTS::BuildNewInstanceFromContent(), MEDCoupling::MEDCouplingUMesh::buildPartOfMySelf(), MEDCoupling::MEDCouplingUMesh::buildPartOfMySelfSlice(), MEDCoupling::MEDCouplingMesh::buildPartRange(), MEDCoupling::MEDCouplingPointSet::buildPartRange(), MEDCoupling::MEDCouplingUMesh::buildUnstructured(), MEDCoupling::MEDFileUMesh::cartesianize(), MEDCoupling::MEDFileCMesh::cartesianize(), MEDCoupling::MEDFileCurveLinearMesh::cartesianize(), MEDCoupling::MEDCouplingDataForGodFather::changeGodFather(), MEDCoupling::MEDCouplingTwoTimeSteps::checkForUnserialization(), MEDCoupling::MEDCouplingCartesianAMRMesh::createPatchesFromCriterionML(), MEDCoupling::MEDCouplingCurveLinearMesh::getCoordinatesAndOwner(), MEDCoupling::MEDCouplingPointSet::getCoordinatesAndOwner(), MEDCoupling::MEDFileStructuredMesh::getMeshAtLevel(), MEDCoupling::MEDCouplingDataForGodFather::MEDCouplingDataForGodFather(), MEDCoupling::MEDCouplingField::MEDCouplingField(), MEDCoupling::MEDCouplingUMeshCellByTypeEntry::MEDCouplingUMeshCellByTypeEntry(), MEDCoupling::MEDCouplingUMeshCellByTypeIterator::MEDCouplingUMeshCellByTypeIterator(), MEDCoupling::MEDCouplingUMeshCellEntry::MEDCouplingUMeshCellEntry(), MEDCoupling::MEDCouplingUMeshCellIterator::MEDCouplingUMeshCellIterator(), MEDCoupling::MEDFileAnyTypeField1TS::MEDFileAnyTypeField1TS(), MEDCoupling::MEDFileAnyTypeFieldMultiTS::MEDFileAnyTypeFieldMultiTS(), MEDCoupling::MEDFileAnyTypeFieldMultiTSIterator::MEDFileAnyTypeFieldMultiTSIterator(), MEDCoupling::MEDFileFieldsIterator::MEDFileFieldsIterator(), MEDCoupling::MEDFileMeshesIterator::MEDFileMeshesIterator(), MEDCoupling::ParaFIELD::ParaFIELD(), MEDCoupling::MEDFileFields::partOfThisLyingOnSpecifiedMeshName(), MEDCoupling::MEDFileAnyTypeFieldMultiTS::pushBackTimeStep(), MEDCoupling::MEDFileParameters::pushParam(), MEDCoupling::ReadMeshFromFile(), MEDCoupling::MEDCouplingPointSet::serialize(), MEDCoupling::MEDCouplingCurveLinearMesh::setCoords(), MEDCoupling::MEDCouplingPointSet::setCoords(), MEDCoupling::MEDCouplingCMesh::setCoords(), MEDCoupling::MEDCouplingCMesh::setCoordsAt(), MEDCoupling::MEDFileUMesh::setCoordsForced(), MEDCoupling::MEDCouplingField::setDiscretization(), MEDCoupling::MEDCouplingTwoTimeSteps::setEndArray(), MEDCoupling::MEDFileUMesh::setGroupsFromScratch(), MEDCoupling::MEDFileUMesh::setGroupsOnSetMesh(), MEDCoupling::MEDCouplingField::setMesh(), MEDCoupling::MEDFileCMesh::setMesh(), MEDCoupling::MEDFileCurveLinearMesh::setMesh(), MEDCoupling::MEDFileStructuredMesh::setNameFieldAtLevel(), MEDCoupling::MEDFileMeshMultiTS::setOneTimeStep(), MEDCoupling::MEDFileParameters::setParamAtPos(), MEDCoupling::MEDFileAnyTypeField1TSWithoutSDA::splitMultiDiscrPerGeoTypes(), and MEDCoupling::MEDCouplingPointSet::tryToShareSameCoordsPermute().

◆ getRCValue()

int RefCountObjectOnly::getRCValue ( ) const

◆ operator=()

RefCountObjectOnly & RefCountObjectOnly::operator= ( const RefCountObjectOnly other)

Do nothing here ! It is not a bug ( I hope :) ) because all subclasses that copies using operator= should not copy the ref counter of other !