From 4ee06da3e23c279897cef5b2b51487875b4486b7 Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Tue, 19 Oct 2004 02:27:18 +0000 Subject: adding streaming API --- cpp/include/Slice/JavaUtil.h | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'cpp/include/Slice/JavaUtil.h') diff --git a/cpp/include/Slice/JavaUtil.h b/cpp/include/Slice/JavaUtil.h index ee01c743919..f2e41f3a660 100644 --- a/cpp/include/Slice/JavaUtil.h +++ b/cpp/include/Slice/JavaUtil.h @@ -108,19 +108,33 @@ protected: const StringList& = StringList()) const; // - // Generate code to marshal or unmarshal a type + // Generate code to marshal or unmarshal a type. // void writeMarshalUnmarshalCode(::IceUtil::Output&, const std::string&, const TypePtr&, const std::string&, bool, int&, bool = false, const StringList& = StringList(), const std::string& patchParams = ""); // - // Generate code to marshal or unmarshal a sequence type + // Generate code to marshal or unmarshal a sequence type. // void writeSequenceMarshalUnmarshalCode(::IceUtil::Output&, const std::string&, const SequencePtr&, const std::string&, bool, int&, bool, const StringList& = StringList()); + // + // Generate code to marshal or unmarshal a type using the public stream API. + // + void writeStreamMarshalUnmarshalCode(::IceUtil::Output&, const std::string&, const TypePtr&, const std::string&, + bool, int&, bool = false, const StringList& = StringList(), + const std::string& patchParams = ""); + + // + // Generate code to marshal or unmarshal a sequence type using the public stream API. + // + void writeStreamSequenceMarshalUnmarshalCode(::IceUtil::Output&, const std::string&, const SequencePtr&, + const std::string&, bool, int&, bool, + const StringList& = StringList()); + // // Find custom sequence metadata. // -- cgit v1.2.3