#include "DetectorDescription/Core/interface/DDBase.h"
#include "DetectorDescription/Core/interface/DDName.h"
#include <string>
#include <iostream>
Go to the source code of this file.
Classes | |
class | DDString |
a named constant corresponding to the DDL-XML tag <Constant> and <ConstantsVector> More... | |
Functions | |
std::ostream & | operator<< (std::ostream &o, const DDString &cons) |
output operator for printing ... |
std::ostream& operator<< | ( | std::ostream & | o, | |
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 }