Re: C++コード生成でクラス変数にthis->をつけるには?ご回答ありがとうございます。 以下のような変更で無事対応できました。
Getter [変更前] %elseIf opStereotype == "property get" and opTag:"attribute_name" != ""% \treturn %opTag:"attribute_name"%;
[変更後] %elseIf opStereotype == "property get" and opTag:"attribute_name" != ""% \treturn this->%opTag:"attribute_name"%;
Setter [変更前] %elseIf opStereotype == "property set" and opTag:"attribute_name" != ""% \t%opTag:"attribute_name"% = newVal;
[変更後] %elseIf opStereotype == "property set" and opTag:"attribute_name" != ""% \tthis->%opTag:"attribute_name"% = newVal;
|