obspy.io.sac.sactrace.EnumHeader

class EnumHeader(name)[source]

Bases: obspy.io.sac.sactrace.IntHeader

Special Methods

EnumHeader.__delattr__(name, /)

Implement delattr(self, name).

EnumHeader.__dir__()

Default dir() implementation.

EnumHeader.__eq__(value, /)

Return self==value.

EnumHeader.__format__(format_spec, /)

Default object formatter.

EnumHeader.__ge__(value, /)

Return self>=value.

EnumHeader.__get__(instance, instance_type)[source]
EnumHeader.__getattribute__(name, /)

Return getattr(self, name).

EnumHeader.__gt__(value, /)

Return self>value.

EnumHeader.__hash__()

Return hash(self).

EnumHeader.__init__(name)
EnumHeader.__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

EnumHeader.__le__(value, /)

Return self<=value.

EnumHeader.__lt__(value, /)

Return self<value.

EnumHeader.__ne__(value, /)

Return self!=value.

EnumHeader.__new__(**kwargs)
EnumHeader.__reduce__()

Helper for pickle.

EnumHeader.__reduce_ex__(protocol, /)

Helper for pickle.

EnumHeader.__repr__()

Return repr(self).

EnumHeader.__set__(instance, value)[source]
EnumHeader.__setattr__(name, value, /)

Implement setattr(self, name, value).

EnumHeader.__sizeof__()

Size of object in memory, in bytes.

EnumHeader.__str__()

Return str(self).

EnumHeader.__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).