CLHEP/GenericFunctions/AbsFunctional.hh

// -*- C++ -*-
// $Id: AbsFunctional.hh,v 1.2 2001/05/16 05:10:28 joeb Exp $
// A functional is a mapping from functions to real numbers.
// Here is their base class:
#ifndef _AbsFunctional_h_
#define _AbsFunctional_h_
#include "CLHEP/config/CLHEP.h"

HEP_BEGIN_NAMESPACE(Genfun)

  class AbsFunction;
  
  class AbsFunctional {

  public:

    // Constructor
    AbsFunctional(); 

    // Destructor:
    virtual ~AbsFunctional();

    // A functional is a mapping from functions to 
    // real numbers.  This defines that mapping:
    virtual double operator[] (const AbsFunction & function) const = 0;

  };
HEP_END_NAMESPACE(Genfun)
#endif

Generated by GNU enscript 1.6.1.