#include <AssociationManager.h>
Inheritance diagram for Atlfast::AssociationManager:
Public Methods | |
void | associate (const ContainedObject *otherEntity) |
void | associate (const SmartRef< ContainedObject > *otherEntity) |
SmartRefVector< ContainedObject > | associations () const |
template<class T> SmartRefVector< T > | associations (T) const |
bool | unAssociated () const |
void | reset () |
Protected Attributes | |
SmartRefVector< ContainedObject > | m_associations |
|
|
|
Sets a simple one directional association between this entity and another. otherEntity is automatically converted to SmartRef<ContainedObject>(otherEntity) |
|
Returns a list of all entities of a certain class which have been associated with this object. |
|
Returns a list of all entities associated with this object. |
|
Reimplemented in Atlfast::Cell. |
|
A quick way to find out whether there are any associations at all. |
|
This is the record of associations between ContainedObjects. It is a vector of SmartRef<ContainedObject> pointing polymorphically to other ContainedObjects in the TES. |