Taskolib  1.3.3
Namespaces | Functions
deserialize_sequence.h File Reference

Detailed Description

Deserialize Sequence and Steps from storage hardware.

Authors
Marcus Walla, Lars Fröhlich
Date
Created on May 24, 2022

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 <filesystem>
#include <iostream>
#include <vector>
#include <gul14/string_view.h>
#include "taskolib/Sequence.h"
#include "taskolib/Step.h"
#include "taskolib/Tag.h"
Include dependency graph for deserialize_sequence.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

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...