| # Gaudi Framework, version v21r6 |

Home |  | Generated: 11 Nov 2009

# BasePtrSetter Class Reference

`#include <IUpdateManagerSvc.h>`

Inheritance diagram for BasePtrSetter:

[legend]

List of all members.

## Detailed Description

Base class to set the pointer to an object of a class derived from DataObject in a generic way.

Author:
  Marco CLEMENCIC

Date:
  2005-12-14

Definition at line 127 of file IUpdateManagerSvc.h.

## Public Member Functions
virtual | ~BasePtrSetter ()
| Empty virtual destructor.
virtual void | set (DataObject *)=0
| sets the internal pointer to the provided data object (with a dynamic_cast).
virtual bool | isNull ()=0
| tells if the internal pointer is NULL.

## Constructor & Destructor Documentation

virtual BasePtrSetter::~BasePtrSetter | ( |  | ) | `[inline, virtual]`

Empty virtual destructor.

Definition at line 130 of file IUpdateManagerSvc.h.

    00130 {}

## Member Function Documentation

virtual void BasePtrSetter::set | ( | DataObject * |  | ) | `[pure virtual]`

sets the internal pointer to the provided data object (with a dynamic_cast).

Implemented in PtrSetter< ActualType >.

virtual bool BasePtrSetter::isNull | ( |  | ) | `[pure virtual]`

tells if the internal pointer is NULL.

Implemented in PtrSetter< ActualType >.

The documentation for this class was generated from the following file:

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v21r6/GaudiKernel/GaudiKernel/IUpdateManagerSvc.h