CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_5_3_9_patch3/src/DetectorDescription/Core/src/DDName.cc File Reference

#include "DetectorDescription/Core/interface/DDName.h"
#include "DetectorDescription/Core/interface/DDCurrentNamespace.h"
#include "DetectorDescription/Core/interface/DDSplit.h"
#include "DetectorDescription/Base/interface/Singleton.h"
#include "FWCore/Utilities/interface/Exception.h"
#include <sstream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const DDName &n)

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const DDName n 
)

Definition at line 9 of file DDName.cc.

References DDName::id(), DDName::name(), and DDName::ns().

{ 
  os << n.ns() << ':' << n.name();
  static const char * ev = getenv("DDNAMEID");
  if (ev) os << '[' << n.id() << ']';
  return os;
}