CADETProcess.dataStructure.dataStructure.Descriptor

Contents

CADETProcess.dataStructure.dataStructure.Descriptor#

class CADETProcess.dataStructure.dataStructure.Descriptor(*args, **kwargs)[source]#

Base class for descriptors.

Descriptors are used to efficiently implement class attributes that require checking type, value, size etc. For using Descriptors, a class must inherit from StructMeta.

  • self is the Descriptor managing the attribute of the instance.

  • instance is the object which holds the actual value.

  • value is the value of the instance attribute.

See also

StructMeta
Parameters