airinv_parseInventory - Man Page

Command-line utility for the C++ Simulated Airline Inventory Management System library

Synopsis

airinv_parseInventory [--prefix] [-v|--version] [-h|--help] [-b|--builtin] [-f|--for_schedule] [-i|--inventory <path-to-inventory-input-file>] [-s|--schedule <path-to-schedule-input-file>] [-o|--ond <path-to-ond-input-file>] [-y|--yield <path-to-yield-input-file>] [-l|--log <path-to-output-log-file>]

Description

airinv is a small program showing how to use the AirInv library.

airinv accepts the following options:

--prefix
Show the AirInv installation prefix.

-v, --version
Print the currently installed version of AirInv on the standard output.

-h, --help
Produce that message and show usage.

-b, --builtin
The sample BOM tree can be either built-in or parsed from an input file. That latter must then be given with either the -i/--inventory option or the set of -s/--schedule, -o/--ond options.

-f, --for_schedule
The BOM tree should be built from a schedule file (instead of from an inventory dump).

-i, --inventory <path-to-input-file>
Path (absolute or relative) of the (CSV) input file specifying the inventory (flight-date) details.

-s, --schedule <path-to-input-file>
Path (absolute or relative) of the (CSV) input file specifying the network/schedule (flight-period) details.

-o, --ond <path-to-input-file>
Path (absolute or relative) of the (CSV) input file specifying the O&D (origin/destination) details.

-y, --yield <path-to-input-file>
Path (absolute or relative) of the (CSV) input file specifying the yield rule details.

-k, --segment_date_key Key of the segment on which the sell will be made.

-c, --class_code Booking class code on which the sell will be made.

-p, --party_size Size of the party booking on the given segment-date.

-l, --log <path-to-output-log-file>
Path (absolute or relative) of the output log file.

See the output of the `airinv --help' command for default options.

See Also

airinv(1), AirInvServer(1), AirInvClient(1), airinv-config(1), airinv-library(3)

Support

Please report any bugs to https://sourceforge.net/apps/trac/airinv/report

Referenced By

airinv(1), airinv-config(1), airinv-library(3).