Namable

class Namable

Bases: MemoryBase

A base class for all things which can have a name. The name is either empty or nonempty, but it is never NULL.

Inheritance diagram

digraph inheritanceca82a8bd64 { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "Namable" [URL="acron.core.Namable.html#acron.core.Namable",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "Namable" [arrowsize=0.75,style=""]; }
Namable.__init__()
Namable.clear_name()

Resets the Namable’s name to empty.

static Namable.get_class_type()
Namable.get_name()
Namable.has_name()

Returns true if the Namable has a nonempty name set, false if the name is empty.

Namable.output()

In the absence of any definition to the contrary, outputting a Namable will write out its name.

Outputs the Namable. This function simply writes the name to the output stream; most Namable derivatives will probably redefine this.

Namable.set_name()