MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / getNumEntries

Method getNumEntries

src/OpenColorIO/FileRules.cpp:687–690  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

685}
686
687size_t FileRules::getNumEntries() const noexcept
688{
689 return m_impl->m_rules.size();
690}
691
692size_t FileRules::getIndexForRule(const char * ruleName) const
693{

Callers 15

test_copyMethod · 0.95
test_defaultMethod · 0.95
test_insert_ruleMethod · 0.95
get_item_namesMethod · 0.45
_get_itemsMethod · 0.45
_remove_named_ruleMethod · 0.45
_add_itemMethod · 0.45
move_item_downMethod · 0.45
get_item_namesMethod · 0.45
_get_itemsMethod · 0.45
_remove_named_ruleMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by 11

test_copyMethod · 0.76
test_defaultMethod · 0.76
test_insert_ruleMethod · 0.76
test_using_rulesMethod · 0.36
test_copyMethod · 0.36
test_copyMethod · 0.36
test_insert_removeMethod · 0.36
test_configMethod · 0.36
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36
OCIO_ADD_TESTFunction · 0.36