NameableString Class Reference

#include <maplib.h>

Inheritance diagram for NameableString:
Inheritance graph
[legend]
Collaboration diagram for NameableString:
Collaboration graph
[legend]

Public Member Functions

 NameableString (const std::string &name)
std::string name () const
void attach (const NameCallback &callback)
void detach (const NameCallback &callback)

Private Attributes

std::string m_name

Detailed Description

Definition at line 36 of file maplib.h.


Constructor & Destructor Documentation

NameableString::NameableString ( const std::string name  )  [inline]

Definition at line 36 of file maplib.h.

References m_name, name(), and string.


Member Function Documentation

void NameableString::attach ( const NameCallback callback  )  [inline, virtual]

Reimplemented from Nameable.

Definition at line 45 of file maplib.h.

References m_name.

void NameableString::detach ( const NameCallback callback  )  [inline, virtual]

Reimplemented from Nameable.

Definition at line 48 of file maplib.h.

std::string NameableString::name (  )  const [inline, virtual]

Implements Nameable.

Definition at line 41 of file maplib.h.

Referenced by NameableString().


Field Documentation

Definition at line 34 of file maplib.h.

Referenced by attach(), and NameableString().


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

Generated by  doxygen 1.6.2