Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef __PARAMEDMEM_TIMELABEL_HXX__
00021 #define __PARAMEDMEM_TIMELABEL_HXX__
00022
00023 #include "MEDCoupling.hxx"
00024
00025 namespace ParaMEDMEM
00026 {
00031 class MEDCOUPLING_EXPORT TimeLabel
00032 {
00033 public:
00034 TimeLabel& operator=(const TimeLabel& other);
00036 void declareAsNew() const;
00038 virtual void updateTime() const = 0;
00039 unsigned int getTimeOfThis() const { return _time; }
00040 protected:
00041 TimeLabel();
00042 virtual ~TimeLabel();
00043 void updateTimeWith(const TimeLabel& other) const;
00044 private:
00045 static unsigned int GLOBAL_TIME;
00046 mutable unsigned int _time;
00047 };
00048 }
00049
00050 #endif