OPAL (Object Oriented Parallel Accelerator Library)  2021.1.99
OPAL
Invalidator.h
Go to the documentation of this file.
1 #ifndef OPAL_Invalidator_HH
2 #define OPAL_Invalidator_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: Invalidator.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: Invalidator
13 //
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/29 10:40:35 $
17 // $Author: opal $
18 //
19 // ------------------------------------------------------------------------
20 
21 
22 // Class Invalidator
23 // ------------------------------------------------------------------------
25 // object goes out of scope.
26 
27 class Invalidator {
28 
29 public:
30 
32  // Set an internal flag so as to force re-evaluation of any expression
33  // when the value is referred next time.
34  virtual void invalidate();
35 };
36 
37 #endif // OPAL_Invalidator_HH
Abstract base class for references which must be invalidated when an.
Definition: Invalidator.h:27
virtual void invalidate()
Force re-evaluation.
Definition: Invalidator.cpp:27