CMS 3D CMS Logo

DDExpandedNode.h File Reference

#include "DetectorDescription/Core/interface/DDTransform.h"
#include "DetectorDescription/Base/interface/DDTranslation.h"
#include "DetectorDescription/Core/interface/DDLogicalPart.h"
#include <vector>
#include <iosfwd>

Go to the source code of this file.

Classes

class  DDExpandedNode
 represents one node in the DDExpandedView More...
struct  DDExpandedNodeLess
 function object to compare to ExpandedNodes More...

Typedefs

typedef std::vector
< DDExpandedNode
DDGeoHistory
 Geometrical 'path' of the current node up to the root-node.

Functions

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


Typedef Documentation

typedef std::vector<DDExpandedNode> DDGeoHistory

Geometrical 'path' of the current node up to the root-node.

Definition at line 104 of file DDExpandedNode.h.


Function Documentation

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

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 &  ,
const DDExpandedNode  
)

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:18 2009 for CMSSW by  doxygen 1.5.4