TargetKeys Class Reference

#include <targetable.h>

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

Public Member Functions

void setTargetsChanged (const Callback &targetsChanged)
void targetsChanged ()
void insert (const std::string &key, EntityKeyValue &value)
void erase (const std::string &key, EntityKeyValue &value)
const TargetingEntitiesget () const

Private Member Functions

bool readTargetKey (const std::string &key, std::size_t &index)

Private Attributes

TargetingEntities m_targetingEntities
Callback m_targetsChanged

Detailed Description

Definition at line 205 of file targetable.h.


Member Function Documentation

void TargetKeys::erase ( const std::string key,
EntityKeyValue value 
) [inline, virtual]
const TargetingEntities& TargetKeys::get (  )  const [inline]

Definition at line 251 of file targetable.h.

References m_targetingEntities.

Referenced by TargetableInstance::getTargeting().

void TargetKeys::insert ( const std::string key,
EntityKeyValue value 
) [inline, virtual]
bool TargetKeys::readTargetKey ( const std::string key,
std::size_t &  index 
) [inline, private]

Todo:
optimize string operation

Definition at line 210 of file targetable.h.

Referenced by erase(), and insert().

void TargetKeys::setTargetsChanged ( const Callback &  targetsChanged  )  [inline]

Definition at line 222 of file targetable.h.

References m_targetsChanged.

Referenced by TargetableInstance::setTargetsChanged().

void TargetKeys::targetsChanged (  )  [inline]

Definition at line 226 of file targetable.h.

References m_targetsChanged.

Referenced by erase(), insert(), and TargetableInstance::targetsChanged().


Field Documentation

Definition at line 207 of file targetable.h.

Referenced by erase(), get(), and insert().

Callback TargetKeys::m_targetsChanged [private]

Definition at line 208 of file targetable.h.

Referenced by setTargetsChanged(), and targetsChanged().


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

Generated by  doxygen 1.6.2