obspy.io.xseed.fields.VariableString¶
- class VariableString(id, name, min_length=0, max_length=None, flags=u'', **kwargs)[source]¶
Bases: obspy.io.xseed.fields.Field
Variable length ASCII string, ending with a tilde: ~ (ASCII 126).
Variable length fields cannot have leading or trailing spaces. Character counts for variable length fields do not include the tilde terminator.
Attributes
__dict__ __doc__ unicode(object=’‘) -> unicode object __module__ str(object=’‘) -> string __weakref__ list of weak references to the object (if defined) Public Methods
convert get_seed get_xml next parse_seed parse_xml read write Private Methods
Warning
Private methods are mainly for internal/developer use and their API might change without notice.
_format_string Using SEED specific flags to format strings. _read _repr_pretty_ Special Methods
__format__ default object formatter __init__ __long__ __native__ Hook for the future.utils.native() function __new__ __nonzero__ __reduce__ helper for pickle __reduce_ex__ helper for pickle __sizeof__ size of object in memory, in bytes __str__ __subclasshook__ Abstract classes can override this to customize issubclass(). __unicode__