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

Public Member Functions

void declareAsNew () const
 
std::size_t getTimeOfThis () const
 
TimeLabeloperator= (const TimeLabel &other)
 
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::TimeLabel ( )
protected
TimeLabel::~TimeLabel ( )
protectedvirtual

Member Function Documentation

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

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

Referenced by MEDCoupling::DataArrayDouble::abs(), MEDCoupling::DataArrayInt::abs(), MEDCoupling::DataArrayDouble::addEqual(), MEDCoupling::DataArrayInt::addEqual(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::addPatch(), MEDCoupling::MEDCouplingUMesh::allocateCells(), MEDCoupling::MEDCoupling1SGTUMesh::allocateCells(), MEDCoupling::MEDCoupling1DGTUMesh::allocateCells(), MEDCoupling::DataArrayInt::applyDivideBy(), MEDCoupling::DataArrayDouble::applyFuncFast32(), MEDCoupling::DataArrayDouble::applyFuncFast64(), MEDCoupling::DataArrayDouble::applyInv(), MEDCoupling::DataArrayInt::applyInv(), MEDCoupling::DataArrayDouble::applyLin(), MEDCoupling::DataArrayInt::applyLin(), MEDCoupling::DataArrayInt::applyModulus(), MEDCoupling::DataArrayDouble::applyPow(), MEDCoupling::DataArrayInt::applyPow(), MEDCoupling::DataArrayInt::applyRModulus(), MEDCoupling::DataArrayDouble::applyRPow(), MEDCoupling::DataArrayInt::applyRPow(), MEDCoupling::DataArrayInt::changeValue(), MEDCoupling::DataArrayInt::computeOffsets(), MEDCoupling::DataArrayInt::computeOffsetsFull(), MEDCoupling::MEDCouplingIMesh::copyTinyStringsFrom(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::createPatchesFromCriterion(), MEDCoupling::MEDCouplingCartesianAMRMeshSub::detachFromFather(), MEDCoupling::DataArrayDouble::divideEqual(), MEDCoupling::DataArrayInt::divideEqual(), MEDCoupling::MEDCouplingUMesh::finishInsertingCells(), MEDCoupling::DataArrayTemplate< char >::getPointer(), MEDCoupling::DataArrayDouble::iota(), MEDCoupling::DataArrayInt::iota(), MEDCoupling::DataArrayInt::modulusEqual(), MEDCoupling::DataArrayDouble::multiplyEqual(), MEDCoupling::DataArrayInt::multiplyEqual(), MEDCoupling::MEDCouplingUMesh::orientCorrectly2DCells(), MEDCoupling::DataArrayDouble::powEqual(), MEDCoupling::DataArrayInt::powEqual(), MEDCoupling::MEDCouplingIMesh::refineWithFactor(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::removeAllPatches(), MEDCoupling::MEDCouplingCartesianAMRMeshGen::removePatch(), MEDCoupling::MEDCouplingUMesh::renumberNodesInConn(), MEDCoupling::MEDCouplingUMesh::renumberNodesWithOffsetInConn(), MEDCoupling::MEDCouplingPointSet::rotate(), MEDCoupling::MEDCouplingCMesh::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::DataArrayTemplate< char >::setIJ(), MEDCoupling::MEDCouplingField::setMesh(), MEDCoupling::MEDCouplingUMesh::setMeshDimension(), MEDCoupling::MEDCoupling1SGTUMesh::setNodalConnectivity(), MEDCoupling::MEDCoupling1DGTUMesh::setNodalConnectivity(), MEDCoupling::MEDCouplingIMesh::setNodeStruct(), MEDCoupling::MEDCouplingIMesh::setOrigin(), MEDCoupling::MEDCouplingIMesh::setSpaceDimension(), MEDCoupling::MEDCouplingUMesh::shiftNodeNumbersInConn(), MEDCoupling::MEDCoupling1SGTUMesh::sortHexa8EachOther(), MEDCoupling::DataArrayDouble::sortPerTuple(), MEDCoupling::DataArrayDouble::substractEqual(), MEDCoupling::DataArrayInt::substractEqual(), MEDCoupling::DataArrayInt::transformWithIndArr(), MEDCoupling::MEDCouplingIMesh::translate(), MEDCoupling::MEDCouplingPointSet::translate(), and MEDCoupling::MEDCouplingIMesh::unserialization().

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

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