The Gaudi Framework  v29r0 (ff2e7097)
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 }
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 }
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 }
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 }
const TYPE * target() const
Access to the object.
Definition: SmartRef.h:279