Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
HepRepSelectFilter.h
Go to the documentation of this file.
1// -*- C++ -*-
2// AID-GENERATED
3// =========================================================================
4// This class was generated by AID - Abstract Interface Definition
5// DO NOT MODIFY, but use the org.freehep.aid.Aid utility to regenerate it.
6// =========================================================================
7#ifndef HEPREP_HEPREPSELECTFILTER_H
8#define HEPREP_HEPREPSELECTFILTER_H 1
9
10// Copyright 2000-2005, FreeHEP.
11
12namespace HEPREP {
13
14class HepRepInstance;
15
16/**
17 * HepRepSelectFilter interface used in copying HepReps.
18 *
19 * @author Mark Donszelmann
20 */
22
23public:
24 /// Destructor.
25 virtual ~HepRepSelectFilter() { /* nop */; }
26
27 /**
28 * Selects if the given instance will pass.
29 *
30 * @param instance to be checked.
31 * @return true if instance passes.
32 */
33 virtual bool select(HepRepInstance * instance) = 0;
34}; // class
35} // namespace HEPREP
36#endif /* ifndef HEPREP_HEPREPSELECTFILTER_H */
virtual ~HepRepSelectFilter()
Destructor.
virtual bool select(HepRepInstance *instance)=0