source: trunk/source/visualization/HepRep/include/HEPREP/HepRepSelectFilter.h @ 834

Last change on this file since 834 was 834, checked in by garnier, 16 years ago

import all except CVS

File size: 1018 bytes
Line 
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 */
21class HepRepSelectFilter {
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 */
Note: See TracBrowser for help on using the repository browser.