summaryrefslogtreecommitdiff
path: root/cpp/src/Slice/Parser.h
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2018-10-18 14:26:42 -0400
committerBernard Normier <bernard@zeroc.com>2018-10-18 14:26:42 -0400
commitd8df1157c9dc0b3ce6d0fe31c06ff0b112b5886d (patch)
tree5b105c05b4f8842dcc5014fc59eb0a23a4f0a2fb /cpp/src/Slice/Parser.h
parentFix JS warnings regarding build dependencies (diff)
downloadice-d8df1157c9dc0b3ce6d0fe31c06ff0b112b5886d.tar.bz2
ice-d8df1157c9dc0b3ce6d0fe31c06ff0b112b5886d.tar.xz
ice-d8df1157c9dc0b3ce6d0fe31c06ff0b112b5886d.zip
slice2cs no longer generates empty namespaces
Fixes #246
Diffstat (limited to 'cpp/src/Slice/Parser.h')
-rw-r--r--cpp/src/Slice/Parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Slice/Parser.h b/cpp/src/Slice/Parser.h
index 81c01077a31..82f03f586f8 100644
--- a/cpp/src/Slice/Parser.h
+++ b/cpp/src/Slice/Parser.h
@@ -507,7 +507,8 @@ public:
bool hasNonLocalInterfaceDefs() const;
bool hasValueDefs() const;
bool hasOnlyClassDecls() const;
- bool hasAbstractClassDefs() const;
+ bool hasOperations() const; // interfaces or classes with operations
+ bool hasNonLocalAbstractClassDefs() const; // interfaces or abstract classes
bool hasNonLocalDataOnlyClasses() const;
bool hasOtherConstructedOrExceptions() const; // Exceptions or constructed types other than classes.
bool hasContentsWithMetaData(const std::string&) const;