Orcus
Loading...
Searching...
No Matches
include
orcus
json_parser_base.hpp
1
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
/*
3
* This Source Code Form is subject to the terms of the Mozilla Public
4
* License, v. 2.0. If a copy of the MPL was not distributed with this
5
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
6
*/
7
8
#ifndef INCLUDED_ORCUS_JSON_PARSER_BASE_HPP
9
#define INCLUDED_ORCUS_JSON_PARSER_BASE_HPP
10
11
#include "parser_base.hpp"
12
#include "parser_global.hpp"
13
#include "exception.hpp"
14
15
#include <memory>
16
17
namespace
orcus {
namespace
json {
18
19
class
ORCUS_PSR_DLLPUBLIC parser_base :
public
::orcus::parser_base
20
{
21
struct
impl;
22
std::unique_ptr<impl> mp_impl;
23
24
protected
:
25
26
parser_base() =
delete
;
27
parser_base(
const
parser_base&) =
delete
;
28
parser_base& operator=(
const
parser_base&) =
delete
;
29
30
parser_base(std::string_view content);
31
~parser_base();
32
33
void
skip_ws();
34
void
parse_true();
35
void
parse_false();
36
void
parse_null();
37
double
parse_double_or_throw();
38
39
parse_quoted_string_state
parse_string();
40
};
41
42
}}
43
44
#endif
45
46
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
orcus::parser_base
Definition
parser_base.hpp:23
orcus::parse_quoted_string_state
Definition
parser_global.hpp:40
Generated on Tue Feb 11 2025 00:00:00 for Orcus by
1.13.2