PCGMetadataElementCommon::ApplyOnAccessor

Iterate over the full range of the keys, calling the callback with values get from the accessor.