2015-01-08 55 views

回答

1

他們是ValueMap該對象的屬性(std::unordered_map<std::string, Value>):

auto& objects = group->getObjects(); 
for (auto &obj : objects) { 
    auto &properties = obj.asValueMap(); 
    cc_log(properties["type"].asString()); 
}