17 auto& indexToUse =
result.first->second;
22 if (0 == indexToUse.value_) {
25 indexToUse.value_.compare_exchange_strong(
previous, newIndex);
27 id_ = indexToUse.value_.load();
30 auto& allNames =
names();
31 allNames.grow_to_at_least(
id_ + 1);
32 auto& storedName = allNames[
id_];
33 if (not storedName.string_) {
36 if (storedName.string_.compare_exchange_strong(
previous,
newName.get())) {
50 std::vector<std::string> svec;
51 std::vector<double> dvec;
53 for (; it !=
v.end(); ++it) {
54 vecPair_->second.first.emplace_back(it->first);
55 vecPair_->second.second.emplace_back(it->second);
62 std::vector<std::string> svec(1,
"");
63 std::vector<double> dvec(1,
val);
72 std::vector<std::string> svec(1, sval);
73 std::vector<double> dvec(1, dval);
81 std::vector<std::string> svec(1, sval);
82 std::vector<double> dvec(1, 0);
115 std::string message =
"DDValue " +
name() +
" is not numerically evaluated! Use DDValue::std::strings()!";
122 o <<
v.name() <<
" = ";
124 if (
v.isEvaluated()) {
125 for (;
i <
v.size(); ++
i) {
126 o <<
'(' <<
v[
i].first <<
',' <<
v[
i].second <<
") ";
129 const std::vector<std::string>&
s =
v.strings();
130 for (;
i <
v.size(); ++
i) {
144 std::string message =
"DDValue " +
name() +
" is not numerically evaluated! Use DDValue::std::strings()!";
156 if (
id() ==
v.id()) {
173 if (
id() ==
v.id()) {
176 if (
vecPair_->first &&
v.vecPair_->first) {