diff options
Diffstat (limited to 'cli/inline.cxx')
-rw-r--r-- | cli/inline.cxx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/cli/inline.cxx b/cli/inline.cxx index 0d1393d..702bd6c 100644 --- a/cli/inline.cxx +++ b/cli/inline.cxx @@ -32,6 +32,24 @@ namespace << "{" << "this->" << emember (o) << " = x;" << "}"; + + if (specifier && type != "bool") + { + string spec (especifier (o)); + + os << inl << "bool " << scope << "::" << endl + << spec << " () const" + << "{" + << "return this->" << especifier_member (o) << ";" + << "}"; + + if (modifier) + os << inl << "void " << scope << "::" << endl + << spec << "(bool x)" + << "{" + << "this->" << especifier_member (o) << " = x;" + << "}"; + } } }; |