MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getEntryList

Method getEntryList

Engine/source/console/consoleInternal.cpp:1198–1208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1196}
1197
1198void Namespace::getEntryList(VectorPtr<Entry *> *vec)
1199{
1200 if (mHashSequence != mCacheSequence)
1201 buildHashTable();
1202
1203 for (U32 i = 0; i < mHashSize; i++)
1204 if (mHashTable[i])
1205 vec->push_back(mHashTable[i]);
1206
1207 dQsort(vec->address(), vec->size(), sizeof(Namespace::Entry *), compareEntries);
1208}
1209
1210Namespace::Entry *Namespace::createLocalEntry(StringTableEntry name)
1211{

Callers 3

simObject.cppFile · 0.80
exportNamespacesMethod · 0.80
getUniqueEntryListsMethod · 0.80

Calls 4

dQsortFunction · 0.85
push_backMethod · 0.45
addressMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected