#include "DetectorDescription/Core/interface/DDString.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const DDString &cons) |
output operator for printing ... |
std::ostream& operator<< | ( | std::ostream & | os, | |
const DDString & | cons | |||
) |
output operator for printing ...
Definition at line 23 of file DDString.cc.
References DDBase< N, C >::isDefined(), DDBase< N, C >::name(), and DDString::value().
00024 { 00025 os << "DDString name=" << cons.name(); 00026 00027 if(cons.isDefined().second) { 00028 os << " val=" << cons.value(); 00029 } 00030 else { 00031 os << " constant is not yet defined, only declared."; 00032 } 00033 return os; 00034 }