MCPcopy Create free account
hub / github.com/axmolengine/axmol / getNextNamespace

Method getNextNamespace

core/base/Properties.cpp:649–668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

647}
648
649Properties* Properties::getNextNamespace()
650{
651 if (_namespacesItr == _namespaces.end())
652 {
653 // Restart from the beginning
654 _namespacesItr = _namespaces.begin();
655 }
656 else
657 {
658 ++_namespacesItr;
659 }
660
661 if (_namespacesItr != _namespaces.end())
662 {
663 Properties* ns = *_namespacesItr;
664 return ns;
665 }
666
667 return nullptr;
668}
669
670void Properties::rewind()
671{

Callers 8

initWithFileMethod · 0.80
parsePropertiesMethod · 0.80
parseTechniqueMethod · 0.80
parsePassMethod · 0.80
parseShaderMethod · 0.80
mergeWithMethod · 0.80
printPropertiesFunction · 0.80

Calls 2

endMethod · 0.45
beginMethod · 0.45

Tested by 1

printPropertiesFunction · 0.64