Package pygeodesy :: Module bases :: Class Base
[frames] | no frames]

Class Base

object --+
         |
        Base
Known Subclasses:

(INTERNAL) Base class.

Instance Methods
 
__repr__(self)
repr(x)
 
__str__(self)
str(x)
 
classname(self, *other)
Build module.class name of this object.
 
classof(self, *args, **kwds)
Instantiate this very class.
 
others(self, other, name='other')
Check this and an other instance for type compatiblility.
 
toStr(self, **args)
(INTERNAL) Must be overloaded.
 
toStr2(self, **kwds)
(INTERNAL) To be overloaded.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

classname(self, *other)

 

Build module.class name of this object.

Parameters:
  • other - Optional object other than self (any).
Returns:
Name of module and class (string).

classof(self, *args, **kwds)

 

Instantiate this very class.

Parameters:
  • args - Optional, positional arguments.
  • kwds - Optional, keyword arguments.
Returns:
New instance (self.__class__).

others(self, other, name='other')

 

Check this and an other instance for type compatiblility.

Parameters:
  • other - The other instance (any).
  • name - Optional, name for other (string).
Returns:
None.
Raises:
  • TypeError - Mismatch of this and type(other).

toStr(self, **args)

 

(INTERNAL) Must be overloaded.

Parameters:
  • args - Optional, positional arguments.

toStr2(self, **kwds)

 

(INTERNAL) To be overloaded.

Parameters:
  • kwds - Optional, keyword arguments.
Returns:
toStr() plus keyword arguments (string).