CMS 3D CMS Logo

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 DDGeoHistory &h)
std::ostream & operator<< (std::ostream &os, const DDExpandedNode &n)


Function Documentation

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

Definition at line 40 of file DDExpandedNode.cc.

References it.

00041 {
00042    DDGeoHistory::const_iterator it = h.begin();
00043    for (; it != h.end(); ++it) {
00044      os << '/' << *it;
00045    }
00046    return os;
00047 }

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().

00032 {
00033   os << n.logicalPart().name() 
00034      << '[' << n.copyno() << ']';
00035      //<< ',' << n.siblingno()  << ']';
00036   return os;
00037 }


Generated on Tue Jun 9 17:52:36 2009 for CMSSW by  doxygen 1.5.4