joque
task orchestration library
format_dag.hpp
Go to the documentation of this file.
1
#pragma once
23
24
#include "
dag.hpp
"
25
26
#include <functional>
27
#include <ostream>
28
#include <string_view>
29
30
namespace
joque
31
{
32
33
// Formats the given dag `d` into human readable format. Output is done by
34
// calling `f` for each line of the output.
35
void
format_dag
(
const
dag
& d,
const
std::function<
void
( std::string_view ) >&
f
);
36
37
// Prints the formatted dag into ostream.
38
void
print_dag
( std::ostream& os,
const
dag
& d );
39
40
}
// namespace joque
joque::bits::graph
Definition:
dag.hpp:172
dag.hpp
joque
MIT License.
Definition:
dag.hpp:27
joque::print_dag
void print_dag(std::ostream &os, const dag &d)
joque::format_dag
void format_dag(const dag &d, const std::function< void(std::string_view) > &f)
joque::f
Fun && f
Definition:
task.hpp:93
include
joque
format_dag.hpp
Generated on Sun May 4 2025 20:20:50 for joque by
1.9.1