Package paramz :: Package core :: Module nameable :: Class Nameable
[hide private]
[frames] | no frames]

Class Nameable

source code


Make an object nameable inside the hierarchy.

Instance Methods [hide private]
 
__init__(self, name, *a, **kw)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
hierarchy_name(self, adjust_for_printing=True)
return the name for this object with the parents names attached by dots.
source code

Inherited from gradcheckable.Gradcheckable: checkgrad

Inherited from gradcheckable.Gradcheckable (private): _checkgrad

Inherited from pickleable.Pickleable: __deepcopy__, __getstate__, __setstate__, copy, pickle

Inherited from parentable.Parentable: has_parent

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

Class Variables [hide private]

Inherited from parentable.Parentable: _parent_, _parent_index_

Properties [hide private]
  name
The name of this object

Inherited from parentable.Parentable: _highest_parent_

Inherited from object: __class__

Method Details [hide private]

__init__(self, name, *a, **kw)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

hierarchy_name(self, adjust_for_printing=True)

source code 

return the name for this object with the parents names attached by dots.

:param bool adjust_for_printing: whether to call :func:`~adjust_for_printing()`
                                 on the names, recursively
                                 


Property Details [hide private]

name

The name of this object

Get Method:
unreachable.name(self) - The name of this object
Set Method:
unreachable.name(self, name) - Set the name of this object.