pyHarm.Substructures.SubDataReader.FactoryReader

This module is the factory of the Substructure Readers.

pyHarm.Substructures.SubDataReader.FactoryReader.SubstructureReaderDictionary

Dictionary of available Substructure reader subclasses as values and their factory_keyword as key.

Type:

dict[str, ABCReader]

Attributes

SubstructureReaderDictionary

Dictionary of available Substructure readers subclasses as values and their factory_keyword as key.

Functions

generate_subreader(...)

Function responsible for the instantiation of ABCReader objects.

Module Contents

pyHarm.Substructures.SubDataReader.FactoryReader.SubstructureReaderDictionary

Dictionary of available Substructure readers subclasses as values and their factory_keyword as key.

Type:

dict[str, ABCReader]

pyHarm.Substructures.SubDataReader.FactoryReader.generate_subreader(data: dict) pyHarm.Substructures.SubDataReader.ABCReader.ABCReader

Function responsible for the instantiation of ABCReader objects.

Parameters:

data (dict) – input dictionary

Returns:

Instance of a subclass of ABCReader class.

Return type:

ABCReader