Lines Matching refs:out

317     out = ""
333 out += f"nlohmann::json::object_t {function_name}({arg})"
336 out += ";\n\n"
338 out += "\n{\n"
346out += f"std::string arg{index}Str = arg{index}.dump(-1, ' ', true, nlohmann::json::error_handler_…
348 out += f"std::string arg{index}Str = std::to_string(arg{index});\n"
365out += f" return getLog(redfish::registries::{struct_name}::Index::{function_name}, {arg_param}…
366 out += "\n}\n\n"
377 out += f"void {function_name}({arg})"
379 out += ";\n"
381 out += "\n{\n"
383out += """BMCWEB_LOG_CRITICAL("Internal Error {}({}:{}) `{}`: ", location.file_name(),
388 out += "res.addHeader(boost::beast::http::field::retry_after, arg1);"
392 out += f" res.result(boost::beast::http::status::{res});\n"
417out += f" addMessageToJson(res.jsonValue, {function_name}({args_out}), arg{addMessageToJson[ent…
419 out += f" addMessageToJsonRoot(res.jsonValue, {function_name}({args_out}));\n"
421 out += f" addMessageToErrorJson(res.jsonValue, {function_name}({args_out}));\n"
422 out += "}\n"
423 out += "\n"
424 return out
445 ) as out:
446 out.write(PRAGMA_ONCE)
447 out.write(WARNING)
448 out.write(
477 out.write("/**\n")
478 out.write(f"* @brief Formats {entry_id} message into JSON\n")
479 out.write(f'* Message body: "{message}"\n')
480 out.write("*\n")
485 out.write(
488 out.write("*\n")
489 out.write(
493 out.write(
498 out.write(" }\n")
499 out.write("}\n")
507 ) as out:
508 out.write(WARNING)
509 out.write(f'\n#include "{base_filename}.hpp"\n')
533 out.write(f"#include {header}\n")
535 out.write(
553 out.write(
572 out.write(
583 out.write(
589 out.write(" }\n")
590 out.write("}\n")