#include <namable.h>
Inheritance diagram for Namable:

| Public Member Functions | |
| Namable (const string &initial_name="") | |
| Namable (const Namable ©) | |
| Namable & | operator= (const Namable &other) | 
| void | set_name (const string &name) | 
| void | clear_name () | 
| Resets the Namable's name to empty. | |
| bool | has_name () const | 
| Returns true if the Namable has a nonempty name set, false if the name is empty. | |
| const string & | get_name () const | 
| void | output (ostream &out) const | 
| Outputs the Namable. | |
| Static Public Member Functions | |
| TypeHandle | get_class_type () | 
| void | init_type () | 
| Private Attributes | |
| string | _name | 
| Static Private Attributes | |
| TypeHandle | _type_handle | 
The name is either empty or nonempty, but it is never NULL.
Definition at line 41 of file namable.h.
| 
 | 
| 
 Definition at line 30 of file namable.I. References INLINE. | 
| 
 | 
| 
 | 
| 
 | 
| Resets the Namable's name to empty. 
 | 
| 
 | 
| 
 | 
| 
 | 
| Returns true if the Namable has a nonempty name set, false if the name is empty. 
 Definition at line 97 of file namable.I. References get_name(), and INLINE. Referenced by EggGroupUniquifier::EggGroupUniquifier(), Texture::read(), and Texture::Texture(). | 
| 
 | 
| 
 | 
| 
 Definition at line 56 of file namable.I. Referenced by EggNamedObject::EggNamedObject(). | 
| 
 | 
| Outputs the Namable. This function simply writes the name to the output stream; most Namable derivatives will probably redefine this. Reimplemented in BuilderBucket, AnimBundle, AnimChannelBase, AnimChannelFixed< SwitchType >, AnimGroup, PartBundle, CollisionNode, ButtonNode, HermiteCurve, RopeNode, Fog, GeomNode, LensNode, LightLensNode, LightNode, LODNode, PandaNode, PlaneNode, MouseWatcher, and MouseWatcherRegion. | 
| 
 | 
| 
 Definition at line 69 of file namable.I. References _name. Referenced by BuilderBucket::BuilderBucket(), SceneGraphReducer::do_flatten_siblings(), Texture::read(), PandaNode::reparent(), and Texture::Texture(). | 
| 
 | 
| 
 Definition at line 57 of file namable.h. Referenced by clear_name(), Namable(), operator=(), and set_name(). | 
| 
 | 
 1.3
1.3