Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 292 of file SmartRef.h.

292  {
293  return ref.target() != nullptr;
294 }
const TYPE * target() const
Access to the object.
Definition: SmartRef.h:259
template<class TYPE >
bool operator!= ( int  ,
const SmartRef< TYPE > &  ref 
)
inline

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

Definition at line 298 of file SmartRef.h.

298  {
299  return ref.target() != nullptr;
300 }
const TYPE * target() const
Access to the object.
Definition: SmartRef.h:259
template<class TYPE >
bool operator== ( const SmartRef< TYPE > &  ref,
int   
)
inline

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

Definition at line 280 of file SmartRef.h.

280  {
281  return ref.target() == nullptr;
282 }
const TYPE * target() const
Access to the object.
Definition: SmartRef.h:259
template<class TYPE >
bool operator== ( int  ,
const SmartRef< TYPE > &  ref 
)
inline

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

Definition at line 286 of file SmartRef.h.

286  {
287  return ref.target() == nullptr;
288 }
const TYPE * target() const
Access to the object.
Definition: SmartRef.h:259