summaryrefslogtreecommitdiff
path: root/cpp/include/Slice/CsUtil.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Slice/CsUtil.h')
-rw-r--r--cpp/include/Slice/CsUtil.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/cpp/include/Slice/CsUtil.h b/cpp/include/Slice/CsUtil.h
index 39b8ac9bbae..9cc8360cb38 100644
--- a/cpp/include/Slice/CsUtil.h
+++ b/cpp/include/Slice/CsUtil.h
@@ -34,16 +34,22 @@ public:
protected:
static std::string fixId(const std::string&, int = 0, bool = false);
static std::string fixId(const ContainedPtr&, int = 0, bool = false);
- static std::string typeToString(const TypePtr&);
+ static std::string getOptionalType(const TypePtr&);
+ static std::string getStaticId(const TypePtr&);
+ static std::string typeToString(const TypePtr&, bool = false);
static bool isValueType(const TypePtr&);
//
// Generate code to marshal or unmarshal a type
//
void writeMarshalUnmarshalCode(::IceUtilInternal::Output&, const TypePtr&, const std::string&, bool, bool,
- bool, const std::string& = "", bool = false);
+ const std::string& = "");
+ void writeOptionalMarshalUnmarshalCode(::IceUtilInternal::Output&, const TypePtr&, const std::string&, int, bool,
+ bool, const std::string& = "");
void writeSequenceMarshalUnmarshalCode(::IceUtilInternal::Output&, const SequencePtr&, const std::string&,
- bool, bool);
+ bool, bool, bool);
+ void writeOptionalSequenceMarshalUnmarshalCode(::IceUtilInternal::Output&, const SequencePtr&, const std::string&,
+ int, bool, bool);
private: