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

Class _Named

object --+
         |
        _Named
Known Subclasses:

(INTERNAL) Root class for named objects.

Instance Methods
 
__repr__(self)
str(x)
 
__str__(self)
str(x)
 
classof(self, *args, **kwds)
Create another instance of this very class.
 
copy(self, deep=False)
Make a shallow or deep copy of this instance.
 
toStr(self, **unused)
Default str(self).
 
toStr2(self, **unused)
Default repr(self).

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

Properties
  classname
Get this object's [module.]class name (str), see property .classnaming and function classnaming.
  classnaming
Get the class naming (bool), see function classnaming.
  name
Get the name (str).
  named
Get the name or class name or "" (str).
  named2
Get the class name and/or the name or "" (str).

Inherited from object: __class__

Method Details

__repr__(self)
(Representation operator)

 

str(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)

classof(self, *args, **kwds)

 

Create another instance of this very class.

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

copy(self, deep=False)

 

Make a shallow or deep copy of this instance.

Parameters:
  • deep - If True make a deep, otherwise a shallow copy (bool).
Returns:
The copy (This class or subclass thereof).

Property Details

classname

Get this object's [module.]class name (str), see property .classnaming and function classnaming.

Get Method:
classname(self) - Get this object's [module.]class name (str), see property .classnaming and function classnaming.
Set Method:
Read_Only(self, ignored) - Throws an AttributeError, always.

classnaming

Get the class naming (bool), see function classnaming.

Get Method:
classnaming(self) - Get the class naming (bool), see function classnaming.
Set Method:
classnaming(self, prefixed) - Set the class naming for [module.].class names.

name

Get the name (str).

Get Method:
name(self) - Get the name (str).
Set Method:
name(self, name) - Set the name.

named

Get the name or class name or "" (str).

Get Method:
named(self) - Get the name or class name or "" (str).
Set Method:
Read_Only(self, ignored) - Throws an AttributeError, always.

named2

Get the class name and/or the name or "" (str).

Get Method:
named2(self) - Get the class name and/or the name or "" (str).
Set Method:
Read_Only(self, ignored) - Throws an AttributeError, always.