#include "DetectorDescription/Core/interface/DDSolid.h"
#include "DetectorDescription/Core/src/Solid.h"
#include "DetectorDescription/Core/src/Box.h"
#include "DetectorDescription/Core/src/Polycone.h"
#include "DetectorDescription/Core/src/Polyhedra.h"
#include "DetectorDescription/Core/src/Boolean.h"
#include "DetectorDescription/Core/src/Reflection.h"
#include "DetectorDescription/Core/src/Shapeless.h"
#include "DetectorDescription/Core/src/Torus.h"
#include "DetectorDescription/Core/src/Trap.h"
#include "DetectorDescription/Core/src/Tubs.h"
#include "DetectorDescription/Core/src/Cons.h"
#include "DetectorDescription/Core/src/PseudoTrap.h"
#include "DetectorDescription/Core/src/TruncTubs.h"
#include "DetectorDescription/Core/src/Sphere.h"
#include "DetectorDescription/Core/src/Orb.h"
#include "DetectorDescription/Core/src/EllipticalTube.h"
#include "DetectorDescription/Core/src/Ellipsoid.h"
#include "DetectorDescription/Core/src/Parallelepiped.h"
#include <algorithm>
#include "FWCore/MessageLogger/interface/MessageLogger.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const DDSolid &solid) |
std::ostream& operator<< | ( | std::ostream & | os, |
const DDSolid & | solid | ||
) |
Definition at line 33 of file DDSolid.cc.
References DDBase< N, C >::isDefined(), DDSolidShapesName::name(), DDBase< N, C >::rep(), and DDSolid::shape().
{ DDBase<DDName,DDI::Solid*>::def_type defined(solid.isDefined()); if (defined.first) { os << *(defined.first) << " "; if (defined.second) { os << " " << DDSolidShapesName::name(solid.shape()) << ": "; solid.rep().stream(os); } else { os << "* solid not defined * "; } } else { os << "* solid not declared * "; } return os; }