LightWrap++
AC++wrapperfortheLightWave3DSDK
lwpp::Nameable Class Reference

Base class for items that can be named. Will store the name locally in a copy. More...

#include <utility.h>

+ Collaboration diagram for lwpp::Nameable:

List of all members.

Public Member Functions

 Nameable (const char *_name=0)
 Nameable (std::string _name)
virtual ~Nameable ()
virtual const std::string & GetName () const
 Get a name.
virtual Nameableoperator= (const Nameable &from)
 Copy a name.
virtual void SetName (const std::string _name)
 Set a new name.
virtual void SetName (const char *_name)

Public Attributes

std::string name

Detailed Description

Base class for items that can be named. Will store the name locally in a copy.


Constructor & Destructor Documentation

lwpp::Nameable::Nameable ( const char *  _name = 0)
inlineexplicit
lwpp::Nameable::Nameable ( std::string  _name)
inlineexplicit
virtual lwpp::Nameable::~Nameable ( )
inlinevirtual

Member Function Documentation

virtual const std::string& lwpp::Nameable::GetName ( ) const
inlinevirtual

Get a name.

virtual Nameable& lwpp::Nameable::operator= ( const Nameable from)
inlinevirtual

Copy a name.

virtual void lwpp::Nameable::SetName ( const std::string  _name)
inlinevirtual

Set a new name.

virtual void lwpp::Nameable::SetName ( const char *  _name)
inlinevirtual

Member Data Documentation

std::string lwpp::Nameable::name

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