CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_2_9/src/DetectorDescription/Core/interface/DDExpandedView.h File Reference

#include <iosfwd>
#include <vector>
#include <string>
#include <map>
#include "DetectorDescription/Core/interface/DDTransform.h"
#include "DetectorDescription/Base/interface/DDTranslation.h"
#include "DetectorDescription/Core/interface/DDCompactView.h"
#include "DetectorDescription/Core/interface/DDLogicalPart.h"
#include "DetectorDescription/Core/interface/DDPosData.h"
#include "DetectorDescription/Core/interface/DDExpandedNode.h"
#include "DetectorDescription/Core/interface/DDsvalues.h"

Go to the source code of this file.

Classes

class  DDExpandedView
 Provides an exploded view of the detector (tree-view) More...

Functions

std::ostream & operator<< (std::ostream &os, const DDExpandedView::nav_type &n)
std::ostream & operator<< (std::ostream &os, const DDExpandedView::NavRange &n)
std::ostream & printNavType (std::ostream &, int const *n, size_t sz)

Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const DDExpandedView::nav_type n 
) [inline]

Definition at line 142 of file DDExpandedView.h.

References printNavType().

                                                                                  {
    return printNavType(os,&n.front(),n.size());
}
std::ostream& operator<< ( std::ostream &  os,
const DDExpandedView::NavRange n 
) [inline]

Definition at line 145 of file DDExpandedView.h.

References printNavType().

                                                                                  {
    return printNavType(os,n.first,n.second);
}
std::ostream& printNavType ( std::ostream &  ,
int const *  n,
size_t  sz 
)

Definition at line 572 of file DDExpandedView.cc.

Referenced by operator<<().

                                                                    {
  os << '(' ;
  for (int const * it=n; it != n+sz; ++it) {
    os << *it << ',';
  }
  os << ')';
  return os;
}