ATLAS Offline Software
NavigableTerminalNode.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef NAVIGATION_NAVIGABLETERMINALNODE_H
6 #define NAVIGATION_NAVIGABLETERMINALNODE_H
7 
9 // Termination handling //
11 
12 #include "Navigation/INavigable.h"
13 
14 #include <any>
15 
16 //template<>
17 //class Navigable< NavigationDefaults::TerminalNode >
18 class NavigableTerminalNode : virtual public INavigable
19 {
20  public:
21 
22  // suppress compiler warnings
23  // typedef NavigationDefaults::DefaultType constituent_coll;
24  // typedef NavigationDefaults::DefaultType constituent_iter;
25  // typedef NavigationDefaults::DefaultType constituent_const_iter;
26 
28  virtual ~NavigableTerminalNode() = default;
29 
30  // implement INavigable::fillToken(...) as "do-nothing"
31  virtual void fillToken( INavigationToken & ) const { };
32  virtual void fillToken( INavigationToken &, const std::any& ) const { };
33 };
34 #endif
INavigable.h
NavigableTerminalNode
Dummy type needed fro specialized implementation.
Definition: NavigableTerminalNode.h:19
NavigableTerminalNode::NavigableTerminalNode
NavigableTerminalNode()
Definition: NavigableTerminalNode.h:27
INavigationToken
Definition: INavigationToken.h:24
INavigable
Definition: INavigable.h:18
NavigableTerminalNode::~NavigableTerminalNode
virtual ~NavigableTerminalNode()=default
NavigableTerminalNode::fillToken
virtual void fillToken(INavigationToken &, const std::any &) const
Definition: NavigableTerminalNode.h:32
NavigableTerminalNode::fillToken
virtual void fillToken(INavigationToken &) const
Definition: NavigableTerminalNode.h:31