|
Oh what is left is the "wrapper class". Well a wrapper class is basically nothing else but a class to wrap certain (possibly complex) matters into a single class.
Here a few examples:
1).
A C++ programmer encounters a bunch of C code. It may not be optimized for object oriented programming, or it may not be very user friendly. The C++ coder decides to wrap the C code into a C++ class to implement some form of design or user friendlyness.
2).
In large(r) projects, it may be better to wrap compiler, debug, optimization and test stettings into a single class. The programmer is able to use the settings from a central point.
__________________
|