Taskolib  1.3.3
serialize_sequence.h
Go to the documentation of this file.
1 
23 // SPDX-License-Identifier: LGPL-2.1-or-later
24 
25 #ifndef TASKOLIB_SERIALIZE_SEQUENCE_H_
26 #define TASKOLIB_SERIALIZE_SEQUENCE_H_
27 
28 #include <filesystem>
29 #include <iostream>
30 
31 #include <gul14/string_view.h>
32 
33 #include "taskolib/Sequence.h"
34 #include "taskolib/Step.h"
35 #include "taskolib/UniqueId.h"
36 
37 namespace task {
38 
46 std::string make_sequence_filename(SequenceName sequence_name, UniqueId unique_id);
47 
57 std::ostream& operator<<(std::ostream& stream, const Step& step);
58 
96 void store_step(const std::filesystem::path& lua_file, const Step& step);
97 
107 std::ostream& operator<<(std::ostream& stream, const Sequence& sequence);
108 
109 } // namespace task
110 
111 #endif
A sequence of Steps.
Declaration of the Step class.
Declaration of the UniqueId class.
Namespace task contains all Taskolib functions and classes.
Definition: CommChannel.h:33
std::string make_sequence_filename(SequenceName sequence_name, UniqueId unique_id)
Return a filename for the given combination of machine-friendly sequence name and unique ID.
Definition: serialize_sequence.cc:49
void store_step(const std::filesystem::path &lua_file, const Step &step)
Store a Step in a file.
Definition: serialize_sequence.cc:83
std::ostream & operator<<(std::ostream &stream, const Timeout &timeout)
Definition: Timeout.h:190