diff options
author | Mark Spruiell <mes@zeroc.com> | 2014-07-29 17:22:45 -0700 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2014-07-29 17:22:45 -0700 |
commit | 1ae29aa042323c6ea5b776eda3d14003e17bdbb1 (patch) | |
tree | 64d76ec048ece9271753d026f1607f867ffdcab6 /cpp/include/Slice/CsUtil.h | |
parent | adding -n option for PHP tests to eliminate warnings (diff) | |
download | ice-1ae29aa042323c6ea5b776eda3d14003e17bdbb1.tar.bz2 ice-1ae29aa042323c6ea5b776eda3d14003e17bdbb1.tar.xz ice-1ae29aa042323c6ea5b776eda3d14003e17bdbb1.zip |
ICE-2600 - serialization support for C# exceptions
Diffstat (limited to 'cpp/include/Slice/CsUtil.h')
-rw-r--r-- | cpp/include/Slice/CsUtil.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/include/Slice/CsUtil.h b/cpp/include/Slice/CsUtil.h index e1318358c87..0d936557ef4 100644 --- a/cpp/include/Slice/CsUtil.h +++ b/cpp/include/Slice/CsUtil.h @@ -39,6 +39,7 @@ protected: static std::string getStaticId(const TypePtr&); static std::string typeToString(const TypePtr&, bool = false); static bool isValueType(const TypePtr&); + static bool isSerializable(const TypePtr&); // // Generate code to marshal or unmarshal a type @@ -51,6 +52,8 @@ protected: void writeOptionalSequenceMarshalUnmarshalCode(::IceUtilInternal::Output&, const SequencePtr&, const std::string&, int, bool, bool); + void writeSerializeDeserializeCode(::IceUtilInternal::Output&, const TypePtr&, const std::string&, bool, int, bool); + private: class MetaDataVisitor : public ParserVisitor |