#include "DetectorDescription/Core/interface/DDVector.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const DDVector &cons) |
output operator for printing ... |
std::ostream& operator<< | ( | std::ostream & | os, |
const DDVector & | cons | ||
) |
output operator for printing ...
Definition at line 23 of file DDVector.cc.
References DDBase< N, C >::isDefined(), DDBase< N, C >::name(), DDVector::size(), and DDVector::values().
{ os << "DDVector name=" << cons.name(); if(cons.isDefined().second) { os << " size=" << cons.size() << " vals=( "; DDVector::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; }