usecase: Open network

public usecase: Open network
Author: Lukáš Civín
Project: Phase: 1.0; Status: Proposed; Version: 1.0; Complexity: 1
Dates: Created: 5.12.2005 14:24:18; Modified: 5.12.2005 16:53:03;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {4224789B-CC89-48ce-8F94-1481E8682AAA}
 

Goto: Scenarios

Extends: File operations

See also: File operations

Appears in: UC Network Administration

Connections
 
Open network Scenarios
Scenario Type Detail
Open BP network from the file Basic Path Already saved networks can be loaded back to the program again. Only special XML files are supported.
In the dialog, user fills in the name of the file, that contains the network.

XmlReader is created and reads the network from the file into the memory. With initial parameters, a new network is created with initial parameters (all zeros-function CreateNet(...)) and then filled with its parameters (function BP_network.ReadNet(XmlReader)). The network is inserted into the linked list and listbox with its informations.

Most important functions:
Read();
MoveToElement();
ReadString() with XmlConvert functions