libcamera
v0.7.2
Supporting cameras in Linux since 2019
Toggle main menu visibility
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
12
#include "
libcamera/internal/value_node.h
"
13
14
namespace
libcamera
{
15
16
class
File
;
17
18
class
YamlParser
final
19
{
20
public
:
21
static
std::unique_ptr<ValueNode>
parse
(
File
&file);
22
};
23
24
}
/* namespace libcamera */
libcamera::File
Interface for I/O operations on files.
Definition
file.h:25
libcamera::YamlParser
A helper class for parsing a YAML file.
Definition
yaml_parser.h:19
libcamera::YamlParser::parse
static std::unique_ptr< ValueNode > parse(File &file)
Parse a YAML file as a ValueNode.
Definition
yaml_parser.cpp:381
libcamera
Top-level libcamera namespace.
Definition
backtrace.h:17
value_node.h
Data structure to manage tree of values.
include
libcamera
internal
yaml_parser.h
Generated by
1.18.0