The Gaudi Framework  master (37c0b60a)
DataObjectHandleBase.cpp File Reference
#include <Gaudi/Algorithm.h>
#include <GaudiKernel/AlgTool.h>
#include <GaudiKernel/DataObjectHandleBase.h>
#include <GaudiKernel/IDataProviderSvc.h>
#include <GaudiKernel/SerializeSTL.h>
#include <GaudiKernel/ServiceLocatorHelper.h>
#include <boost/tokenizer.hpp>
#include <ostream>
#include <sstream>
#include <string>
Include dependency graph for DataObjectHandleBase.cpp:

Go to the source code of this file.

Functions

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

Variables

const DataObjID INVALID_DATAOBJID = DataObjID()
 

Function Documentation

◆ operator<<()

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

Definition at line 104 of file DataObjectHandleBase.cpp.

104  {
105 
106  str << d.fullKey() << " m: " << d.mode();
107  if ( d.owner() ) str << " o: " << d.owner()->name();
108  str << " opt: " << d.isOptional();
109  return str;
110 }

Variable Documentation

◆ INVALID_DATAOBJID

const DataObjID INVALID_DATAOBJID = DataObjID()

Definition at line 23 of file DataObjectHandleBase.cpp.

INamedInterface::name
virtual const std::string & name() const =0
Retrieve the name of the instance.
DataObjectHandleBase::isOptional
bool isOptional() const
Check if the data object declared is optional for the algorithm.
Definition: DataObjectHandleBase.h:59
Gaudi::DataHandle::owner
virtual IDataHandleHolder * owner() const
Definition: DataHandle.h:53
Gaudi::DataHandle::mode
virtual Mode mode() const
Definition: DataHandle.h:55
Gaudi::DataHandle::fullKey
virtual const DataObjID & fullKey() const
Definition: DataHandle.h:61