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 18 of file DDMap.h.
std::ostream& operator<< |
( |
std::ostream & |
o, |
|
|
const DDMap & |
cons |
|
) |
| |
output operator for printing ...
Definition at line 21 of file DDMap.cc.
References DDBase< N, C >::isDefined(), DDBase< N, C >::name(), DDMap::size(), and DDMap::values().
23 os <<
"DDMap name=" << cons.
name();
26 os <<
" size=" << cons.
size() <<
" vals=( ";
27 for(
const auto& it : cons.
values()) {
28 os << it.first <<
'=' << it.second <<
' ';
33 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