At the Octave Developers Meeting today it was confirmed that we would like to use “m_” as a prefix for member variables in C++ classes. There had been no mention of this convention previously so I added it to the list of C++ Octave Coding Guidelines here: C++ style guide - Octave.
There are still a large number of variables (1092) which need renaming. Because the number is so large I’d like to just put the list out and when people have time they can convert a file or two at a time. With enough programmers this shouldn’t be too hard.
The easiest way I found to get a list of the member variables for a class was to run
make doxyhtml at the top of a development tree. This will create files in the directory
doc/doxyhtml. The files
function_vars_[a-z].html contain the member variables that begin with each letter.
For reference, the current list of variables that need changing (8/24/21) is uploaded here.member_vars.list (13.8 KB)
There may be a large exclusion of variables related to Qt files generated by the
ui processor. If someone could confirm that these do not need changing then the list should shorten considerably.