diff options
author | Mark Spruiell <mes@zeroc.com> | 2010-02-05 13:34:06 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2010-02-05 13:34:06 -0800 |
commit | 2ae657758b62ca65a05a12a291097d8fe98dd2b5 (patch) | |
tree | 88eb13c400efe34ede7282c157907bc7812fe497 /cpp/src/slice2java/Gen.h | |
parent | updating CHANGES for bug 4653 (diff) | |
download | ice-2ae657758b62ca65a05a12a291097d8fe98dd2b5.tar.bz2 ice-2ae657758b62ca65a05a12a291097d8fe98dd2b5.tar.xz ice-2ae657758b62ca65a05a12a291097d8fe98dd2b5.zip |
bug 4650 - Slice default values
Diffstat (limited to 'cpp/src/slice2java/Gen.h')
-rw-r--r-- | cpp/src/slice2java/Gen.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cpp/src/slice2java/Gen.h b/cpp/src/slice2java/Gen.h index a11dcedf4ce..5e3f828c9fe 100644 --- a/cpp/src/slice2java/Gen.h +++ b/cpp/src/slice2java/Gen.h @@ -68,6 +68,16 @@ protected: void writeDispatchAndMarshalling(::IceUtilInternal::Output&, const ClassDefPtr&, bool); // + // Write a constant or default value initializer. + // + void writeConstantValue(::IceUtilInternal::Output&, const TypePtr&, const std::string&, const std::string&); + + // + // Generate assignment statements for those data members that have default values. + // + void writeDataMemberInitializers(::IceUtilInternal::Output&, const DataMemberList&, const std::string&); + + // // Write doc comments. // static StringList splitComment(const ContainedPtr&); |