OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
function.hpp
Go to the documentation of this file.
1#ifndef FUNCTION_HPP
2#define FUNCTION_HPP
3
4#include <functional>
5#include <string>
6#include <tuple>
7#include <variant>
8#include <vector>
9
10namespace client {
11 namespace function {
12 typedef std::variant<double, bool, std::string> argument_t;
13
14 typedef std::vector<argument_t> arguments_t;
15
16 typedef std::function<std::tuple<double, bool> (arguments_t)> type;
17
18 typedef std::pair<std::string, type> named_t;
19 }
20}
21
22#endif
std::pair< std::string, type > named_t
Definition function.hpp:18
std::function< std::tuple< double, bool >(arguments_t)> type
Definition function.hpp:16
std::vector< argument_t > arguments_t
Definition function.hpp:14
std::variant< double, bool, std::string > argument_t
Definition function.hpp:12