Lines Matching refs:out

285     out = ""
299 out += f"nlohmann::json {function_name}({arg})"
302 out += ";\n\n"
304 out += "\n{\n"
311 out += f"std::string arg{index}Str = arg{index}.dump(-1, ' ', true, nlohmann::json::error_handler_t::replace);\n"
313 out += f"std::string arg{index}Str = std::to_string(arg{index});\n"
334 out += f" return getLog(redfish::registries::{namespace_name}::Index::{function_name}, {arg_param});"
335 out += "\n}\n\n"
346 out += f"void {function_name}({arg})"
348 out += ";\n"
350 out += "\n{\n"
352 out += """BMCWEB_LOG_CRITICAL("Internal Error {}({}:{}) `{}`: ", location.file_name(),
357 out += "res.addHeader(boost::beast::http::field::retry_after, arg1);"
361 out += f" res.result(boost::beast::http::status::{res});\n"
387 out += f" addMessageToJson(res.jsonValue, {function_name}({args_out}), arg{addMessageToJson[entry_id]});\n"
389 out += f" addMessageToJsonRoot(res.jsonValue, {function_name}({args_out}));\n"
391 out += f" addMessageToErrorJson(res.jsonValue, {function_name}({args_out}));\n"
392 out += "}\n"
393 out += "\n"
394 return out
411 ) as out:
412 out.write(PRAGMA_ONCE)
413 out.write(WARNING)
414 out.write(
435 out.write(
438 out.write(
456 out.write("/**\n")
457 out.write(f"* @brief Formats {entry_id} message into JSON\n")
458 out.write(f'* Message body: "{message}"\n')
459 out.write("*\n")
464 out.write(
467 out.write("*\n")
468 out.write(
472 out.write(
477 out.write(" }\n")
478 out.write("}\n")
486 ) as out:
487 out.write(WARNING)
488 out.write(f'\n#include "{base_filename}.hpp"\n')
515 out.write(f"#include {header}\n")
517 out.write(
533 out.write(
645 out.write(
664 out.write(
675 out.write(
681 out.write(" }\n")
682 out.write("}\n")