TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::advice::Consulted Struct Reference

#include <advice/advisor.hpp>

Public Attributes

bool ok = false
Advice advice
 aliases undone; names are not yet checked against the board
std::string text
 exactly what the advisor wrote (the file saved beside the output)
std::string error
 why there is no advice
nlohmann::json summary
 {"program", "seconds", "exit_code", "timed_out", "bytes_in", "bytes_out", "ok", "error"?, "stderr"?}

Detailed Description

Definition at line 33 of file advisor.hpp.

Member Data Documentation

◆ advice

Advice tmk::advice::Consulted::advice

aliases undone; names are not yet checked against the board

Definition at line 35 of file advisor.hpp.

◆ error

std::string tmk::advice::Consulted::error

why there is no advice

Definition at line 37 of file advisor.hpp.

◆ ok

bool tmk::advice::Consulted::ok = false

Definition at line 34 of file advisor.hpp.

◆ summary

nlohmann::json tmk::advice::Consulted::summary

{"program", "seconds", "exit_code", "timed_out", "bytes_in", "bytes_out", "ok", "error"?, "stderr"?}

Definition at line 38 of file advisor.hpp.

◆ text

std::string tmk::advice::Consulted::text

exactly what the advisor wrote (the file saved beside the output)

Definition at line 36 of file advisor.hpp.


The documentation for this struct was generated from the following file: