Home Segments Index Top Previous Next

234: Mainline

So that the class definitions stay focused on the construction of a class hierarchy, none of the classes defined in this chapter include a private portion. Instead, all member variables and member functions are in the public interfaces. You could, of course, redefine the classes such that they have a private portion, adding appropriate readers and writers to the public interfaces.