![]() |
ATLAS Offline Software
|
#include <IUnassociatedHitsGetterTool.h>
Public Member Functions | |
DeclareInterfaceID (IUnassociatedHitsGetterTool, 1, 0) | |
virtual const MinBiasPRDAssociation * | get (bool allowMissing=false) const =0 |
Type-safe wrapper for get . More... | |
virtual void | releaseObject (const MinBiasPRDAssociation *p) const =0 |
Type-safe wrapper for releaseObjectUntyped . More... | |
Definition at line 13 of file IUnassociatedHitsGetterTool.h.
IUnassociatedHitsGetterTool::DeclareInterfaceID | ( | IUnassociatedHitsGetterTool | , |
1 | , | ||
0 | |||
) |
|
pure virtual |
Type-safe wrapper for get
.
allowMissing | If true, then we should not generate errors if the requested object is missing. |
Return the object as a pointer to MinBiasPRDAssociation
. Return 0 if the get fails or if the pointer can't be converted.
This is implemented in terms of getTypeinfo()
.
|
pure virtual |
Type-safe wrapper for releaseObjectUntyped
.
p | The object to release. |
Call this when you are done with the object returned by get()
. The default implementation is a no-op, but if the getter dynamically allocated the object which it returned, this gives it a chance to free it.
This is implemented in terms of releaseObjectTypeinfo()
.