Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Teddy::MixIn::Named Class Reference

Named object mix in. More...

#include <Named.h>

Inheritance diagram for Teddy::MixIn::Named:

Inheritance graph
[legend]
List of all members.

Public Methods

 Named ()
 Named constructor without parameters. More...

 Named (const std::string &name)
 Named constructor with char * name parameter. More...

virtual ~Named ()
const std::string & getName () const
 Name accessor. More...

void setName (const std::string &name)
 Name accessor for char * parameter. More...


Protected Attributes

std::string name

Detailed Description

Named object mix in.

Definition at line 37 of file Named.h.


Constructor & Destructor Documentation

Teddy::MixIn::Named::Named  
 

Named constructor without parameters.

Definition at line 35 of file Named.cpp.

References name.

Referenced by Teddy::PhysicalComponents::Area::Area.

Teddy::MixIn::Named::Named const std::string &    name
 

Named constructor with char * name parameter.

Definition at line 41 of file Named.cpp.

Teddy::MixIn::Named::~Named   [virtual]
 

Definition at line 46 of file Named.cpp.


Member Function Documentation

const std::string & Teddy::MixIn::Named::getName   const
 

Name accessor.

Definition at line 51 of file Named.cpp.

References name.

Referenced by Teddy::PhysicalComponents::Dock::beginPlace, Teddy::PhysicalComponents::Area::drawFillRect, Teddy::PhysicalComponents::Layer::drawLayer, Teddy::PhysicalComponents::MenuList::drawSelf, Teddy::PhysicalComponents::Layer::getHit, and Teddy::PhysicalComponents::Area::getHit.

void Teddy::MixIn::Named::setName const std::string &    name
 

Name accessor for char * parameter.

Definition at line 58 of file Named.cpp.

References name.


Member Data Documentation

std::string Teddy::MixIn::Named::name [protected]
 

Definition at line 47 of file Named.h.

Referenced by Teddy::PhysicalComponents::ActionButton::ActionButton, Teddy::PhysicalComponents::Button::Button, Teddy::PhysicalComponents::Area::draw, Teddy::PhysicalComponents::Area::drawFillRect, Teddy::PhysicalComponents::Layer::drawLayer, Teddy::PhysicalComponents::Layer::getHit, Teddy::PhysicalComponents::Area::getHit, getName, Teddy::PhysicalComponents::Label::Label, Teddy::Imports::LWSurface::LWSurface, Named, Teddy::Scenes::Scene::pick, Teddy::PhysicalComponents::Popup::Popup, and setName.


The documentation for this class was generated from the following files: