Class for caching list of UObject pointers categorized by UClass.
More...
#include <UObjectGlobals.h>
|
typedef std::map< UClass *, KarmaVector< UObject * > * > | AMap |
|
typedef AMap::iterator | AnIterator |
|
AMap | m_KeyValuePair |
|
Class for caching list of UObject pointers categorized by UClass.
◆ KarmaClassObjectMap()
Karma::KarmaClassObjectMap::KarmaClassObjectMap |
( |
| ) |
|
|
inline |
Default constructor
- Since
- Karma 1.0.0
◆ ~KarmaClassObjectMap()
Karma::KarmaClassObjectMap::~KarmaClassObjectMap |
( |
| ) |
|
Default destructor
- Since
- Karma 1.0.0
◆ FindClassObjects()
Find the object vector associated with class
- Parameters
-
Key | The key to search for. |
- Returns
- A pointer to the object vector
- See also
- UStruct::IsChildOf()
- Todo
- write class registration system for comparing UClass
- Since
- Karma 1.0.0
◆ FindOrAddClass()
Find the value associated with a specified UClass key, or if none exists, adds a value using the default constructor.
- Parameters
-
- Returns
- A reference to the value associated with the specified key
- Todo
- Priority based: memory management needed, especially since new is used to allocate KarmaVector<UObject*> on heap
- Since
- Karma 1.0.0
The documentation for this class was generated from the following files: