From 337a15b66483af135c796b9a9c581a107e57672f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20K=C4=99dzia?= <Pawel.Kedzia@pwr.wroc.pl> Date: Tue, 10 May 2011 10:58:34 +0200 Subject: [PATCH] (swig) Wprapper for Wccl::ActionExecContext --- swig/libcclactionexeccontext.i | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 swig/libcclactionexeccontext.i diff --git a/swig/libcclactionexeccontext.i b/swig/libcclactionexeccontext.i new file mode 100644 index 0000000..528164b --- /dev/null +++ b/swig/libcclactionexeccontext.i @@ -0,0 +1,31 @@ +#ifndef SWIG_LIBWCCL_ACTIONEXECCONTEXT_I +#define SWIG_LIBWCCL_ACTIONEXECCONTEXT_I + +%module libcclactionexeccontext +%{ + #include <libwccl/ops/tagaction.h> +%} + +%include "libcclvariables.i" +%include "libcclsentencecontext.i" + +namespace Wccl { + class ActionExecContext { + public: + ActionExecContext( + SentenceContext& sentence_context, + const boost::shared_ptr<Variables>& vars); + /* --------------------------------------------------------------------- */ + + SentenceContext& sentence_context() const; + /* --------------------------------------------------------------------- */ + + const boost::shared_ptr<Variables>& variables() const; + }; +} + +using namespace boost; +using namespace Wccl; +using namespace std; + +#endif /* SWIG_LIBWCCL_ACTIONEXECCONTEXT_I */ -- GitLab