/
meta_annotation.hpp
34 lines (25 loc) · 1.15 KB
/
meta_annotation.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright (c) 2019 Hartmut Kaiser
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#if !defined(PHYLANX_PRIMITIVES_META_ANNOTATION_JUN_21_2019_0125PM)
#define PHYLANX_PRIMITIVES_META_ANNOTATION_JUN_21_2019_0125PM
#include <phylanx/config.hpp>
#include <phylanx/execution_tree/annotation.hpp>
#include <hpx/lcos/future.hpp>
#include <string>
namespace phylanx { namespace execution_tree
{
PHYLANX_EXPORT hpx::future<annotation> meta_annotation(
annotation const& locality_ann, annotation&& ann,
std::string const& ann_name, std::string const& name,
std::string const& codename);
PHYLANX_EXPORT annotation meta_annotation(hpx::launch::sync_policy,
annotation const& locality_ann, annotation&& ann,
std::string const& ann_name, std::string const& name,
std::string const& codename);
PHYLANX_EXPORT annotation localities_annotation(annotation& locality_ann,
annotation&& ann, annotation_information const& ann_info,
std::string const& name, std::string const& codename);
}}
#endif