In file ConditionPtr.hh:

class ConditionPtr

Smart pointer for event conditions.

Inheritance:


Public Methods

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


Documentation

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

oexplicit ConditionPtr(Condition* ptr = 0)
Creates a pointer to an event condition. The event conditions gets adopted.

o ConditionPtr(const Condition& cond)
Creates a new copy of the event conditions. The event condition is not adopted.

o ConditionPtr(const ConditionPtr& ptr)
Copies an event condition.

o ~ConditionPtr()
Destructs the event condition.

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

oConditionPtr& operator= (const Condition& cond)
Assignment. Makes a new pointer with a true copy.

o operator Condition& ()
Type converison into an event condition.

o operator const Condition& () const
Type converison into a constant event condition.

oCondition* Get()
Get a pointer to the event condition.

oconst Condition* Get() const
Get a pointer to the event condition.

oCondition& operator*()
Dereference operator.

oconst Condition& operator*() const
Dereference operator.

oCondition* operator->()
Member access oprator.

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

oCondition* Release()
Release the event condition.

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

ovoid Reset(const Condition& cond)
Resets the event condition. The new event conditionsis 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