#include <actortype.h>
Public Member Functions | |
| bool | operator() (const dtCore::RefPtr< const ActorType > &id1, const dtCore::RefPtr< const ActorType > &id2) const |
We cannot use the default comparison function because we store smart pointers in the factory. This implies that the ActorType will not be the key, but the memory address of the ActorType will be the key. Therefore, this comparison function exists so that the ActorType smart pointer is deferenced before the comparison.
| bool dtDAL::ActorType::RefPtrComp::operator() | ( | const dtCore::RefPtr< const ActorType > & | id1, | |
| const dtCore::RefPtr< const ActorType > & | id2 | |||
| ) | const [inline] |