In file FunctionPtr.hh:

class FunctionPtr

Smart pointer for event lists.

Inheritance:


Public Methods

[more]explicit FunctionPtr (Function* ptr = 0)
Default constructor
[more] FunctionPtr (const Function& func)
Constructor
[more] FunctionPtr (const FunctionPtr& ptr)
Copy constructor
[more] ~FunctionPtr ()
Destructor
[more] operator Function& ()
type conversion
[more] operator const Function& () const
type conversion
[more]FunctionPtr& operator= (const FunctionPtr& ptr)
Assignment operator
[more]Function* Get ()
Get
[more]const Function* Get () const
Get
[more]Function& operator* ()
Dereference oprator
[more]const Function& operator* () const
Dereference oprator
[more]Function* operator-> ()
Member access oprator
[more]const Function* operator-> () const
Member access oprator
[more]Function* Release ()
Release
[more]void Reset (Function* ptr = 0)
Reset
[more]void Reset (const Function& func)
Reset


Documentation

A smart pointer for an event column. When copying an event column smart pointer, a new event column is created which is an exact copy of the original.

oexplicit FunctionPtr(Function* ptr = 0)
Creates a pointer to an event function. The event function gets adopted.

o FunctionPtr(const Function& func)
Creates a new copy of the event function. The event function is not adopted.

o FunctionPtr(const FunctionPtr& ptr)
Copies an event function.

o ~FunctionPtr()
Destructs the event function.

o operator Function& ()
Type converison into an event function.

o operator const Function& () const
Type converison into an event function.

oFunctionPtr& operator= (const FunctionPtr& ptr)
Assignment. Makes a new pointer with a true copy.

oFunction* Get()
Get a pointer to the event function.

oconst Function* Get() const
Get a pointer to the event function.

oFunction& operator*()
Dereference operator.

oconst Function& operator*() const
Dereference operator.

oFunction* operator->()
Member access oprator.

oconst Function* operator->() const
Member access oprator.

oFunction* Release()
Release the event function.

ovoid Reset(Function* ptr = 0)
Resets the event function. The new function gets adopted.

ovoid Reset(const Function& func)
Resets the event function. The new function is copied.


This class has no child classes.
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