#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 117 of file DDAlgo.cc.
References DDAlgo::DDAlgo().
Referenced by AlgoInit().
00118 { 00119 return DDAlgo(n,a); 00120 }
std::ostream& operator<< | ( | std::ostream & | , | |
const DDAlgo & | ||||
) |
Definition at line 7 of file DDAlgo.cc.
References DDBase< N, C >::isDefined(), and DDBase< N, C >::rep().
00008 { 00009 DDBase<DDName,AlgoPos*>::def_type defined(algo.isDefined()); 00010 if (defined.first) { 00011 os << *(defined.first) << " "; 00012 if (defined.second) { 00013 algo.rep().stream(os); 00014 } 00015 else { 00016 os << "* algorithm not defined * "; 00017 } 00018 } 00019 else { 00020 os << "* algorithm not declared * "; 00021 } 00022 return os; 00023 00024 }