summaryrefslogtreecommitdiff
path: root/cpp/include/Slice/JavaUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Slice/JavaUtil.h')
-rw-r--r--cpp/include/Slice/JavaUtil.h18
1 files changed, 16 insertions, 2 deletions
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,20 +108,34 @@ 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.
//
static std::string findMetaData(const StringList&);