CMS 3D CMS Logo

Classes | Typedefs | Functions

/data/refman/pasoursint/CMSSW_4_1_8_patch9/src/DetectorDescription/Core/interface/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 DDExpandedNode &)
std::ostream & operator<< (std::ostream &, const DDGeoHistory &)

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 DDExpandedNode  
)

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

Definition at line 40 of file DDExpandedNode.cc.

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