summaryrefslogtreecommitdiff
path: root/cpp/include/Slice/CsUtil.h
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2014-07-29 17:22:45 -0700
committerMark Spruiell <mes@zeroc.com>2014-07-29 17:22:45 -0700
commit1ae29aa042323c6ea5b776eda3d14003e17bdbb1 (patch)
tree64d76ec048ece9271753d026f1607f867ffdcab6 /cpp/include/Slice/CsUtil.h
parentadding -n option for PHP tests to eliminate warnings (diff)
downloadice-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.h3
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