| The Gaudi Framework v27r1

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

- File List
- File Members

Classes | Functions
SmartRef.h File Reference
`#include "GaudiKernel/SmartRefBase.h"`
`#include "GaudiKernel/ContainedObject.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 314 of file SmartRef.h.

314 {
315 return ref.target() != nullptr;
316 }
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 320 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== | ( | const SmartRef< TYPE > & | ref,
|  | int |
| ) |  |
| inline

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

Definition at line 302 of file SmartRef.h.

302 {
303 return ref.target() == nullptr;
304 }
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 308 of file SmartRef.h.

308 {
309 return ref.target() == nullptr;
310 }
SmartRef::target
const TYPE * target() const
Access to the object.
Definition: SmartRef.h:279