Version: 9.14.0
MEDCoupling::TimeLabel Class Referenceabstract
Inheritance diagram for MEDCoupling::TimeLabel:

Public Member Functions

void declareAsNew () const
 
std::size_t getTimeOfThis () const
 
TimeLabeloperator= (const TimeLabel &other)
 
 TimeLabel (const TimeLabel &other)=default
 
virtual void updateTime () const =0
 

Protected Member Functions

void forceTimeOfThis (const TimeLabel &other) const
 
 TimeLabel ()
 
void updateTimeWith (const TimeLabel &other) const
 
virtual ~TimeLabel ()
 

Detailed Description

Class representing a label of time of the lastely modified part of this. More _time is high more the object has been modified recently.

Constructor & Destructor Documentation

◆ TimeLabel() [1/2]

MEDCoupling::TimeLabel::TimeLabel ( const TimeLabel other)
default

◆ TimeLabel() [2/2]

TimeLabel::TimeLabel ( )
protected

◆ ~TimeLabel()

TimeLabel::~TimeLabel ( )
protectedvirtual

Member Function Documentation

◆ operator=()

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

◆ declareAsNew()

void TimeLabel::declareAsNew ( ) const

This method should be called when write access has been done on this.

Referenced by MEDCoupling::MEDCouplingCartesianAMRMeshGen::addPatch(), MEDCoupling::MEDCoupling1SGTUMesh::allocateCells(), MEDCoupling::MEDCoupling1DGTUMesh::allocateCells(), MEDCoupling::MEDCouplingUMesh::allocateCells(), MEDCoupling::DataArrayDouble::applyFuncFast32(), MEDCoupling::DataArrayDouble::applyFuncFast64(), MEDCoupling::DataArrayDouble::applyInv(), MEDCoupling::DataArrayDouble::applyPow(), MEDCoupling::DataArrayDouble::applyRPow(), MEDCoupling::MEDCouplingIMesh::copyTinyStringsFrom(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::createPatchesFromCriterion(), MEDCoupling::MEDCouplingCartesianAMRMeshSub::detachFromFather(), MEDCoupling::DataArrayDouble::powEqual(), MEDCoupling::MEDCouplingIMesh::refineWithFactor(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::removeAllPatches(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::removePatch(), MEDCoupling::MEDCouplingCurveLinearMesh::rotate(), MEDCoupling::MEDCouplingPointSet::rotate(), MEDCoupling::MEDCouplingCMesh::scale(), MEDCoupling::MEDCouplingCurveLinearMesh::scale(), MEDCoupling::MEDCouplingIMesh::scale(), MEDCoupling::MEDCouplingPointSet::scale(), MEDCoupling::MEDCouplingTimeDiscretizationTemplate< T >::setArray(), MEDCoupling::MEDCouplingFieldDiscretizationPerCell::setArrayOfDiscIds(), MEDCoupling::MEDCouplingIMesh::setAxisUnit(), MEDCoupling::MEDCouplingUMesh::setConnectivity(), MEDCoupling::MEDCouplingCurveLinearMesh::setCoords(), MEDCoupling::MEDCouplingPointSet::setCoords(), MEDCoupling::MEDCouplingCMesh::setCoords(), MEDCoupling::MEDCouplingCMesh::setCoordsAt(), MEDCoupling::MEDCouplingField::setDiscretization(), MEDCoupling::MEDCouplingIMesh::setDXYZ(), MEDCoupling::MEDCouplingTwoTimeSteps::setEndArray(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::setFactors(), MEDCoupling::MEDCouplingField::setMesh(), MEDCoupling::MEDCouplingUMesh::setMeshDimension(), MEDCoupling::MEDCoupling1SGTUMesh::setNodalConnectivity(), MEDCoupling::MEDCoupling1DGTUMesh::setNodalConnectivity(), MEDCoupling::MEDCouplingIMesh::setNodeStruct(), MEDCoupling::MEDCouplingIMesh::setOrigin(), MEDCoupling::MEDCouplingIMesh::setSpaceDimension(), MEDCoupling::MEDCoupling1SGTUMesh::sortHexa8EachOther(), MEDCoupling::MEDCouplingCurveLinearMesh::translate(), MEDCoupling::MEDCouplingIMesh::translate(), MEDCoupling::MEDCouplingPointSet::translate(), and MEDCoupling::MEDCouplingIMesh::unserialization().

◆ updateTime()

◆ getTimeOfThis()

◆ updateTimeWith()

◆ forceTimeOfThis()

void TimeLabel::forceTimeOfThis ( const TimeLabel other) const
protected

This method has to be called with a lot of care. It set aggressively the time in this with the time in other.