Imex_Traf_Export_Selective()
Abstract
Exports the current network traffic demands for selected path objects to a self-documenting text file.
Syntax
Imex_Traf_Export_Selective (file_name, path_attributes_list, path_selector_func)
| Argument | Type | Description |
|---|---|---|
file_name |
const char * |
Full path of the text file. |
path_attributes_list |
PrgT_List * |
List of traffic attribute names (char*’s) for those attributes to include in the text file. |
path_selector_func |
ImexT_Path_Selector_Func |
User-written function called to evaluate path objects for export. |
Return Type
int
Number of paths exported.
Header
imex.h
Details
This function exports traffic demands from the current scenario. It works identically to Imex_Traf_Export(), except that it also calls the path_selector_func procedure to evaluate each path object in the network for inclusion in the traffic export. Path objects rejected by path_selector_func will not be exported.
The prototype for path_selector_func is given in ImexT_Path_Selector_Func.