MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / FindBool

Method FindBool

src/plugin/kernel/src/AFCTable.cpp:187–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187uint32_t AFCTable::FindBool(const uint32_t index, bool value) const
188{
189 for (auto iter : data_)
190 {
191 auto pRowData = iter.second;
192 ARK_ASSERT_RET_VAL(pRowData != nullptr, 0u);
193
194 if (pRowData->GetBool(index) == value)
195 {
196 return iter.first;
197 }
198 }
199
200 return 0u;
201}
202
203uint32_t AFCTable::FindFloat(const uint32_t index, float value) const
204{

Callers

nothing calls this directly

Calls 1

GetBoolMethod · 0.45

Tested by

no test coverage detected