AssnsBase.h
Go to the documentation of this file.
1 #ifndef canvas_Persistency_Common_AssnsBase_h
2 #define canvas_Persistency_Common_AssnsBase_h
3 // vim: set sw=2:
4 
5 namespace art::detail {
6  // The following base class is provided so that the ROOT I/O
7  // system can appropriately handle transient data without having
8  // to use a template, which would introduce more coupling of Assns
9  // with ROOT than is desired.
10  class AssnsBase {
11  public:
12  virtual ~AssnsBase() noexcept = default;
13  virtual void fill_transients() = 0;
14  virtual void fill_from_transients() = 0;
15  };
16 }
17 #endif /* canvas_Persistency_Common_AssnsBase_h */
18 
19 // Local Variables:
20 // mode: c++
21 // End:
virtual void fill_transients()=0
virtual ~AssnsBase() noexcept=default
virtual void fill_from_transients()=0