Mads
Multi-Agent Distributed System
Loading...
Searching...
No Matches
example_config.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <filesystem>
4
#include <string>
5
6
// Returns the director.toml template text (MADS_DIRECTOR_EXAMPLE_CONFIG
7
// selects the variant used by the test suite and the packaged build).
8
std::string
example_config_text
();
9
10
// Writes example_config_text() to path. Without overwrite, an existing file
11
// is left untouched and the call fails with "File already exists: <path>".
12
bool
write_example_config
(
const
std::filesystem::path& path,
bool
overwrite, std::string* out_error);
write_example_config
bool write_example_config(const std::filesystem::path &path, bool overwrite, std::string *out_error)
example_config_text
std::string example_config_text()
src
gui
director
example_config.hpp
Generated by
1.9.8