•
•
•
•
•
•
•
• Option? is the PersonQuery command prompt.Option? name "Thomas Mann"Option? address "116 Einbahnstrasse, Frankfurt am Main, BRD"Option? hair brown eyes blue
Listing 4‑1 provides the OMG IDL code for the implemented in the PersonQuery sample application.
2. Copy the interceptors_cxx samples to the working directory created in the previous step:> xcopy /s/i %TUXDIR%\samples\corba\interceptors_cxx <workdirectory>\cxx> cp -R $TUXDIR/samples/corba/interceptors_cxx <workdirectory>/cxx> cd <workdirectory>\cxx> cd <workdirectory>/cxxYou will use the files listed and described in Table 4‑2 in the PersonQuery sample application.
personqueryc.cpp The generic makefile that uses the macros defined in the appropriate platform.inc file to build the InterceptorData interceptors. The generic makefile that uses the macros defined in the appropriate platform.inc file to build the InterceptorSimp interceptors. The generic makefile that uses the macros defined in the appropriate platform.inc file to build the InterceptorSec interceptors. platform.inc The file that contains platform-specific make definitions for building the set of interceptor sample applications, where platform represents the system platform for the machine you are using. The following command builds the PersonQuery application, creates a machine-specific UBBCONFIG file, and loads the UBBCONFIG file:Option? hair brown eyes blue
4. Enter the result command to see the final query result.
6. Enter the exit command to quit from the application.