CMS 3D CMS Logo

Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DetectorDescription/Core/src/DDExpandedNode.cc File Reference

#include "DetectorDescription/Core/interface/DDExpandedNode.h"
#include "DetectorDescription/Core/interface/DDPosData.h"
#include <ostream>

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, const DDExpandedNode &n)
std::ostream & operator<< (std::ostream &os, const DDGeoHistory &h)

Function Documentation

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

Definition at line 31 of file DDExpandedNode.cc.

References DDExpandedNode::copyno(), DDExpandedNode::logicalPart(), and DDBase< N, C >::name().

{
  os << n.logicalPart().name() 
     << '[' << n.copyno() << ']';
     //<< ',' << n.siblingno()  << ']';
  return os;
}
std::ostream& operator<< ( std::ostream &  os,
const DDGeoHistory h 
)

Definition at line 40 of file DDExpandedNode.cc.

{
   DDGeoHistory::const_iterator it = h.begin();
   for (; it != h.end(); ++it) {
     os << '/' << *it;
   }
   return os;
}