pImpl
pImpl Idiom in C++
|
The PimplClass::Private class. More...
#include <pImpl_p.h>
Public Member Functions | |
Private (PimplClass *q=nullptr) | |
Construct a new Private object. | |
virtual | ~Private ()=default |
Destroy the Private object. | |
Public Attributes | |
PimplClass *const | q_ptr |
q-ptr that points to the API class | |
The PimplClass::Private class.
This class is the private class of the PimplClass class, it is used to hide the implementation of the PimplClass class. Only the PimplClass class and childrens can access it.
|
inline |
|
virtualdefault |
Destroy the Private object.
virtual destructor to allow the destruction of the private class from the API class
PimplClass* const PimplClass::Private::q_ptr |