| The Gaudi Framework v29r1 (5cd95fa2)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Functions
SmartRef.h File Reference
`#include "GaudiKernel/ContainedObject.h"`
`#include "GaudiKernel/SmartRefBase.h"`
`#include <typeinfo>`
Include dependency graph for SmartRef.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | SmartRefArray< TYPE >
class | SmartRefList< TYPE >
class | SmartRefMap< TYPE >
class | SmartRef< TYPE >
| Kernel objects: SmartRef. More...

## Functions
template<class TYPE >
bool | operator== (const SmartRef< TYPE > &ref, int)
| Friend helper to check for object existence (will load object) More...
template<class TYPE >
bool | operator== (int, const SmartRef< TYPE > &ref)
| Friend helper to check for object existence (will load object) More...
template<class TYPE >
bool | operator!= (const SmartRef< TYPE > &ref, int)
| Friend helper to check for object existence (will load object) More...
template<class TYPE >
bool | operator!= (int, const SmartRef< TYPE > &ref)
| Friend helper to check for object existence (will load object) More...

## Function Documentation

template<class TYPE >

bool operator!= | ( | const SmartRef< TYPE > & | ref,
|  | int |
| ) |  |
| inline

Friend helper to check for object existence (will load object)

Definition at line 319 of file SmartRef.h.

320 {
321 return ref.target() != nullptr;
322 }
SmartRef::target
const TYPE * target() const
Access to the object.
Definition: SmartRef.h:279
template<class TYPE >

bool operator!= | ( | int | ,
|  | const SmartRef< TYPE > & | ref
| ) |  |
| inline

Friend helper to check for object existence (will load object)

Definition at line 326 of file SmartRef.h.

327 {
328 return ref.target() != nullptr;
329 }
SmartRef::target
const TYPE * target() const
Access to the object.
Definition: SmartRef.h:279
template<class TYPE >

bool operator== | ( | const SmartRef< TYPE > & | ref,
|  | int |
| ) |  |
| inline

Friend helper to check for object existence (will load object)

Definition at line 305 of file SmartRef.h.

306 {
307 return ref.target() == nullptr;
308 }
SmartRef::target
const TYPE * target() const
Access to the object.
Definition: SmartRef.h:279
template<class TYPE >

bool operator== | ( | int | ,
|  | const SmartRef< TYPE > & | ref
| ) |  |
| inline

Friend helper to check for object existence (will load object)

Definition at line 312 of file SmartRef.h.

313 {
314 return ref.target() == nullptr;
315 }
SmartRef::target
const TYPE * target() const
Access to the object.
Definition: SmartRef.h:279