diff options
author | Mark Spruiell <mes@zeroc.com> | 2012-09-14 15:30:12 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2012-09-14 15:30:12 -0700 |
commit | c912d30d47799bbba77d0f2532704d8aaba12a4a (patch) | |
tree | 8611fdb0b73a9a78f7c319ca4bb08f1f9d2e9cd0 /cpp/src/Ice/StreamI.h | |
parent | Fixed optional test issues (diff) | |
download | ice-c912d30d47799bbba77d0f2532704d8aaba12a4a.tar.bz2 ice-c912d30d47799bbba77d0f2532704d8aaba12a4a.tar.xz ice-c912d30d47799bbba77d0f2532704d8aaba12a4a.zip |
Python support for optionals
Diffstat (limited to 'cpp/src/Ice/StreamI.h')
-rw-r--r-- | cpp/src/Ice/StreamI.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/Ice/StreamI.h b/cpp/src/Ice/StreamI.h index 8d9bba4e977..ba0d103a640 100644 --- a/cpp/src/Ice/StreamI.h +++ b/cpp/src/Ice/StreamI.h @@ -147,7 +147,7 @@ public: using OutputStream::write; #endif - virtual void writeOptional(Int, OptionalType); + virtual bool writeOptional(Int, OptionalType); virtual void startObject(const SlicedDataPtr&); virtual void endObject(); @@ -173,6 +173,9 @@ public: virtual size_type pos(); virtual void rewrite(Int, size_type); + virtual void startSize(); + virtual void endSize(); + private: const CommunicatorPtr _communicator; |