Go to the source code of this file.
|
class | DDMap |
| a named constant corresponding to the DDL-XML tag <Constant> and <ConstantsVector> More...
|
|
simply a std::map<std::string,double> supporting an addional operator[] const
Definition at line 16 of file DDMap.h.
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
const DDMap & |
cons |
|
) |
| |
output operator for printing ...
Definition at line 17 of file DDMap.cc.
References DDBase< N, C >::isDefined(), DDBase< N, C >::name(), DDMap::size(), and DDMap::values().
19 os <<
"DDMap name=" << cons.
name();
22 os <<
" size=" << cons.
size() <<
" vals=( ";
23 DDMap::value_type::const_iterator it(cons.
values().begin()), ed(cons.
values().end());
24 for(; it != ed; ++it) {
25 os << it->first <<
'=' << it->second <<
' ';
30 os <<
" DDMap is not yet defined, only declared.";
def_type isDefined() const
size_t size() const
the size of the array of values
const dd_map_type & values() const
the stored values