epreston/PSTreeGraph — Issue #11: Adopt instance variable hiding
Author: epreston
Created: 2011-12-01 02:35:16+00:00
State: open
Labels: Improvements

Move instance variables to the class extension in the implementation file. Where possible, dependant headers will also be moved into the implementation file as well. These changes will clean up the header files greatly.

It is now possible to place the instance variables (specifically the ones that you want to be private) into the implementation section or into a class extension. I typically use a class extension in the implementation file for private interfaces, so it makes sense to group things there.

Some dependant header files are included in project header files just for these instance variables. Once the variables are moved into the implementation file, some dependant headers can be hidden in the implementation file as well.