Click or drag to resize

IStructureCollection Methods

The IStructureCollection type exposes the following members.

Methods
  NameDescription
Public methodFinish
Finalize run
Public methodInitialize
Initialize structure collection. Use only when no boundary and cross section data is available, typically when the structure module is used independently (not part of network simulation)

Collects structures with identical location in composite structures.

This automatically calls Initialize(ICrossSection, ICrossSection, Boolean, IDiagnostics) on each structure in the collection, setting the IsLinkStructure to true (no cross section data available)

Public methodInitializeCollection
Initialize structure collection

Collects structures with identical location in composite structures. Sets various properties on collection and individual structures

This does not call Initialize(ICrossSection, ICrossSection, Boolean, IDiagnostics). You need also to call initialize on each structure individually.

Public methodLoad(PFSSection, String)
Loads a collection of structures from a file or data base.
Public methodLoad(IntPtr, String)
Loads a collection of structures from a file or data base.
Public methodLoad(String, String)
Loads a collection of structures from a file or data base.
Public methodLoad(PFSSection, String, ControlData, IDiagnostics)
Loads a collection of structures from a file or data base.
Public methodLoad(IntPtr, String, ControlData, IDiagnostics)
Loads a collection of structures from a file or data base.
Public methodPrepare(HDParameterData, IDiagnostics)
Prepare all structures.
Public methodPrepare(DateTime, HDParameterData, IDiagnostics)
Prepare all structures.
Public methodReadState
Read state and apply to module. Returns true if state was successfully read.
(Inherited from IModelStateReadWrite.)
Public methodResetControlledState
Reset the controlled state of all controllable structures in the collection
Public methodValidate
Validates the data of all strucures in the collection. Diagnostics, Warning and Hints are collected in each of the published classes for the purpose.
Public methodWriteState
Write current state of module
(Inherited from IModelStateReadWrite.)
Top
Extension Methods
  NameDescription
Public Extension MethodRemovableStructure
Returns true if the structure at that location is removable
(Defined by StructureExtensions.)
Public Extension MethodSetBaseFilePath
Set base file path for all structures
(Defined by StructureExtensions.)
Top
See Also