Panda3D
|
A base class for all things which can have a name. The name is either empty or nonempty, but it is never NULL. More...
Public Member Functions | |
__init__ (const Namable copy) | |
__init__ (str initial_name) | |
clearName () | |
Resets the Namable's name to empty. More... | |
str | getName () |
bool | hasName () |
Returns true if the Namable has a nonempty name set, false if the name is empty. More... | |
Namable | operator= (const Namable other) |
output (Ostream out) | |
Outputs the Namable. This function simply writes the name to the output stream; most Namable derivatives will probably redefine this. More... | |
setName (str name) | |
Static Public Member Functions | |
static TypeHandle | getClassType () |
A base class for all things which can have a name. The name is either empty or nonempty, but it is never NULL.
__init__ | ( | const Namable | copy | ) |
__init__ | ( | str | initial_name | ) |
clearName | ( | ) |
Resets the Namable's name to empty.
|
static |
str getName | ( | ) |
bool hasName | ( | ) |
Returns true if the Namable has a nonempty name set, false if the name is empty.
output | ( | Ostream | out | ) |
setName | ( | str | name | ) |