summaryrefslogtreecommitdiff
path: root/cpp/include/Slice/Parser.h
diff options
context:
space:
mode:
authorMichi Henning <michi@zeroc.com>2002-08-12 02:18:24 +0000
committerMichi Henning <michi@zeroc.com>2002-08-12 02:18:24 +0000
commit0b1443640cd95bc0c22db88ab00f7948e955bcfb (patch)
tree2ad713c4e6dd0b49f4a092f8615f99b688854269 /cpp/include/Slice/Parser.h
parentFixed a bug where we would move the buffer iterator beyond the buffer end. (diff)
downloadice-0b1443640cd95bc0c22db88ab00f7948e955bcfb.tar.bz2
ice-0b1443640cd95bc0c22db88ab00f7948e955bcfb.tar.xz
ice-0b1443640cd95bc0c22db88ab00f7948e955bcfb.zip
Changed nonmutating from metadata do keyword.
Diffstat (limited to 'cpp/include/Slice/Parser.h')
-rw-r--r--cpp/include/Slice/Parser.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/include/Slice/Parser.h b/cpp/include/Slice/Parser.h
index f48004a9acc..ff7d0fa0ab7 100644
--- a/cpp/include/Slice/Parser.h
+++ b/cpp/include/Slice/Parser.h
@@ -464,7 +464,7 @@ class SLICE_API ClassDef : virtual public Container, virtual public Contained
public:
virtual void destroy();
- OperationPtr createOperation(const std::string&, const TypePtr&);
+ OperationPtr createOperation(const std::string&, const TypePtr&, bool);
DataMemberPtr createDataMember(const std::string&, const TypePtr&);
ClassDeclPtr declaration() const;
ClassList bases() const;
@@ -701,6 +701,7 @@ public:
ParamDeclPtr createParamDecl(const std::string&, const TypePtr&, bool);
ParamDeclList parameters() const;
ExceptionList throws() const;
+ bool nonmutating() const;
void setExceptionList(const ExceptionList&);
virtual ContainedType containedType() const;
virtual bool uses(const ContainedPtr&) const;
@@ -709,11 +710,12 @@ public:
protected:
- Operation(const ContainerPtr&, const std::string&, const TypePtr&);
+ Operation(const ContainerPtr&, const std::string&, const TypePtr&, bool);
friend class SLICE_API ClassDef;
TypePtr _returnType;
ExceptionList _throws;
+ bool _nonmutating;
};
// ----------------------------------------------------------------------