Karma Engine
Loading...
Searching...
No Matches
Karma::KarmaClassObjectMap Class Reference
Inheritance diagram for Karma::KarmaClassObjectMap:
Collaboration diagram for Karma::KarmaClassObjectMap:

Public Member Functions

KarmaVector< UObject * > * FindClassObjects (const UClass *Key)
 
KarmaVector< UObject * > * FindOrAddClass (const UClass *Key)
 
- Public Member Functions inherited from KarmaMap< UClass *, KarmaVector< UObject * > * >
KarmaVector< UObject * > *& FindOrAdd (const UClass *&Key)
 
KarmaVector< UObject * > ** Find (const UClass *&Key)
 

Additional Inherited Members

- Public Types inherited from KarmaMap< UClass *, KarmaVector< UObject * > * >
typedef std::map< UClass *, KarmaVector< UObject * > * > AMap
 
typedef AMap::iterator AnIterator
 
- Protected Attributes inherited from KarmaMap< UClass *, KarmaVector< UObject * > * >
AMap m_KeyValuePair
 

Member Function Documentation

◆ FindClassObjects()

KarmaVector< UObject * > * Karma::KarmaClassObjectMap::FindClassObjects ( const UClass * Key)

Find the object vector associated with class

Parameters
KeyThe key to search for.
Returns
A pointer to the object vector
See also
UStruct::IsChildOf()
Todo
write class registration system for comparing UClass

◆ FindOrAddClass()

KarmaVector< UObject * > * Karma::KarmaClassObjectMap::FindOrAddClass ( const UClass * Key)

Find the value associated with a specified key, or if none exists, adds a value using the default constructor.

Parameters
KeyThe key to search for.
Returns
A reference to the value associated with the specified key.

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