Encapsulate field, C++ refactoring: encapsulate field – Slick EDIT V3.3 User Manual

Page 229

Advertising
background image

Encapsulate Field

Generates get and set functions for the specified variable and makes that variable private. All references
to the variable are replaced with references to the getter or setter, as appropriate.

Figure 6.38. C++ Refactoring: Encapsulate Field

C++ Refactoring

207

Advertising