Author Topic: Code Generation: C++ properties  (Read 374 times)


  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Code Generation: C++ properties
« on: June 16, 2009, 11:51:33 pm »
Hi all,

i'm using EA 7.5.844 and i have two problems.

1. i tried to set the "Get Prefix" to a empty string (Tools->Options->Source Code Engeneering->C++->Get Prefix).
EA didn't accept an empty string. The "Get Prefix" is always "Get". How can i solve this problem?

2. if i create a string property (e.g. std::string m_Directory) and select "By Ref", the getter method is build like this:
std::string & GetDirectory();
The return value and the whole method should be const. It is possible to change the getter method seperate, but this is not what i need. I need this:
const std::string & directory() const;
Is there a solution for this problem?