Imex_Topo_Import()
Abstract
Imports topology from a self-documenting text file, using the default log procedure to log errors.
Syntax
Imex_Topo_Import (file_name)
| Argument | Type | Description |
|---|---|---|
file_name |
char * |
full path of the text file to be imported |
Return Type
PrgT_Compcode
PrgC_Compcode_Failure for failure; PrgC_Compcode_Success for success.
Header
imex.h
Details
Imports a network topology from a self-documenting text file into the current scenario. The text file must conform to the documented format called TEF. Calling this function automates the process of creating objects within the current scenario. The function performs all parsing, object creation, and assignment of attributes for the objects. Before importing, the current network is cleared (all nodes and links are removed).
Errors discovered in the input text file are logged using the default logging procedure.