A powerful technique to implement the direct invocation of a recovery procedure makes an ingenious use of a global (public)
Dictionary object. The method involves the use of command wrappers, function pointers, and callback functions. If you are not familiar with such object-oriented design patterns and concepts, then it is recommended that you first read Chapter 7, Using Classes, where some basic concepts are outlined.
The idea of using a dictionary to implement function pointers was first raised in an article published on www.advancedqtp.com/ back in 2007. A
Dictionary object is capable of storing data of any type, including objects and even other
Dictionary objects, thus serving as a tree-like structure. ...