| # Gaudi Framework, version v22r4 |

Home |  | Generated: Fri Sep 2 2011

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 | 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;
    }

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines