summaryrefslogtreecommitdiff
path: root/cpp/src/slice2matlab/Main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2matlab/Main.cpp')
-rw-r--r--cpp/src/slice2matlab/Main.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/cpp/src/slice2matlab/Main.cpp b/cpp/src/slice2matlab/Main.cpp
index dcf7708ce1a..4f1cf1cffa8 100644
--- a/cpp/src/slice2matlab/Main.cpp
+++ b/cpp/src/slice2matlab/Main.cpp
@@ -2590,6 +2590,9 @@ CodeVisitor::visitClassDefStart(const ClassDefPtr& p)
IceUtilInternal::Output out;
openClass(abs, _dir, out);
+ writeDocSummary(out, p);
+ writeCopyright(out, p->file());
+
out << nl << "classdef (Abstract) " << name;
if(bases.empty())
{
@@ -3164,6 +3167,8 @@ CodeVisitor::visitSequence(const SequencePtr& p)
IceUtilInternal::Output out;
openClass(abs, _dir, out);
+ writeCopyright(out, p->file());
+
out << nl << "classdef " << name;
out.inc();
out << nl << "methods(Static)";
@@ -3421,6 +3426,8 @@ CodeVisitor::visitDictionary(const DictionaryPtr& p)
IceUtilInternal::Output out;
openClass(abs, _dir, out);
+ writeCopyright(out, p->file());
+
out << nl << "classdef " << name;
out.inc();
out << nl << "methods(Access=private)";