Imex_Traf_Import()
Abstract
Imports point-to-point traffic demands from a self-documenting text file, using the default log procedure to log errors.
Syntax
Imex_Traf_Import (file_name)
| Argument | Type | Description |
|---|---|---|
file_name |
char * |
full path of the text file to import |
Return Type
PrgT_Compcode
PrgC_Compcode_Failure for failure; PrgC_Compcode_Success for success.
Header
imex.h
Details
Imports point-to-point traffic demands from a self-documenting text file in standard format into the current scenario. The demands will be imported as path objects in the current scenario. These objects represent traffic. The function performs all parsing, object creation, and assignment of attributes for the objects.
Errors discovered in the input text file are logged using the default logging procedure.