Bayeux  3.4.1
Core Foundation library for SuperNEMO
i_clear.h
Go to the documentation of this file.
1 
3 #ifndef DATATOOLS_I_CLEAR_H
4 #define DATATOOLS_I_CLEAR_H
5 
6 namespace datatools {
7 
9  class i_clear
10  {
11  public:
12 
14  virtual ~i_clear();
15 
17  virtual void clear() = 0;
18 
19  };
20 
21 } // end of namespace datatools
22 
23 #endif // DATATOOLS_I_CLEAR_H
24 
25 // Local Variables: --
26 // mode: c++ --
27 // c-file-style: "gnu" --
28 // tab-width: 2 --
29 // End: --
virtual void clear()=0
Clear (reset) the object's internals (typically empty a container)
virtual ~i_clear()
Destructor.
A pure abstract class (interface) for inherited clearable classes.
Definition: i_clear.h:9
The Bayeux/datatools library top-level namespace.
Definition: algo.h:13