T O P I C R E V I E W |
vjedlicka |
Posted - Aug 23 2007 : 4:33:35 PM Can getters start with Get and setters with Set? for example when I have field
int m_age;
I get
int Age() const { return m_age; } void Age(int val) { m_age = val; }
I would prefer GetAge() and SetAge()
Thank you Vaclav |
3 L A T E S T R E P L I E S (Newest First) |
vjedlicka |
Posted - Aug 24 2007 : 1:59:12 PM It is ok now, thank you guys! |
feline |
Posted - Aug 24 2007 : 08:55:41 AM See here for some more details on this:
http://www.wholetomato.com/products/features/encapsulateField.asp |
rhummer |
Posted - Aug 23 2007 : 5:07:34 PM You can change how it is generated. There is an Auto Text entry called 'Refactor Encapsulate Field' simply modify that entry to have a Get and Set. |