obspy.io.xseed.fields.Integer

class Integer(id, name, length, **kwargs)[source]

Bases: obspy.io.xseed.fields.Field

An integer field.

Public Methods

convert

get_seed

get_xml

parse_seed

parse_xml

read

write

Private Methods

Warning

Private methods are mainly for internal/developer use and their API might change without notice.

Integer._format_string(s)

Using SEED specific flags to format strings.

This method is partly adopted from fseed.py, the SEED builder for SeisComP written by Andres Heinloo, GFZ Potsdam in 2005.

Integer._repr_pretty_(p, cycle)

Special Methods

Integer.__delattr__(name, /)

Implement delattr(self, name).

Integer.__dir__()

Default dir() implementation.

Integer.__eq__(value, /)

Return self==value.

Integer.__format__(format_spec, /)

Default object formatter.

Integer.__ge__(value, /)

Return self>=value.

Integer.__getattribute__(name, /)

Return getattr(self, name).

Integer.__gt__(value, /)

Return self>value.

Integer.__hash__()

Return hash(self).

Integer.__init__(id, name, length, **kwargs)[source]
Integer.__init_subclass__()

This method is called when a class is subclassed.

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

Integer.__le__(value, /)

Return self<=value.

Integer.__lt__(value, /)

Return self<value.

Integer.__ne__(value, /)

Return self!=value.

Integer.__new__(**kwargs)
Integer.__reduce__()

Helper for pickle.

Integer.__reduce_ex__(protocol, /)

Helper for pickle.

Integer.__repr__()

Return repr(self).

Integer.__setattr__(name, value, /)

Implement setattr(self, name, value).

Integer.__sizeof__()

Size of object in memory, in bytes.

Integer.__str__()
Integer.__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).