NameKeys Class Reference

#include <namekeys.h>

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

Public Member Functions

 NameKeys (EntityKeyValues &entity)
 ~NameKeys ()
void setNamespace (Namespace &space)
void insert (const std::string &key, EntityKeyValue &value)
void erase (const std::string &key, EntityKeyValue &value)

Private Types

typedef std::map< std::string,
EntityKeyValue * > 
KeyValues

Private Member Functions

 NameKeys (const NameKeys &other)
NameKeysoperator= (const NameKeys &other)
void insertName (const std::string &key, EntityKeyValue &value)
void eraseName (const std::string &key, EntityKeyValue &value)
void insertAll ()
void eraseAll ()

Private Attributes

Namespacem_namespace
EntityKeyValuesm_entity
KeyValues m_keyValues

Detailed Description

Definition at line 40 of file namekeys.h.


Member Typedef Documentation

Definition at line 47 of file namekeys.h.


Constructor & Destructor Documentation

NameKeys::NameKeys ( const NameKeys other  )  [private]
NameKeys::NameKeys ( EntityKeyValues entity  )  [inline]

Definition at line 75 of file namekeys.h.

References EntityKeyValues::attach(), and m_entity.

NameKeys::~NameKeys (  )  [inline]

Definition at line 80 of file namekeys.h.

References EntityKeyValues::detach(), and m_entity.


Member Function Documentation

void NameKeys::erase ( const std::string key,
EntityKeyValue value 
) [inline, virtual]

Implements Entity::Observer.

Definition at line 95 of file namekeys.h.

References eraseName(), and m_keyValues.

void NameKeys::eraseAll (  )  [inline, private]

Definition at line 68 of file namekeys.h.

References eraseName(), i, and m_keyValues.

Referenced by setNamespace().

void NameKeys::eraseName ( const std::string key,
EntityKeyValue value 
) [inline, private]

Definition at line 56 of file namekeys.h.

References Namespace::detach(), keyIsName(), and m_namespace.

Referenced by erase(), and eraseAll().

void NameKeys::insert ( const std::string key,
EntityKeyValue value 
) [inline, virtual]

Implements Entity::Observer.

Definition at line 90 of file namekeys.h.

References insertName(), and m_keyValues.

void NameKeys::insertAll (  )  [inline, private]

Definition at line 62 of file namekeys.h.

References i, insertName(), and m_keyValues.

Referenced by setNamespace().

void NameKeys::insertName ( const std::string key,
EntityKeyValue value 
) [inline, private]

Definition at line 50 of file namekeys.h.

References Namespace::attach(), keyIsName(), and m_namespace.

Referenced by insert(), and insertAll().

NameKeys& NameKeys::operator= ( const NameKeys other  )  [private]
void NameKeys::setNamespace ( Namespace space  )  [inline, virtual]

Implements Namespaced.

Definition at line 84 of file namekeys.h.

References eraseAll(), insertAll(), and m_namespace.


Field Documentation

Definition at line 43 of file namekeys.h.

Referenced by NameKeys(), and ~NameKeys().

Definition at line 48 of file namekeys.h.

Referenced by erase(), eraseAll(), insert(), and insertAll().

Definition at line 42 of file namekeys.h.

Referenced by eraseName(), insertName(), and setNamespace().


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

Generated by  doxygen 1.6.2