What is not clear in the question is "what" needs to know... An instance of the derived class? Code external to both base and derived classes?
And why is this needed in the first place? Maybe you should reconsider your design?
And why is this needed in the first place? Maybe you should reconsider your design?
Unless noted otherwise, code in my posts should be understood as "coding suggestions", and its use may require more neurones than the two necessary for Ctrl-C/Ctrl-V.
Your one-stop place for all your GIMP needs: gimp-forum.net
Your one-stop place for all your GIMP needs: gimp-forum.net