Belle II Software development
Serializable.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#ifndef _Belle2_Serializable_hh
9#define _Belle2_Serializable_hh
10
11namespace Belle2 {
17 class Reader;
18 class Writer;
19
21
22 public:
23 virtual ~Serializable() {}
24
25 public:
26 virtual void readObject(Reader&) = 0;
27 virtual void writeObject(Writer&) const = 0;
28
29 };
30
32}
33
34#endif
Abstract base class for different kinds of events.