#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(), DDBase< N, C >::name(), DDStrVector::size(), and DDStrVector::values().
{ os << "DDStrVector name=" << cons.name(); if(cons.isDefined().second) { os << " size=" << cons.size() << " vals=( "; DDStrVector::value_type::const_iterator it(cons.values().begin()), ed(cons.values().end()); for(; it<ed; ++it) { os << *it << ' '; } os << ')'; } else { os << " constant is not yet defined, only declared."; } return os; }