Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
WCCL
Manage
Activity
Members
Labels
Plan
Issues
4
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Analysers
WCCL
Commits
cced9417
Commit
cced9417
authored
14 years ago
by
Paweł Kędzia
Browse files
Options
Downloads
Patches
Plain Diff
Updated Wccl::FunctionalOperator wrapper
parent
37ef3d9d
Branches
Branches containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
swig/libcclfunctionaloperator.i
+11
-4
11 additions, 4 deletions
swig/libcclfunctionaloperator.i
with
11 additions
and
4 deletions
swig/libcclfunctionaloperator.i
+
11
−
4
View file @
cced9417
...
...
@@ -6,22 +6,29 @@
#include <libwccl/ops/operator.h>
%}
%
include
"
libcclvalue.i
"
%
include
"
libcclvariables.i
"
%
include
"
libcclparsedexpression.i
"
%
include
"
std_string.i
"
%
include
"
boost_shared_ptr.i
"
namespace
Wccl
{
class FunctionalOperator : public ParsedExpression {
public:
// virtual boost::shared_ptr<const Value> base_apply(const SentenceContext& sc) = 0;
//
boost::shared_ptr<FunctionalOperator> clone_ptr() const;
//
boost::shared_ptr<FunctionalOperator> clone_clean_ptr() const;
boost::shared_ptr<FunctionalOperator> clone_ptr() const;
boost::shared_ptr<FunctionalOperator> clone_clean_ptr() const;
protected:
//
explicit FunctionalOperator(const Variables& variables);
//
FunctionalOperator* clone_internal() const = 0;
explicit FunctionalOperator(const Variables& variables);
FunctionalOperator* clone_internal() const = 0;
};
}
%
template
(
FunctionalOperatorSharedPtr
)
boost
::
shared_ptr
<
Wccl
::
FunctionalOperator
>
;
using
namespace
boost
;
using
namespace
std
;
using
namespace
Wccl
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment