preheat_open.measurements.MapItem

class preheat_open.measurements.MapItem

Bases: ABC

Abstract base class for mappers that map components to strings.

__init__()

Methods

__init__()

map(component)

Maps a component to a string.

abstract map(component)

Maps a component to a string.

Parameters:

component (Component) – The component to map.

Returns:

The mapped string.

Return type:

str