libcamera v0.7.1
Supporting cameras in Linux since 2019
Loading...
Searching...
No Matches
yaml_parser.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: LGPL-2.1-or-later */
2/*
3 * Copyright (C) 2022, Google Inc.
4 *
5 * libcamera YAML parsing helper
6 */
7
8#pragma once
9
10#include <memory>
11
13
14namespace libcamera {
15
16class File;
17
18class YamlParser final
19{
20public:
21 static std::unique_ptr<ValueNode> parse(File &file);
22};
23
24} /* namespace libcamera */
Interface for I/O operations on files.
Definition file.h:25
A helper class for parsing a YAML file.
Definition yaml_parser.h:19
static std::unique_ptr< ValueNode > parse(File &file)
Parse a YAML file as a ValueNode.
Definition yaml_parser.cpp:381
Top-level libcamera namespace.
Definition backtrace.h:17
Data structure to manage tree of values.