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