target.hpp 470 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
3
4
5
6
7
8
#ifndef RTG_GUARD_RTGLIB_TARGET_HPP
#define RTG_GUARD_RTGLIB_TARGET_HPP

#include <string>
#include <functional>
#include <memory>
#include <type_traits>
#include <utility>
Paul's avatar
Paul committed
9
#include <rtg/context.hpp>
Paul's avatar
Paul committed
10
11
12
13
14
15
16
17

namespace rtg {

struct program;

<%
interface('target',
    virtual('name', returns='std::string', const=True),
Paul's avatar
Paul committed
18
19
    virtual('apply', returns='void', p='program &', const=True),
    virtual('get_context', returns='context', const=True)
Paul's avatar
Paul committed
20
21
22
23
24
25
)
%>

} // namespace rtg

#endif