Panda3D
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
Public Member Functions | Static Public Member Functions | List of all members
Namable Class Reference

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

Inheritance diagram for Namable:
MemoryBase AdaptiveLru AnimControl AnimGroup AsyncTaskBase AsyncTaskChain AsyncTaskManager CardMaker CollisionTraverser FisheyeMaker FreetypeFont HeightfieldTesselator LineSegs Loader Material MouseWatcherRegion MovieAudio MovieVideo PandaNode PartGroup SimpleLru TextFont Texture Thread EggNamedObject

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 ()
 

Detailed Description

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

Member Function Documentation

__init__ ( const Namable  copy)
__init__ ( str  initial_name)
clearName ( )

Resets the Namable's name to empty.

static TypeHandle getClassType ( )
static
str getName ( )
bool hasName ( )

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

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.

setName ( str  name)