Belle II Software  release-08-01-10
NodeCompatibilityCheckerBase.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 #pragma once
9 
10 namespace Belle2 {
17  template<class NodeType>
19 
21  bool areCompatible(NodeType*, NodeType*) { return true; }
22  };
23 
25 } //Belle2 namespace
NodeType
Enum of possible Nodes in parsing tree.
Abstract base class for different kinds of events.
most trivial node compatibility checker, says always true
bool areCompatible(NodeType *, NodeType *)
declares all nodes passed as compatible