A base class for all things which can have a name. More...
Public Member Functions | |
Namable (Namable const copy) | |
Namable (string initial_name) | |
Namable () | |
clearName () | |
Resets the Namable's name to empty. | |
string | getName () |
bool | hasName () |
Returns true if the Namable has a nonempty name set, false if the name is empty. | |
Namable | operator= (Namable const other) |
output (ostream out) | |
Outputs the Namable. | |
setName (string 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.
Namable | ( | string | initial_name | ) |
Namable | ( | ) |
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented in PGWaitBar, PGScrollFrame, PGSliderBar, PGVirtualFrame, PGMouseWatcherBackground, PGEntry, PGTop, PGButton, PGItem, AudioLoadRequest, Transform2SG, Trackball, MouseWatcher, MouseWatcherRegion, MouseSubregion, DriveInterface, MouseInterfaceNode, ButtonThrower, StaticTextFont, DynamicTextFont, DynamicTextPage, TextFont, SheetNode, RopeNode, NurbsCurve, HermiteCurve, PiecewiseCurve, CubicCurveseg, ParametricCurve, VideoTexture, TextureReloadRequest, Material, AnimateVerticesRequest, PythonTask, AsyncTaskSequence, AsyncTaskPause, AsyncTaskManager, AsyncTaskChain, PythonThread, MainThread, ExternalThread, Thread, AsyncTaskBase, VirtualMouse, TrackerNode, MouseAndKeyboard, DialNode, ButtonNode, AnalogNode, CollisionVisualizer, CollisionTraverser, CollisionNode, CharacterJointBundle, Character, CharacterSlider, CharacterJoint, PartBundleNode, MovingPartACScalarSwitchType, MovingPartScalar, MovingPartACMatrixSwitchType, MovingPartMatrix, MovingPartBase, PartBundle, BindAnimRequest, AnimChannelScalarTable, AnimChannelScalarDynamic, AnimChannelMatrixXfmTable, AnimChannelMatrixDynamic, AnimChannelScalar, AnimChannelMatrix, AnimChannelBase, AnimControl, PartGroup, AnimBundleNode, AnimBundle, AnimGroup, RigidBodyCombiner, SceneGraphAnalyzerMeter, Texture, MovieTexture, TextNode, FrameRateMeter, UserDataAudio, MicrophoneAudio, InkblotVideo, FfmpegVideo, MovieVideo, FfmpegAudio, MovieAudio, PortalNode, PolylightNode, OccluderNode, ModelRoot, ModelNode, ModelLoadRequest, AsyncTask, ModelFlattenRequest, PandaLoader, Fog, GeomNode, PlaneNode, LensNode, UvScrollNode, SwitchNode, Spotlight, SequenceNode, SelectiveChildNode, PointLight, FadeLODNode, LODNode, DirectionalLight, Camera, LightLensNode, CallbackNode, AmbientLight, PandaNode, LightNode, DataNode, and MouseRecorder.
string getName | ( | ) |
Reimplemented in DynamicTextFont.
Outputs the Namable.
This function simply writes the name to the output stream; most Namable derivatives will probably redefine this.
Reimplemented in MouseWatcherRegion, Material, SimpleLru, AdaptiveLru, AsyncTaskManager, AsyncTaskChain, Thread, CollisionTraverser, PartBundle, AnimControl, AnimGroup, TextNode, AsyncTask, PandaLoader, LightLensNode, PandaNode, and LightNode.