75 std::istringstream fileStream(embeddedConstants);
78 bool data_section =
false;
81 while (std::getline(fileStream, line)) {
86 if (line.find(
"Symbol") != std::string::npos) {
87 std::getline(fileStream, line);
88 std::getline(fileStream, line);
95 if (line.length() < 125)
continue;
105 const std::string reference =
trim(line.substr(start,
col_widths_[5]));
108 double value = 0.0, uncertainty = 0.0;
110 value = std::stod(valueStr);
112 std::cerr <<
"Warning: Invalid value in line " << line_count <<
": " << valueStr << std::endl;
115 uncertainty = std::stod(uncertaintyStr);
117 std::cerr <<
"Warning: Invalid uncertainty in line " << line_count <<
": " << uncertaintyStr << std::endl;