Taskolib  1.4.4
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 #include <string_view>
31 
32 #include "taskolib/Sequence.h"
33 #include "taskolib/Step.h"
34 #include "taskolib/UniqueId.h"
35 
36 namespace task {
37 
45 std::string make_sequence_filename(SequenceName sequence_name, UniqueId unique_id);
46 
56 std::ostream& operator<<(std::ostream& stream, const Step& step);
57 
95 void store_step(const std::filesystem::path& lua_file, const Step& step);
96 
106 std::ostream& operator<<(std::ostream& stream, const Sequence& sequence);
107 
108 } // namespace task
109 
110 #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