Version: 6.3.1
Public Member Functions | Protected Member Functions | Private Attributes | Static Private Attributes

ParaMEDMEM.TimeLabel Class Reference

#include <MEDCouplingTimeLabel.hxx>

Inheritance diagram for ParaMEDMEM.TimeLabel:
Inheritance graph

Public Member Functions

TimeLabeloperator= (const TimeLabel &other)
void declareAsNew () const
 This method should be called when write access has been done on this.
virtual void updateTime () const =0
 This method should be called on high level classes as Field or Mesh to take into acount modifications done in aggragates objects.
unsigned int getTimeOfThis () const

Protected Member Functions

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

Private Attributes

unsigned int _time

Static Private Attributes

static unsigned int GLOBAL_TIME = 0

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 ( ) [protected, virtual]

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.

References ParaMEDMEM.TimeLabel._time, and ParaMEDMEM.TimeLabel.GLOBAL_TIME.

virtual void ParaMEDMEM.TimeLabel.updateTime ( ) const [pure virtual]
unsigned int ParaMEDMEM.TimeLabel.getTimeOfThis ( ) const
void TimeLabel::updateTimeWith ( const TimeLabel other) const [protected]

Field Documentation

unsigned int TimeLabel::GLOBAL_TIME = 0 [static, private]
unsigned int ParaMEDMEM.TimeLabel._time [mutable, private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS