MCPcopy Create free account
hub / github.com/Samsung/rlottie / parseObject

Method parseObject

src/lottie/lottieparser.cpp:1206–1218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1204}
1205
1206void LottieParserImpl::parseObject(model::Group *parent)
1207{
1208 RAPIDJSON_ASSERT(PeekType() == kObjectType);
1209 EnterObject();
1210 while (const char *key = NextObjectKey()) {
1211 if (0 == strcmp(key, "ty")) {
1212 auto child = parseObjectTypeAttr();
1213 if (child && !child->hidden()) parent->mChildren.push_back(child);
1214 } else {
1215 Skip(key);
1216 }
1217 }
1218}
1219
1220model::Object *LottieParserImpl::parseGroupObject()
1221{

Callers

nothing calls this directly

Calls 1

hiddenMethod · 0.80

Tested by

no test coverage detected