srcML / srcUML

UML Class diagram reverse engineering tool
GNU General Public License v3.0
14 stars 5 forks source link

read-write and read-only properties #14

Open mjdecker opened 8 years ago

mjdecker commented 8 years ago

Add support for read-write and read-only properties.

Not sure how high a priority this is. Seems like it would require some type of semantic analysis, or could do a simple string distance or word matching.

mjdecker commented 7 years ago

In addition, if want to fully implement Sutton's work, then should not show attributes that are not read/written.

mjdecker commented 7 years ago

Probably, something like require srcML file to have hpp file before cpp, and have method policy that collects dependency information, what members it accesses (will need to keep track of what is declared inside), and what it returns (is it a data member)? Then, send this off to srcuml listener, and it can then update if the field is read/written.