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 15 of file DDMap.cc.
References DDBase< N, C >::isDefined(), DDBase< N, C >::name(), DDMap::size(), and DDMap::values().
17 os <<
"DDMap name=" << cons.
name();
20 os <<
" size=" << cons.
size() <<
" vals=( ";
21 for(
const auto& it : cons.
values()) {
22 os << it.first <<
'=' << it.second <<
' ';
27 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