summaryrefslogtreecommitdiff
path: root/cpp/include/Slice/Parser.h
diff options
context:
space:
mode:
authorJoe George <joe@zeroc.com>2015-12-03 09:45:09 -0500
committerJoe George <joe@zeroc.com>2015-12-03 09:45:09 -0500
commiteb1473089bfe9105b3884a490edafeb561df935e (patch)
tree71249e567e5dc11b26b27543083d1ec5c5585037 /cpp/include/Slice/Parser.h
parentC++11 mapping: update & timeout tests (diff)
downloadice-eb1473089bfe9105b3884a490edafeb561df935e.tar.bz2
ice-eb1473089bfe9105b3884a490edafeb561df935e.tar.xz
ice-eb1473089bfe9105b3884a490edafeb561df935e.zip
ICE-6897 - Add delegate metadata
The "delegate" metadata tag can be applied to interfaces with one operation. In C++ they are mapped to std::function's, in C# delegates. In Java we still generate a interface with one operation, which is a FunctionalInterface.
Diffstat (limited to 'cpp/include/Slice/Parser.h')
-rw-r--r--cpp/include/Slice/Parser.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/include/Slice/Parser.h b/cpp/include/Slice/Parser.h
index b2854910d67..4722b625206 100644
--- a/cpp/include/Slice/Parser.h
+++ b/cpp/include/Slice/Parser.h
@@ -690,6 +690,7 @@ public:
virtual std::string kindOf() const;
virtual void visit(ParserVisitor*, bool);
int compactId() const;
+ bool isDelegate() const;
protected: