Taskolib
1.3.3
|
Deserialize Sequence and Steps from storage hardware.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 2.1 of the license, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.
#include <algorithm>
#include <cctype>
#include <chrono>
#include <ctime>
#include <fstream>
#include <set>
#include <sstream>
#include <string>
#include <vector>
#include <gul14/gul.h>
#include "deserialize_sequence.h"
#include "internals.h"
#include "taskolib/hash_string.h"
Namespaces | |
task | |
Namespace task contains all Taskolib functions and classes. | |
Functions | |
std::istream & | task::operator>> (std::istream &stream, Step &step) |
Deserialize parameters of Step from the input stream. More... | |
Step | task::load_step (const std::filesystem::path &lua_file) |
Read a Step from a file and return it. More... | |
void | task::load_sequence_parameters (const std::filesystem::path &folder, Sequence &sequence) |
Load sequence parameters like the step setup script and the sequence timeout. More... | |
std::vector< Tag > | task::parse_tags (gul14::string_view str) |
Parse a whitespace-separated string into a list of tags. More... | |
bool | task::parse_bool (gul14::string_view str) |
Parse a bool expression from a string. More... | |
Timeout | task::parse_timeout (gul14::string_view str) |
Parse a string into a Timeout value. More... | |