|
NAMEmkProbe - script file used to generate a Data Probe or Part 21 file reader executable for an EXPRESS schema.SYNOPSISmkProbe [ -ilsSpP ] [ -R pdes-root ] [ -E express-path ] express-file schema-nameDESCRIPTIONmkProbe enables you to create a C++ library based on an EXPRESS file and an executable Data Probe or Part 21 file reader application. The Data Probe allows you to examine, input, and modify a data file corresponding to an EXPRESS schema. The Data Probe generated is specific to the express-file given as the first argument in the mkProbe command. The Part 21 file reader simply reads and writes a Part 21 file and outputs any errors encountered in the file.The schema-name argument designates a location in which to place the executable. The directory selected (see OPTIONS below) is searched for the schema name provided. If schema-name does not exist, a directory will be created using the name provided. schema-name is also used as a suffix for the name of the executable. A new directory is created under the directory from which the script was run. exp2cxx is called from this directory to generate the C++ classes to represent the schema information (a.k.a. the Schema Class Library.) The new directory contains the following: 1) the source code for the C++ classes generated by exp2cxx using the first argument, 2) the object files generated from the source code above, 3) the library created from the object files above, 4) your new Data Probe executable (or p21read if the -p option was used.) i.e. under the directory from which the script was run you will find the following executable: {schema-name}/dp_{schema-name} (or {schema-name}/p21read_{schema-name}) OPTIONS
EXAMPLESInput command line location and name ---------------------------------------------------- mkProbe part41.exp pt41 ./pt41/dp_pt41 mkProbe -p part41.exp pt41 ./pt41/p21read_pt41 mkProbe -i part41.exp pt41 $PDES_ROOT/arch/Probes/pt41/dp_pt41 OUTPUTIf errors are detected, the output generated shows the following:- Errors in input - Compilation errors If no errors are encountered, the output generated shows the following: - The name of the new Data Probe generated - Instructions for running Data Probe SEE ALSOexp2cxx(1)http://scl.nist.gov ISO 10303-11:1994 Industrial Automation Systems and Integration - Product Data Representation and Exchange - Part 11: Description Methods: The EXPRESS Language Reference Manual. Morris, K.C., Sauderd, D., Ressler, S., lidation Testing System: Reusable Software Component Design, NISTIR 4937, National Institute of Standards and Technology, October 1992. Sauder, D., Probe Users Guide, NISTIR 5141, National Institute of Standards and Technology, March 1993. NOTEAll NISTIR documents may be obtained through the National Technical Information Service (NTIS), Springfield VA 22161, USA or through the web. See http://scl.nist.gov for a listing of related documentation.
Visit the GSP FreeBSD Man Page Interface. |