#include "DetectorDescription/Core/interface/DDSpecifics.h"
#include "Specific.h"
#include "DetectorDescription/Base/interface/DDdebug.h"
#include "DetectorDescription/Base/interface/DDException.h"
#include <utility>
#include "FWCore/MessageLogger/interface/MessageLogger.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const std::vector< std::string > &v) |
std::ostream & | operator<< (std::ostream &os, const DDSpecifics &sp) |
std::ostream& operator<< | ( | std::ostream & | os, | |
const std::vector< std::string > & | v | |||
) |
Definition at line 109 of file DDSpecifics.cc.
References lat::endl(), it, and v.
00110 { 00111 std::vector<std::string>::const_iterator it = v.begin(); 00112 for (; it!=v.end(); ++it) { 00113 os << *it << std::endl; 00114 } 00115 return os; 00116 }
std::ostream& operator<< | ( | std::ostream & | os, | |
const DDSpecifics & | sp | |||
) |
Definition at line 89 of file DDSpecifics.cc.
References DDBase< N, C >::isDefined(), and DDBase< N, C >::rep().
00090 { 00091 DDBase<DDName,DDI::Specific*>::def_type defined(sp.isDefined()); 00092 if (defined.first) { 00093 os << *(defined.first) << " "; 00094 if (defined.second) { 00095 sp.rep().stream(os); 00096 } 00097 else { 00098 os << "* specific not defined * "; 00099 } 00100 } 00101 else { 00102 os << "* specific not declared * "; 00103 } 00104 return os; 00105 00106 }