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