summaryrefslogtreecommitdiff
path: root/cli/header.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-06-21 10:25:57 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-06-21 10:25:57 +0200
commit80a611d355a31e0f11e3f69339ccacf378cb3bb3 (patch)
tree1093043381f631d57d3fd555bc88f2ce92b77748 /cli/header.cxx
parent9465db62c36d98b40cfc1048dfdec571b93565e7 (diff)
Generate "direct access" modifier in addition to "setter"
Diffstat (limited to 'cli/header.cxx')
-rw-r--r--cli/header.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/header.cxx b/cli/header.cxx
index bfef712..26c23b8 100644
--- a/cli/header.cxx
+++ b/cli/header.cxx
@@ -24,9 +24,15 @@ namespace
<< endl;
if (modifier)
+ {
+ os << type << "&" << endl
+ << name << " ();"
+ << endl;
+
os << "void" << endl
<< name << " (const " << type << "&);"
<< endl;
+ }
if (specifier && type != "bool")
{