#include "DetectorDescription/Core/interface/DDStrVector.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const DDStrVector &cons) |
output operator for printing ... |
std::ostream& operator<< | ( | std::ostream & | os, | |
const DDStrVector & | cons | |||
) |
output operator for printing ...
Definition at line 20 of file DDStrVector.cc.
References DDBase< N, C >::isDefined(), it, DDBase< N, C >::name(), DDStrVector::size(), and DDStrVector::values().
00021 { 00022 os << "DDStrVector name=" << cons.name(); 00023 00024 if(cons.isDefined().second) { 00025 os << " size=" << cons.size() << " vals=( "; 00026 DDStrVector::value_type::const_iterator it(cons.values().begin()), ed(cons.values().end()); 00027 for(; it<ed; ++it) { 00028 os << *it << ' '; 00029 } 00030 os << ')'; 00031 } 00032 else { 00033 os << " constant is not yet defined, only declared."; 00034 } 00035 return os; 00036 }