NamedEntity Class Reference

#include <namedentity.h>

Collaboration diagram for NamedEntity:
Collaboration graph
[legend]

Public Types

typedef MemberCaller1
< NamedEntity, const
std::string
&,&NamedEntity::identifierChanged > 
IdentifierChangedCaller

Public Member Functions

 NamedEntity (EntityKeyValues &entity)
std::string name () const
void attach (const NameCallback &callback)
void detach (const NameCallback &callback)
void identifierChanged (const std::string &value)

Private Attributes

EntityKeyValuesm_entity
NameCallbackSet m_changed
std::string m_name

Detailed Description

Definition at line 58 of file namedentity.h.


Member Typedef Documentation

typedef MemberCaller1<NamedEntity, const std::string&, &NamedEntity::identifierChanged> NamedEntity::IdentifierChangedCaller

Definition at line 92 of file namedentity.h.


Constructor & Destructor Documentation

NamedEntity::NamedEntity ( EntityKeyValues entity  )  [inline]

Definition at line 64 of file namedentity.h.


Member Function Documentation

void NamedEntity::attach ( const NameCallback callback  )  [inline]

Definition at line 74 of file namedentity.h.

References NameCallbackSet::insert(), and m_changed.

void NamedEntity::detach ( const NameCallback callback  )  [inline]

Definition at line 78 of file namedentity.h.

References NameCallbackSet::erase(), and m_changed.

void NamedEntity::identifierChanged ( const std::string value  )  [inline]
std::string NamedEntity::name (  )  const [inline]

Field Documentation

Definition at line 61 of file namedentity.h.

Referenced by attach(), detach(), and identifierChanged().

Definition at line 60 of file namedentity.h.

Referenced by identifierChanged(), and name().

Definition at line 62 of file namedentity.h.

Referenced by identifierChanged(), and name().


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

Generated by  doxygen 1.6.2