summaryrefslogtreecommitdiff
path: root/test/yaml-parser.cpp
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-05-25 01:58:09 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-06-20 15:12:11 +0300
commit3a18ad1607d4963105270f48e78d6b4e94a2133f (patch)
tree94ea914cbf5bde9a551e5c0278e68c3d1f632ec5 /test/yaml-parser.cpp
parent40f8cbda60c8dd792d1530d3c4889d71e223aa0b (diff)
libcamera: yaml_parser: Add iterator API
Allow using range-based for loops over YamlObject instances by implementing iterators. New YamlObject::DictAdapter and YamlObject::ListAdapter adapter classes are introduced to provide different iterators depending on the object type. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Han-Lin Chen <hanlinchen@chromium.org>
Diffstat (limited to 'test/yaml-parser.cpp')
0 files changed, 0 insertions, 0 deletions