#include "../structures/Graph.hpp"
#include "../gl_base.hpp"
#include <fstream>
#include <variant>
#include <sstream>
Go to the source code of this file.
|
| #define | IO_GRAPH (*arg) |
| | Template object to use with IO_CALL_ON_GRAPH. More...
|
| |
| #define | IO_CALL_ON_GRAPH(g, func) std::visit([&](auto arg) { func; }, g) |
| | Custom function on parsed graphs. More...
|
| |
Template object to use with IO_CALL_ON_GRAPH.
| #define IO_CALL_ON_GRAPH |
( |
|
g, |
|
|
|
func |
|
) |
| std::visit([&](auto arg) { func; }, g) |
Custom function on parsed graphs.
- Parameters
-
| g | The graph (graph_variant_type) got from YAMLReader::get |
| func | A normal line of c++ to be executed (use IO_GRAPH to template the graph object) |