#include <iostream>
#include "DetectorDescription/Core/interface/DDTransform.h"
#include "DetectorDescription/Base/interface/DDAlgoPar.h"
#include "DetectorDescription/Core/interface/DDName.h"
#include "DetectorDescription/Core/interface/DDBase.h"
#include "DetectorDescription/Base/interface/DDTranslation.h"
Go to the source code of this file.
Classes | |
class | DDAlgo |
Functions | |
DDAlgo | DDalgo (const DDName &, AlgoPos *) |
std::ostream & | operator<< (std::ostream &, const DDAlgo &) |
create a DDCore compatible algorithm
Definition at line 114 of file DDAlgo.cc.
Referenced by AlgoInit().
{ return DDAlgo(n,a); }
std::ostream& operator<< | ( | std::ostream & | , |
const DDAlgo & | |||
) |
Definition at line 4 of file DDAlgo.cc.
References DDBase< N, C >::isDefined(), and DDBase< N, C >::rep().
{ DDBase<DDName,AlgoPos*>::def_type defined(algo.isDefined()); if (defined.first) { os << *(defined.first) << " "; if (defined.second) { algo.rep().stream(os); } else { os << "* algorithm not defined * "; } } else { os << "* algorithm not declared * "; } return os; }