Line_BDP — Line data base.

This module defines the Line_BDP class.

class admit.bdp.Line_BDP.Line_BDP(xmlFile=None, **keyval)[source]

Line base class for use in BDP’s. BDP’s that contain transition information should inherit from this class. In the instance where line data for more than one transition is needed then the class should instantiate instances of the Line class directly.

Parameters:

xmlFile : string

Output XML file name.

keyval : dictionary

Dictionary of keyword value pairs.

Attributes

line (Line) A Line class to hold the data.

Methods

baseDir([path]) Get/set project base directory.
delete([delfiles]) Method to delete the BDP.
get(key) Access an attribute.
getdir() Method to get the subdirectory(s) of the current BDP relative to the ADMIT working directory.
getfiles() Return the filename(s) associated with the basic data in a BDP.
haskey(key) Query if a key exists for an BDP.
isequal(bdp) Tests for equality with another BDP.
report() Report BDP properties in human readable format.
setkey([name, key]) Sets keyword value(s).
show() Show the xmlFile name.
update(new_state) Updates BDP state.
write([xmlFile]) Writes the BDP to an XML file.