In file ConditionPtr.hh:

namespace events class ConditionPtr

Smart pointer for event conditions.

Inheritance:


Public Methods

explicit ConditionPtr (Condition* ptr = 0)
Default constructor
ConditionPtr (const Condition& cond)
Constructor
ConditionPtr (const ConditionPtr& ptr)
Copy constructor
~ConditionPtr ()
Destructor
ConditionPtr& operator= (const ConditionPtr& ptr)
Assignment operator
ConditionPtr& operator= (const Condition& cond)
Assignment operator
operator Condition& ()
type conversion
operator const Condition& () const
type conversion
Condition* Get ()
Get
const Condition* Get () const
Get
Condition& operator* ()
Dereference oprator
const Condition& operator* () const
Dereference oprator
Condition* operator-> ()
Member access oprator
const Condition* operator-> () const
Member access oprator
Condition* Release ()
Release
void Reset (Condition* ptr = 0)
Reset
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.

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

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

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

~ConditionPtr()
Destructs the event condition.

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

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

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

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

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

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

Condition& operator*()
Dereference operator.

const Condition& operator*() const
Dereference operator.

Condition* operator->()
Member access oprator

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

Condition* Release()
Release the event condition.

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

void 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 hierarchy of classes


Please send questions and comments to sigg_d@ligo-wa.caltech.edu


generated by doc++