| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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)
template<class TYPE >
bool | operator== (int, const SmartRef< TYPE > &ref)
| Friend helper to check for object existence (will load object)
template<class TYPE >
bool | operator!= (const SmartRef< TYPE > &ref, int)
| Friend helper to check for object existence (will load object)
template<class TYPE >
bool | operator!= (int, const SmartRef< TYPE > &ref)
| Friend helper to check for object existence (will load object)

## 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 325 of file SmartRef.h.

{
const TYPE* obj = ref;
return obj != 0;
}
template<class TYPE >

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

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

Definition at line 332 of file SmartRef.h.

{
const TYPE* obj = ref;
return obj != 0;
}
template<class TYPE >

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

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

Definition at line 311 of file SmartRef.h.

{
const TYPE* obj = ref;
return obj == 0;
}
template<class TYPE >

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

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

Definition at line 318 of file SmartRef.h.

{
const TYPE* obj = ref;
return obj == 0;
}