Package pygeodesy :: Module named :: Class _NamedBase |
[frames] | no frames]

# Class _NamedBase

    object --+
             |
        _Named --+
                 |
                _NamedBase

Known Subclasses:
  - albers._AlbersBase
  - , css.CassiniSoldner
  - , _NamedEnumItem
  - , css.Css
  - , ecef.EcefCartesian
  - , ecef._EcefBase
  - , azimuthal._AzimuthalBase
  - , utmupsBase.UtmUpsBase
  - , etm.ExactTransverseMercator
  - , vector3d.Vector3d
  - , lcc.Lcc
  - , mgrs.Mgrs
  - , osgr.Osgr
  - , webmercator.Wm
  - , latlonBase.LatLonBase

(INTERNAL) Base class with name.

Instance Methods
__repr__(self) Default `repr(self)`. |
__str__(self) Default `str(self)`. |
others(self, other, name=`'``other``'`, up=1) Check this and an other instance for type compatibility. |
toRepr(self, **kwds) (INTERNAL) Could be overloaded. |
toStr(self, **kwds) (INTERNAL) Must be overloaded. |
Inherited from `_Named`: `_dot_`, `attrs`, `classof`, `copy`, `toStr2` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__init__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__setattr__`, `__sizeof__`, `__subclasshook__`

Properties
Inherited from `_Named`: `classname`, `classnaming`, `name`, `named`, `named2` Inherited from `object`: `__class__`

Method Details

### __repr__ (self) (Representation operator) |
Default `repr(self)`. Overrides: object.__repr__ (inherited documentation)

### __str__ (self) (Informal representation operator) |
Default `str(self)`. Overrides: object.__str__ (inherited documentation)

### others (self, other, name=`'``other``'`, up=1) |
Check this and an other instance for type compatibility. Arguments: `other` - The other instance (any `type`). `name` - Optional, name for other (`str`). `up` - Number of call stack frames up (`int`). Returns: The `other` if compatible. Raises: `TypeError` - Mismatch of the `other` and this `class` or `type`.

### toRepr (self, **kwds) |
(INTERNAL) Could be overloaded. Arguments: `kwds` - Optional, keyword arguments. Returns: `toStr`() with keyword arguments (as `str`). Overrides: _Named.toRepr

### toStr (self, **kwds) |
(INTERNAL) Must be overloaded. Raises: `_AssertionError` - Always, see function notOverloaded. Overrides: _Named.toStr