DataObjID.cpp File Reference
#include "GaudiKernel/DataObjID.h"
#include "GaudiKernel/Bootstrap.h"
#include "GaudiKernel/IClassIDSvc.h"
#include "GaudiKernel/ISvcLocator.h"
#include <functional>
Include dependency graph for DataObjID.cpp:

Go to the source code of this file.

Functions

std::ostreamoperator<< (std::ostream &str, const DataObjID &d)
 

Function Documentation

std::ostream& operator<< ( std::ostream str,
const DataObjID d 
)

Definition at line 54 of file DataObjID.cpp.

54  {
55  if (d.m_clid == 0 && d.m_className == "") {
56  str << "('" << d.m_key << "')";
57  } else {
58  str << "('" << d.m_className << "','" << d.m_key << "')";
59  }
60  return str;
61 }
std::string m_key
Definition: DataObjID.h:83
CLID m_clid
Definition: DataObjID.h:79
std::string m_className
Definition: DataObjID.h:82