![]() |
|
|
Generated: 18 Jul 2008 |
#include <IUpdateManagerSvc.h>
Inheritance diagram for PtrSetter< ActualType >:


Definition at line 147 of file IUpdateManagerSvc.h.
Public Types | |
| typedef ActualType | dest_type |
Public Member Functions | |
| PtrSetter (dest_type *&dest) | |
| Construct a new object using the destination pointer. | |
| virtual | ~PtrSetter () |
| Empty virtual destructor. | |
| virtual void | set (DataObject *obj) |
| sets the internal pointer to the provided data object (with a dynamic_cast). | |
| virtual bool | isNull () |
| tells if the internal pointer is NULL. | |
Private Attributes | |
| dest_type ** | m_storage |
| pointer to the pointer to fill provided by the user. | |
Definition at line 149 of file IUpdateManagerSvc.h.
Construct a new object using the destination pointer.
Definition at line 152 of file IUpdateManagerSvc.h.
References PtrSetter< ActualType >::m_storage.
| virtual void PtrSetter< ActualType >::set | ( | DataObject * | obj | ) | [inline, virtual] |
sets the internal pointer to the provided data object (with a dynamic_cast).
Implements BasePtrSetter.
Definition at line 159 of file IUpdateManagerSvc.h.
References PtrSetter< ActualType >::m_storage.
00159 { 00160 *m_storage = dynamic_cast<dest_type *>(obj); 00161 }
| virtual bool PtrSetter< ActualType >::isNull | ( | ) | [inline, virtual] |
tells if the internal pointer is NULL.
Implements BasePtrSetter.
Definition at line 163 of file IUpdateManagerSvc.h.
References PtrSetter< ActualType >::m_storage.
00163 { return *m_storage == NULL; }
pointer to the pointer to fill provided by the user.
Definition at line 167 of file IUpdateManagerSvc.h.
Referenced by PtrSetter< ActualType >::isNull(), PtrSetter< ActualType >::PtrSetter(), and PtrSetter< ActualType >::set().