In file Function.hh:
Defines an event
Inheritance:
Public Methods
| Function ()
Default constructor
|
virtual | ~Function ()
Denstructor
|
virtual Function* | Copy () const
Copy the event function
|
virtual bool | Evaluate (const Argument& arg, Value& val) const
Function value
|
bool | operator() (const Argument& arg, Value& val) const
() operator
|
bool | operator() (const Event& event, Value& val) const
() operator
|
Documentation
This is an abstract class for defining functions on events.
Function()
- Creates an event function.
virtual ~Function()
- Destructs an event function.
virtual Function* Copy() const = 0
- Returns a copy of the event function. This method must be
overriden by all descendents.
- Returns:
- event function copy
virtual bool Evaluate(const Argument& arg, Value& val) const = 0
- Returns the value of the function. This function must be
overriden by descendents. The function returns true if it could
be evaluated and false otherwise.
- Parameters:
- - arg Event argument list
val - value (return)
- Returns:
- True if function could be evaluated
bool operator() (const Argument& arg, Value& val) const
- Function call operator. Returns the same as Evaluate
(should not be overriden).
- Parameters:
- - arg Event argument list
val - Value (return)
- Returns:
- True if function could be evaluated
bool operator() (const Event& event, Value& val) const
- Function call operator. Evaluates a function on a single
event (should not be overriden).
- Parameters:
- - arg Event argument list
val - Value (return)
- Returns:
- True if function could be evaluated
Function(const Function&)
- Copy constructor. This is almost never intended, so just
disable it from the outside.
Function& operator= (const Function&)
- Assignment operator. This is almost never intended, so just
disable it from the outside.
- Direct child classes:
- Value
ShiftFunction
Math
Info
TVal
SVal
RVal
IVal
CVal
Column
- Author:
- Written June 2001 by Masahiro Ito and Daniel Sigg
- Version:
- 1.0
Alphabetic index HTML hierarchy of classes or Java
Please send questions and comments to
zweizig_j@ligo-wa.caltech.edu