The ISInfoDynAny class inherits from the ISInfo base class and an instance of the ISInfoDynAny can be passed to all functions of the IS API which are reading information from the IS repository and are expecting to get a reference to ISInfo. "Listing 10.1" shows a very simple example of how to use this class to print out the information content to the standard C++ stream.
There IS library implements a global output operator for the ISInfoDynAny class which is used in this example (line 19). "Listing 10.2"shows an example of the output produced by this operator.
2 July 1998 - WebMaster | Copyright © CERN 1998 |