From acd139f75656c3571c584920c8e006acf7ce9117 Mon Sep 17 00:00:00 2001 From: Mark Spruiell Date: Fri, 3 May 2002 02:46:21 +0000 Subject: adding support for sequence metadata --- cpp/include/Slice/JavaUtil.h | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) (limited to 'cpp/include/Slice/JavaUtil.h') diff --git a/cpp/include/Slice/JavaUtil.h b/cpp/include/Slice/JavaUtil.h index 62cb997b439..fb7a56c2ed1 100644 --- a/cpp/include/Slice/JavaUtil.h +++ b/cpp/include/Slice/JavaUtil.h @@ -63,20 +63,39 @@ protected: TypeModeReturn }; std::string typeToString(const TypePtr&, TypeMode mode, - const std::string& = std::string()) const; + const std::string& = std::string(), + const std::list& = std::list()) const; // // Generate code to marshal or unmarshal a type // - void writeMarshalUnmarshalCode(::IceUtil::Output&, const std::string&, const TypePtr&, - const std::string&, bool, int&, bool = false); + void writeMarshalUnmarshalCode(::IceUtil::Output&, const std::string&, const TypePtr&, const std::string&, + bool, int&, bool = false, const std::list& = std::list()); + + // + // 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 std::list& = std::list()); // // Generate generic code to marshal or unmarshal a type // void writeGenericMarshalUnmarshalCode(::IceUtil::Output&, const std::string&, const TypePtr&, - const std::string&, const std::string&, bool, int&, - bool = false); + const std::string&, const std::string&, bool, int&, bool = false, + const std::list& = std::list()); + + // + // Generate generic code to marshal or unmarshal a sequence type + // + void writeGenericSequenceMarshalUnmarshalCode(::IceUtil::Output&, const std::string&, const SequencePtr&, + const std::string&, const std::string&, bool, int&, bool, + const std::list& = std::list()); + +protected: + + static std::string findMetaData(const std::list&); private: -- cgit v1.2.3