Panda3D
|
A base class for all things which can have a name. More...
#include "namable.h"
Public Member Functions | |
Namable (const std::string &initial_name="") | |
void | clear_name () |
Resets the Namable's name to empty. | |
const std::string & | get_name () const |
bool | has_name () const |
Returns true if the Namable has a nonempty name set, false if the name is empty. | |
void | output (std::ostream &out) const |
Outputs the Namable. | |
void | set_name (const std::string &name) |
![]() | |
void | operator delete (void *, void *) |
void | operator delete (void *ptr) |
void | operator delete[] (void *, void *) |
void | operator delete[] (void *ptr) |
void * | operator new (size_t size) |
void * | operator new (size_t size, void *ptr) |
void * | operator new[] (size_t size) |
void * | operator new[] (size_t size, void *ptr) |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
Public Attributes | |
get_name | |
set_name | |
A base class for all things which can have a name.
The name is either empty or nonempty, but it is never NULL.
|
inlineexplicit |
|
inline |
|
inlinestatic |
|
inline |
Returns true if the Namable has a nonempty name set, false if the name is empty.
Definition at line 43 of file namable.I.
Referenced by XFileNode::add_child(), EggComponentData::add_name(), EggGroupUniquifier::get_category(), EggXfmSAnim::optimize(), NodePathComponent::output(), EggSAnimData::write(), ParametricCurve::write_egg(), ParametricCurveCollection::write_egg(), EggNamedObject::write_header(), XFileDataDef::write_text(), and XFileDataNodeTemplate::write_text().
|
inline |