diff options
author | Joe George <joe@zeroc.com> | 2015-12-03 09:45:09 -0500 |
---|---|---|
committer | Joe George <joe@zeroc.com> | 2015-12-03 09:45:09 -0500 |
commit | eb1473089bfe9105b3884a490edafeb561df935e (patch) | |
tree | 71249e567e5dc11b26b27543083d1ec5c5585037 /cpp/include/Slice/Parser.h | |
parent | C++11 mapping: update & timeout tests (diff) | |
download | ice-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.h | 1 |
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: |