libcamera/include/libcamera
Laurent Pinchart 922686067a libcamera: yaml_parser: Delegate YamlObject::get() to helper structure
The YamlObject::get() function is a function template that gets fully
specialized for various types. This works fine for non-template types,
but specializing it for template types (e.g. a std::vector<U>) would
require partial template specialization, which C++ allows for classes
and variables but not functions.

To work around this problem, delegate the implementation to a new
YamlObject::Getter structure template, which will support partial
specialization.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Paul Elder <paul.elder@ideasonboard.com>
Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
2024-06-16 03:28:25 +03:00
..
base libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00
internal libcamera: yaml_parser: Delegate YamlObject::get() to helper structure 2024-06-16 03:28:25 +03:00
ipa libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
camera_manager.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
color_space.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
control_ids.h.in libcamera: Drop file name from header comment blocks in templates 2024-05-09 23:31:14 +03:00
controls.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
fence.h libcamera: Drop remaining file name from header comment blocks 2024-05-09 23:31:15 +03:00
formats.h.in libcamera: Drop file name from header comment blocks in templates 2024-05-09 23:31:14 +03:00
framebuffer.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
framebuffer_allocator.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
geometry.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
logging.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
meson.build build: controls: Add Raspberry Pi vendor specific controls 2024-01-09 15:39:03 +00:00
orientation.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
pixel_format.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
property_ids.h.in libcamera: Drop file name from header comment blocks in templates 2024-05-09 23:31:14 +03:00
request.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
stream.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
transform.h libcamera: Drop file name from header comment blocks 2024-05-08 22:39:50 +03:00
version.h.in libcamera: Drop file name from header comment blocks in templates 2024-05-09 23:31:14 +03:00