All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 325 of file SmartRef.h.

325  {
326  const TYPE* obj = ref;
327  return obj != 0;
328 }
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.

332  {
333  const TYPE* obj = ref;
334  return obj != 0;
335 }
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.

311  {
312  const TYPE* obj = ref;
313  return obj == 0;
314 }
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.

318  {
319  const TYPE* obj = ref;
320  return obj == 0;
321 }