Go to the documentation of this file.00001 #ifndef wali_MARKABLE_GUARD
00002 #define wali_MARKABLE_GUARD 1
00003
00004
00005
00006
00007
00008 #include "wali/IMarkable.hpp"
00009
00010 namespace wali
00011 {
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 class Markable : public virtual IMarkable
00023 {
00024 public:
00025
00026
00027 Markable();
00028
00029
00030
00031
00032
00033
00034
00035
00036 Markable( const Markable& m );
00037
00038
00039
00040
00041
00042
00043 Markable& operator=( const Markable& m );
00044
00045 virtual ~Markable();
00046
00047
00048 virtual void mark() const throw();
00049
00050
00051 virtual void unmark() const throw();
00052
00053
00054
00055
00056
00057
00058 virtual bool marked() const throw();
00059
00060 private:
00061
00062 mutable bool marker;
00063
00064 };
00065
00066 }
00067
00068 #endif // wali_MARKABLE_GUARD
00069