#include "DetectorDescription/Core/interface/DDMap.h"
Go to the source code of this file.
Functions | |
std::ostream & | operator<< (std::ostream &os, const DDMap &cons) |
output operator for printing ... |
std::ostream& operator<< | ( | std::ostream & | os, |
const DDMap & | cons | ||
) |
output operator for printing ...
Definition at line 23 of file DDMap.cc.
References DDBase< N, C >::isDefined(), DDBase< N, C >::name(), DDMap::size(), and DDMap::values().
{ os << "DDMap name=" << cons.name(); if(cons.isDefined().second) { os << " size=" << cons.size() << " vals=( "; DDMap::value_type::const_iterator it(cons.values().begin()), ed(cons.values().end()); for(; it != ed; ++it) { os << it->first << '=' << it->second << ' '; } os << ')'; } else { os << " DDMap is not yet defined, only declared."; } return os; }