pyIPXACT.Catalog

class pyIPXACT.Catalog.IpxactFile(vlnv: pyIPXACT.Vlnv, name: str, description: str)[source]

Bases: object

Represents a IP-XACT file.

__init__(vlnv: pyIPXACT.Vlnv, name: str, description: str)[source]

Constructor

_vlnv = None

VLNV unique identifier

_name = None

Name

_description = None

Description

classmethod FromXml(element)[source]

Constructs an instance of IpxactFile from an lxml element.

ToXml(indent)[source]

Converts the object’s data into XML format.

class pyIPXACT.Catalog.Catalog(vlnv: pyIPXACT.Vlnv, description: str)[source]

Bases: pyIPXACT.RootElement

Represents an IP-XACT catalog.

__init__(vlnv: pyIPXACT.Vlnv, description: str)[source]

Base-constructor to set a VLNV field for all derives classes.

classmethod FromFile(filePath: pathlib.Path)[source]

Constructs an instance of Catalog from a file.

ToXml()[source]

Converts the object’s data into XML format.