[rcml-devel] Accessor methods
Status: Pre-Alpha
Brought to you by:
jdavidb
From: <jx...@ga...> - 2000-11-19 23:05:40
|
A lot of the accessor methods from the increment 2 code don't do what I expect. Any member of a class should have two accessor methods: getMember() and setMember(). getMember() should take no parameters and simply return the member. setMember() should take one parameter and set the member to the value of that parameter. There seem to be some cases where getMember() methods take a parameter. I'm not sure what was intended in these cases, but I am coding additional accessor methods that do what I was expecting. There are also some cases where setMember() methods take something and add it to a member. I'm coding additional accessors in these cases, too. jdb |