cfdm.core.abstract.Container


class cfdm.core.abstract.Container(source=None, copy=True)[source]

Bases: object

Abstract base class for storing components.

New in version 1.7.0.

Initialisation

A container is initialised with no parameters. Components are set after initialisation with the _set_component method.

Miscellaneous

Methods

copy

Return a deep copy.

Special

Methods

__deepcopy__

Called by the copy.deepcopy function.

Private

Methods

_del_component

Remove a component.

_get_component

Return a component

_has_component

Whether a component has been set.

_set_component

Set a component.